[12/18] python3-importlib-metadata: move from meta-python

Submitted by Tim Orling on Nov. 28, 2020, 4:24 a.m. | Patch ID: 178671

Details

Message ID 8c61a338dfed0b50bf133ddbf6f1e0246b01e8cc.1606536874.git.timothy.t.orling@linux.intel.com
State New
Headers show

Commit Message

Tim Orling Nov. 28, 2020, 4:24 a.m.
From: Tim Orling <timothy.t.orling@linux.intel.com>


Read metadata from Python packages

* Part of the dependency chain for pytest

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>

---
 .../python/python3-importlib-metadata_2.0.0.bb | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-importlib-metadata_2.0.0.bb

-- 
2.25.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#145031): https://lists.openembedded.org/g/openembedded-core/message/145031
Mute This Topic: https://lists.openembedded.org/mt/78561679/1003190
Group Owner: openembedded-core+owner@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [mhalstead@linuxfoundation.org]
-=-=-=-=-=-=-=-=-=-=-=-

Patch hide | download patch | download mbox

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 00000000000..325a41c22e1
--- /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"