Skip to contentSkip to conversation

python-packaging: new recipe

PATCH New Yuan Chao 1 participant 1 message Sep 19, 2019

lore
Share & tools
lore

Yuan Chao

author
#0 lore raw

PATCH 4/6 python-packaging: new recipe

Add new recipe python-packaging as it is RDEPEND of python-pytest.

---
 .../recipes-devtools/python/python-packaging.inc       | 10 ++++++++++
 .../recipes-devtools/python/python-packaging_19.2.bb   |  2 ++
 .../recipes-devtools/python/python3-packaging_19.2.bb  |  2 ++
 3 files changed, 14 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-packaging.inc
 create mode 100644 meta-python/recipes-devtools/python/python-packaging_19.2.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-packaging_19.2.bb
meta-python/recipes-devtools/python/python-packaging.inc new file +10 -0
new file mode 100644
index 000000000..c32caaa40
@@ -0,0 +1,10 @@
+DESCRIPTION = "Core utilities for Python packages"
+HOMEPAGE = "https://github.com/pypa/packaging"
+LICENSE = "Apache-2.0 & BSD"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=faadaedca9251a90b205c9167578ce91"
+
+SRC_URI[md5sum] = "867ce70984dc7b89bbbc3cac2a72b171"
+SRC_URI[sha256sum] = "28b924174df7a2fa32c1953825ff29c61e2f5e082343165438812f00d3a7fc47"
+
+DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
+RDEPENDS_${PN} += "${PYTHON_PN}-six ${PYTHON_PN}-pyparsing"
meta-python/recipes-devtools/python/python-packaging_19.2.bb new file +2 -0
new file mode 100644
index 000000000..55d0746bb
@@ -0,0 +1,2 @@
+inherit pypi setuptools
+require python-packaging.inc
meta-python/recipes-devtools/python/python3-packaging_19.2.bb new file +2 -0
new file mode 100644
index 000000000..aa20fb26f
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-packaging.inc
Signature · 1 line
2.17.1