summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Orling <timothy.t.orling@linux.intel.com>2020-11-27 15:50:07 -0800
committerTim Orling <timothy.t.orling@linux.intel.com>2020-11-27 16:23:18 -0800
commit8c61a338dfed0b50bf133ddbf6f1e0246b01e8cc (patch)
tree81d6ca8dae3749b711e90270bea331e7eb3b0bcf
parentb4a7a5019e0a147c7422b502fc751f0398b2c25a (diff)
downloadopenembedded-core-contrib-8c61a338dfed0b50bf133ddbf6f1e0246b01e8cc.tar.gz
openembedded-core-contrib-8c61a338dfed0b50bf133ddbf6f1e0246b01e8cc.tar.bz2
openembedded-core-contrib-8c61a338dfed0b50bf133ddbf6f1e0246b01e8cc.zip
python3-importlib-metadata: move from meta-python
Read metadata from Python packages * Part of the dependency chain for pytest Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
-rw-r--r--meta/recipes-devtools/python/python3-importlib-metadata_2.0.0.bb18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-importlib-metadata_2.0.0.bb b/meta/recipes-devtools/python/python3-importlib-metadata_2.0.0.bb
new file mode 100644
index 0000000000..325a41c22e
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-importlib-metadata_2.0.0.bb
@@ -0,0 +1,18 @@
+DESCRIPTION = "Read metadata from Python packages"
+HOMEPAGE = "https://pypi.org/project/importlib-metadata/"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=e88ae122f3925d8bde8319060f2ddb8e"
+
+inherit pypi setuptools3
+
+SRC_URI = "https://files.pythonhosted.org/packages/56/1f/74c3e29389d34feea2d62ba3de1169efea2566eb22e9546d379756860525/importlib_metadata-2.0.0.tar.gz"
+S = "${WORKDIR}/importlib_metadata-${PV}"
+SRC_URI[md5sum] = "3dd91821c930a3c3633e99a7025aa9c2"
+SRC_URI[sha256sum] = "77a540690e24b0305878c37ffd421785a6f7e53c8b5720d211b211de8d0e95da"
+
+DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
+RDEPENDS_${PN} += "${PYTHON_PN}-zipp ${PYTHON_PN}-pathlib2"
+RDEPENDS_${PN}_append_class-target = " python3-misc"
+RDEPENDS_${PN}_append_class-nativesdk = " python3-misc"
+
+BBCLASSEXTEND = "native nativesdk"