aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuan Chao <yuanc.fnst@cn.fujitsu.com>2019-09-19 12:23:56 +0900
committerKhem Raj <raj.khem@gmail.com>2019-09-19 00:09:43 -0700
commitf5788587c94d19ef61f718bf21c39639fbeea396 (patch)
tree1ab5a23b1006a87a7d30f18d71fbc5a96346ec8f
parentbf73812bc9361fd2e7e7ec47a0175e5d0e339d6c (diff)
downloadmeta-openembedded-contrib-f5788587c94d19ef61f718bf21c39639fbeea396.tar.gz
meta-openembedded-contrib-f5788587c94d19ef61f718bf21c39639fbeea396.tar.bz2
meta-openembedded-contrib-f5788587c94d19ef61f718bf21c39639fbeea396.zip
python-importlib-metadata: new recipe
Add new recipe python-importlib-metadata as it is RDEPEND of python-pytest. Signed-off-by: Yuan Chao <yuanc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-python/recipes-devtools/python/python-importlib-metadata.inc12
-rw-r--r--meta-python/recipes-devtools/python/python-importlib-metadata_0.23.bb2
-rw-r--r--meta-python/recipes-devtools/python/python3-importlib-metadata_0.23.bb2
3 files changed, 16 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python-importlib-metadata.inc b/meta-python/recipes-devtools/python/python-importlib-metadata.inc
new file mode 100644
index 0000000000..9eb5da9545
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-importlib-metadata.inc
@@ -0,0 +1,12 @@
+DESCRIPTION = "Read metadata from Python packages"
+HOMEPAGE = "https://pypi.org/project/importlib-metadata/"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=e88ae122f3925d8bde8319060f2ddb8e"
+
+SRC_URI = "https://files.pythonhosted.org/packages/5d/44/636bcd15697791943e2dedda0dbe098d8530a38d113b202817133e0b06c0/importlib_metadata-0.23.tar.gz"
+S = "${WORKDIR}/importlib_metadata-${PV}"
+SRC_URI[md5sum] = "80d677d744995336c9c22d21a85ddeb8"
+SRC_URI[sha256sum] = "aa18d7378b00b40847790e7c27e11673d7fed219354109d0e7b9e5b25dc3ad26"
+
+DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
+RDEPENDS_${PN} += "${PYTHON_PN}-zipp ${PYTHON_PN}-pathlib2"
diff --git a/meta-python/recipes-devtools/python/python-importlib-metadata_0.23.bb b/meta-python/recipes-devtools/python/python-importlib-metadata_0.23.bb
new file mode 100644
index 0000000000..5c213004c8
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-importlib-metadata_0.23.bb
@@ -0,0 +1,2 @@
+inherit pypi setuptools
+require python-importlib-metadata.inc
diff --git a/meta-python/recipes-devtools/python/python3-importlib-metadata_0.23.bb b/meta-python/recipes-devtools/python/python3-importlib-metadata_0.23.bb
new file mode 100644
index 0000000000..d71c45b5f1
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-importlib-metadata_0.23.bb
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-importlib-metadata.inc