diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-backports-functools-lru-cache_1.6.4.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-backports-functools-lru-cache_1.6.4.bb | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-backports-functools-lru-cache_1.6.4.bb b/meta-python/recipes-devtools/python/python3-backports-functools-lru-cache_1.6.4.bb new file mode 100644 index 0000000000..c90ffa1b47 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-backports-functools-lru-cache_1.6.4.bb | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | SUMMARY = "Backport of functools.lru_cache from Python 3.3" | ||
| 2 | HOMEPAGE = "https://github.com/jaraco/backports.functools_lru_cache" | ||
| 3 | SECTION = "devel/python" | ||
| 4 | LICENSE = "MIT" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7a7126e068206290f3fe9f8d6c713ea6" | ||
| 6 | |||
| 7 | PYPI_PACKAGE = "backports.functools_lru_cache" | ||
| 8 | |||
| 9 | SRC_URI[sha256sum] = "d5ed2169378b67d3c545e5600d363a923b09c456dab1593914935a68ad478271" | ||
| 10 | |||
| 11 | DEPENDS += "${PYTHON_PN}-setuptools-scm-native" | ||
| 12 | |||
| 13 | inherit pypi setuptools3 ptest | ||
| 14 | |||
| 15 | SRC_URI += " \ | ||
| 16 | file://run-ptest \ | ||
| 17 | " | ||
| 18 | |||
| 19 | RDEPENDS_${PN}-ptest += " \ | ||
| 20 | ${PYTHON_PN}-pytest \ | ||
| 21 | " | ||
| 22 | |||
| 23 | do_install_ptest() { | ||
| 24 | install -d ${D}${PTEST_PATH}/tests | ||
| 25 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 26 | } | ||
| 27 | |||
| 28 | RDEPENDS_${PN} += "\ | ||
| 29 | ${PYTHON_PN}-pickle \ | ||
| 30 | ${PYTHON_PN}-threading \ | ||
| 31 | " | ||
