diff options
author | Fabio Berton <fabio.berton@ossystems.com.br> | 2016-08-22 16:01:18 -0300 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-09-05 13:27:36 +0200 |
commit | 96b167037b4d329cc37c3368de99ddc517bf19ee (patch) | |
tree | 148dd2df25cffecf24d20bc2c4496c9746e3d625 /meta-python/recipes-devtools | |
parent | 57ce75d5fd3055812c03455b0f1658bfcdf4173b (diff) | |
download | meta-openembedded-contrib-96b167037b4d329cc37c3368de99ddc517bf19ee.tar.gz |
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@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools')
3 files changed, 17 insertions, 10 deletions
diff --git a/meta-python/recipes-devtools/python/python-pyasn1.inc b/meta-python/recipes-devtools/python/python-pyasn1.inc new file mode 100644 index 0000000000..7c25de81d1 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-pyasn1.inc @@ -0,0 +1,14 @@ +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" + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-lang \ + ${PYTHON_PN}-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 017adfeacb..4461918cac 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 0000000000..a5e2a71362 --- /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 |