python-backports-functools-lru-cache: Add python3 version

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Zang Ruochen
2020-01-02 16:34:21 +08:00
committed by Khem Raj
parent b045778977
commit f4aa4b6dd9
3 changed files with 23 additions and 19 deletions
@@ -0,0 +1,19 @@
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://setup.py;beginline=57;endline=57;md5=98fc3658e5970d26f6b2109808c766be"
PYPI_PACKAGE = "backports.functools_lru_cache"
SRC_URI[md5sum] = "20f53f54cd3f04b3346ce75a54959754"
SRC_URI[sha256sum] = "9d98697f088eb1b0fa451391f91afb5e3ebde16bbdb272819fd091151fda4f1a"
DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
inherit pypi
RDEPENDS_${PN} += "\
${PYTHON_PN}-pickle \
${PYTHON_PN}-threading \
"
@@ -1,19 +1,2 @@
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://setup.py;beginline=57;endline=57;md5=98fc3658e5970d26f6b2109808c766be"
PYPI_PACKAGE = "backports.functools_lru_cache"
SRC_URI[md5sum] = "20f53f54cd3f04b3346ce75a54959754"
SRC_URI[sha256sum] = "9d98697f088eb1b0fa451391f91afb5e3ebde16bbdb272819fd091151fda4f1a"
DEPENDS += "python-setuptools-scm-native"
inherit setuptools pypi
RDEPENDS_${PN} += "\
${PYTHON_PN}-pickle \
${PYTHON_PN}-threading \
"
require python-backports-functools-lru-cache.inc
inherit setuptools
@@ -0,0 +1,2 @@
require python-backports-functools-lru-cache.inc
inherit setuptools3