[oe] [meta-python] [PATCH 2/6] python-zipp: new recipe

Yuan Chao yuanc.fnst at cn.fujitsu.com
Thu Sep 19 03:23:14 UTC 2019


Add new recipe python-zipp as it is RDEPEND of python-importlib-metadata.

Signed-off-by: Yuan Chao <yuanc.fnst at cn.fujitsu.com>
---
 meta-python/recipes-devtools/python/python-zipp.inc    | 10 ++++++++++
 .../recipes-devtools/python/python-zipp_0.6.0.bb       |  2 ++
 .../recipes-devtools/python/python3-zipp_0.6.0.bb      |  2 ++
 3 files changed, 14 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-zipp.inc
 create mode 100644 meta-python/recipes-devtools/python/python-zipp_0.6.0.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-zipp_0.6.0.bb

diff --git a/meta-python/recipes-devtools/python/python-zipp.inc b/meta-python/recipes-devtools/python/python-zipp.inc
new file mode 100644
index 000000000..ba18f7216
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-zipp.inc
@@ -0,0 +1,10 @@
+DESCRIPTION = "Backport of pathlib-compatible object wrapper for zip files"
+HOMEPAGE = "https://github.com/jaraco/zipp"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=a33f38bbf47d48c70fe0d40e5f77498e"
+
+SRC_URI[md5sum] = "d4451a749d8a7c3c392a9edd1864a937"
+SRC_URI[sha256sum] = "3718b1cbcd963c7d4c5511a8240812904164b7f381b647143a89d3b98f9bcd8e"
+
+DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
+RDEPENDS_${PN} += "${PYTHON_PN}-more-itertools"
diff --git a/meta-python/recipes-devtools/python/python-zipp_0.6.0.bb b/meta-python/recipes-devtools/python/python-zipp_0.6.0.bb
new file mode 100644
index 000000000..85949a2a6
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-zipp_0.6.0.bb
@@ -0,0 +1,2 @@
+inherit pypi setuptools
+require python-zipp.inc
diff --git a/meta-python/recipes-devtools/python/python3-zipp_0.6.0.bb b/meta-python/recipes-devtools/python/python3-zipp_0.6.0.bb
new file mode 100644
index 000000000..b78663fd6
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-zipp_0.6.0.bb
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-zipp.inc
-- 
2.17.1





More information about the Openembedded-devel mailing list