Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 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" |
Andrew Geissler | 32b1199 | 2021-03-31 13:37:05 -0500 | [diff] [blame] | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7a7126e068206290f3fe9f8d6c713ea6" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 6 | |
| 7 | PYPI_PACKAGE = "backports.functools_lru_cache" |
| 8 | |
Andrew Geissler | e34f896 | 2021-04-15 15:53:51 -0500 | [diff] [blame^] | 9 | SRC_URI[sha256sum] = "d5ed2169378b67d3c545e5600d363a923b09c456dab1593914935a68ad478271" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 10 | |
| 11 | DEPENDS += "${PYTHON_PN}-setuptools-scm-native" |
| 12 | |
Andrew Geissler | d221e03 | 2020-07-10 16:13:21 -0500 | [diff] [blame] | 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 | } |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 27 | |
| 28 | RDEPENDS_${PN} += "\ |
| 29 | ${PYTHON_PN}-pickle \ |
| 30 | ${PYTHON_PN}-threading \ |
| 31 | " |