mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-20 11:38:34 +00:00
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>
This commit is contained in:
committed by
Martin Jansa
parent
57ce75d5fd
commit
96b167037b
14
meta-python/recipes-devtools/python/python-pyasn1.inc
Normal file
14
meta-python/recipes-devtools/python/python-pyasn1.inc
Normal file
@@ -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"
|
||||
@@ -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
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
inherit pypi setuptools3
|
||||
require python-pyasn1.inc
|
||||
Reference in New Issue
Block a user