[oe-commits] [meta-openembedded] 20/32: python-backports-functools-lru-cache: Add python3 version

git at git.openembedded.org git at git.openembedded.org
Thu Jan 2 17:48:51 UTC 2020


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit f4aa4b6dd9ebf6a0d78f85d81ad34672b2d68633
Author: Zang Ruochen <zangrc.fnst at cn.fujitsu.com>
AuthorDate: Thu Jan 2 16:34:21 2020 +0800

    python-backports-functools-lru-cache: Add python3 version
    
    Signed-off-by: Zang Ruochen <zangrc.fnst at cn.fujitsu.com>
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 ....bb => python-backports-functools-lru-cache.inc} |  4 ++--
 .../python-backports-functools-lru-cache_1.5.bb     | 21 ++-------------------
 .../python3-backports-functools-lru-cache_1.5.bb    |  2 ++
 3 files changed, 6 insertions(+), 21 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python-backports-functools-lru-cache_1.5.bb b/meta-python/recipes-devtools/python/python-backports-functools-lru-cache.inc
similarity index 89%
copy from meta-python/recipes-devtools/python/python-backports-functools-lru-cache_1.5.bb
copy to meta-python/recipes-devtools/python/python-backports-functools-lru-cache.inc
index 825444f..bce44a2 100644
--- a/meta-python/recipes-devtools/python/python-backports-functools-lru-cache_1.5.bb
+++ b/meta-python/recipes-devtools/python/python-backports-functools-lru-cache.inc
@@ -9,9 +9,9 @@ PYPI_PACKAGE = "backports.functools_lru_cache"
 SRC_URI[md5sum] = "20f53f54cd3f04b3346ce75a54959754"
 SRC_URI[sha256sum] = "9d98697f088eb1b0fa451391f91afb5e3ebde16bbdb272819fd091151fda4f1a"
 
-DEPENDS += "python-setuptools-scm-native"
+DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
 
-inherit setuptools pypi
+inherit pypi
 
 RDEPENDS_${PN} += "\
     ${PYTHON_PN}-pickle \
diff --git a/meta-python/recipes-devtools/python/python-backports-functools-lru-cache_1.5.bb b/meta-python/recipes-devtools/python/python-backports-functools-lru-cache_1.5.bb
index 825444f..5e0f2f1 100644
--- a/meta-python/recipes-devtools/python/python-backports-functools-lru-cache_1.5.bb
+++ b/meta-python/recipes-devtools/python/python-backports-functools-lru-cache_1.5.bb
@@ -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
diff --git a/meta-python/recipes-devtools/python/python3-backports-functools-lru-cache_1.5.bb b/meta-python/recipes-devtools/python/python3-backports-functools-lru-cache_1.5.bb
new file mode 100644
index 0000000..91fcc41
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-backports-functools-lru-cache_1.5.bb
@@ -0,0 +1,2 @@
+require python-backports-functools-lru-cache.inc
+inherit setuptools3

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list