[oe-commits] [meta-openembedded] 25/80: python-pyasn1: Extend recipe to support Python 3
git at git.openembedded.org
git at git.openembedded.org
Wed Aug 31 17:08:44 UTC 2016
martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.
commit 120a11e3e9f36fa1b0eb516b455a23e571b5fba7
Author: Fabio Berton <fabio.berton at ossystems.com.br>
AuthorDate: Mon Aug 22 16:01:18 2016 -0300
python-pyasn1: Extend recipe to support Python 3
- Add Python 3 recipe
- Add native and nativesdk to BBCLASSEXTEND
- Add python-lang and python-shell to RDEPENDS
Signed-off-by: Fabio Berton <fabio.berton at ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
.../python/{python-pyasn1_0.1.9.bb => python-pyasn1.inc} | 7 +++++--
meta-python/recipes-devtools/python/python-pyasn1_0.1.9.bb | 11 +----------
meta-python/recipes-devtools/python/python3-pyasn1_0.1.9.bb | 2 ++
3 files changed, 8 insertions(+), 12 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python-pyasn1_0.1.9.bb b/meta-python/recipes-devtools/python/python-pyasn1.inc
similarity index 76%
copy from meta-python/recipes-devtools/python/python-pyasn1_0.1.9.bb
copy to meta-python/recipes-devtools/python/python-pyasn1.inc
index 017adfe..7c25de8 100644
--- a/meta-python/recipes-devtools/python/python-pyasn1_0.1.9.bb
+++ b/meta-python/recipes-devtools/python/python-pyasn1.inc
@@ -6,6 +6,9 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=425e62320d430219736139b134db2fc4"
SRC_URI[md5sum] = "f00a02a631d4016818659d1cc38d229a"
SRC_URI[sha256sum] = "853cacd96d1f701ddd67aa03ecc05f51890135b7262e922710112f12a2ed2a7f"
-inherit pypi setuptools
+RDEPENDS_${PN} += " \
+ ${PYTHON_PN}-lang \
+ ${PYTHON_PN}-shell \
+"
-RDEPENDS_${PN} += "python-lang python-shell"
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python-pyasn1_0.1.9.bb b/meta-python/recipes-devtools/python/python-pyasn1_0.1.9.bb
index 017adfe..4461918 100644
--- a/meta-python/recipes-devtools/python/python-pyasn1_0.1.9.bb
+++ b/meta-python/recipes-devtools/python/python-pyasn1_0.1.9.bb
@@ -1,11 +1,2 @@
-SUMMARY = "Python library implementing ASN.1 types."
-HOMEPAGE = "http://pyasn1.sourceforge.net/"
-LICENSE = "BSD-2-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=425e62320d430219736139b134db2fc4"
-
-SRC_URI[md5sum] = "f00a02a631d4016818659d1cc38d229a"
-SRC_URI[sha256sum] = "853cacd96d1f701ddd67aa03ecc05f51890135b7262e922710112f12a2ed2a7f"
-
inherit pypi setuptools
-
-RDEPENDS_${PN} += "python-lang python-shell"
+require python-pyasn1.inc
diff --git a/meta-python/recipes-devtools/python/python3-pyasn1_0.1.9.bb b/meta-python/recipes-devtools/python/python3-pyasn1_0.1.9.bb
new file mode 100644
index 0000000..a5e2a71
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pyasn1_0.1.9.bb
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-pyasn1.inc
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list