[oe-commits] [meta-openembedded] 04/08: python-packaging: new recipe

git at git.openembedded.org git at git.openembedded.org
Thu Sep 19 07:10:09 UTC 2019


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit bf73812bc9361fd2e7e7ec47a0175e5d0e339d6c
Author: Yuan Chao <yuanc.fnst at cn.fujitsu.com>
AuthorDate: Thu Sep 19 12:23:41 2019 +0900

    python-packaging: new recipe
    
    Add new recipe python-packaging as it is RDEPEND of python-pytest.
    
    Signed-off-by: Yuan Chao <yuanc.fnst at cn.fujitsu.com>
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta-python/recipes-devtools/python/python-packaging.inc      | 10 ++++++++++
 meta-python/recipes-devtools/python/python-packaging_19.2.bb  |  2 ++
 meta-python/recipes-devtools/python/python3-packaging_19.2.bb |  2 ++
 3 files changed, 14 insertions(+)

diff --git a/meta-python/recipes-devtools/python/python-packaging.inc b/meta-python/recipes-devtools/python/python-packaging.inc
new file mode 100644
index 0000000..c32caaa
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-packaging.inc
@@ -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"
diff --git a/meta-python/recipes-devtools/python/python-packaging_19.2.bb b/meta-python/recipes-devtools/python/python-packaging_19.2.bb
new file mode 100644
index 0000000..55d0746
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-packaging_19.2.bb
@@ -0,0 +1,2 @@
+inherit pypi setuptools
+require python-packaging.inc
diff --git a/meta-python/recipes-devtools/python/python3-packaging_19.2.bb b/meta-python/recipes-devtools/python/python3-packaging_19.2.bb
new file mode 100644
index 0000000..aa20fb2
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-packaging_19.2.bb
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-packaging.inc

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list