From 1c7d6584a7811b7785ae5c1e378f14b5ba0971cf Mon Sep 17 00:00:00 2001 From: takeshi_hoshina Date: Mon, 2 Nov 2020 11:07:33 +0900 Subject: basesystem-jj recipes --- .../python-backports-functools-lru-cache_1.6.1.bb | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 external/meta-python2/recipes-devtools/python/python-backports-functools-lru-cache_1.6.1.bb (limited to 'external/meta-python2/recipes-devtools/python/python-backports-functools-lru-cache_1.6.1.bb') diff --git a/external/meta-python2/recipes-devtools/python/python-backports-functools-lru-cache_1.6.1.bb b/external/meta-python2/recipes-devtools/python/python-backports-functools-lru-cache_1.6.1.bb new file mode 100644 index 00000000..aee130f3 --- /dev/null +++ b/external/meta-python2/recipes-devtools/python/python-backports-functools-lru-cache_1.6.1.bb @@ -0,0 +1,29 @@ +SUMMARY = "Backport of functools.lru_cache from Python 3.3" +HOMEPAGE = "https://github.com/jaraco/backports.functools_lru_cache" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=a33f38bbf47d48c70fe0d40e5f77498e" + +PYPI_PACKAGE = "backports.functools_lru_cache" + +SRC_URI[md5sum] = "103000b21a8e683647e2ce41929f2a9d" +SRC_URI[sha256sum] = "8fde5f188da2d593bd5bc0be98d9abc46c95bb8a9dde93429570192ee6cc2d4a" + +DEPENDS += "python-setuptools-scm-native" + +inherit setuptools pypi python-backports-init + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-pkgutil \ + ${PYTHON_PN}-pickle \ + ${PYTHON_PN}-threading \ + " + +do_install() { + install -d ${D}${PYTHON_SITEPACKAGES_DIR}/backports + install ${B}/backports/functools_lru_cache.py ${D}${PYTHON_SITEPACKAGES_DIR}/backports/ +} + +FILES_${PN} = "${PYTHON_SITEPACKAGES_DIR}/backports/functools_lru_cache.py" + +BBCLASSEXTEND = "native nativesdk" -- cgit 1.2.3-korg