python3-backports-functools-lru-cache: Upgrade 1.6.3 -> 1.6.4

Upgrade to release 1.6.4:

- For test dependencies, when indicating Python 3, use >=3 instead
  of >3

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
(cherry picked from commit 2627bb1a24)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Leon Anavi
2021-04-12 17:02:11 +03:00
committed by Armin Kuster
parent d06828fdd8
commit 12d0ac7b6c

View File

@@ -0,0 +1,31 @@
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=7a7126e068206290f3fe9f8d6c713ea6"
PYPI_PACKAGE = "backports.functools_lru_cache"
SRC_URI[sha256sum] = "d5ed2169378b67d3c545e5600d363a923b09c456dab1593914935a68ad478271"
DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
inherit pypi setuptools3 ptest
SRC_URI += " \
file://run-ptest \
"
RDEPENDS_${PN}-ptest += " \
${PYTHON_PN}-pytest \
"
do_install_ptest() {
install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
}
RDEPENDS_${PN} += "\
${PYTHON_PN}-pickle \
${PYTHON_PN}-threading \
"