All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-python] [PATCH] python-backports-functools-lru-cache: Add python3 version
@ 2020-01-02  8:34 Zang Ruochen
  0 siblings, 0 replies; only message in thread
From: Zang Ruochen @ 2020-01-02  8:34 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
---
 .../python-backports-functools-lru-cache.inc  | 19 +++++++++++++++++
 ...ython-backports-functools-lru-cache_1.5.bb | 21 ++-----------------
 ...thon3-backports-functools-lru-cache_1.5.bb |  2 ++
 3 files changed, 23 insertions(+), 19 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-backports-functools-lru-cache.inc
 create mode 100644 meta-python/recipes-devtools/python/python3-backports-functools-lru-cache_1.5.bb

diff --git a/meta-python/recipes-devtools/python/python-backports-functools-lru-cache.inc b/meta-python/recipes-devtools/python/python-backports-functools-lru-cache.inc
new file mode 100644
index 000000000..bce44a28b
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-backports-functools-lru-cache.inc
@@ -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 \
+    "
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 825444ff3..5e0f2f1e8 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 000000000..91fcc41fc
--- /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
-- 
2.20.1





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-01-02  8:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-02  8:34 [meta-python] [PATCH] python-backports-functools-lru-cache: Add python3 version Zang Ruochen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.