python-asn1crypto: Add nativesdk variant
PATCH v2 1/3 python-asn1crypto: Add nativesdk variant
Signed-off-by Otavio Salvador <[email protected]>
---
Changes in v2:
- rebase on top of master
meta-python/recipes-devtools/python/python-asn1crypto.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python-asn1crypto.inc +1 -1
@@ -10,4 +10,4 @@ SRC_URI[md5sum] = "97d54665c397b72b165768398dfdd876" SRC_URI[sha256sum] = "0874981329cfebb366d6584c3d16e913f2a0eb026c9463efcc4aaf42a9d94d70" inherit pypi -BBCLASSEXTEND = "native" +BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.15.0
PATCH v2 2/3 python-pycrypto: Consolidate recipe code inside of .inc
This move the patches and installation tasks inside the .inc. This is required for the addition of python3 version of the recipe, in next patch.
Signed-off-by Otavio Salvador <[email protected]>
---
Changes in v2: None
meta-python/recipes-devtools/python/python-pycrypto.inc | 6 +++++- meta-python/recipes-devtools/python/python-pycrypto_2.6.1.bb | 4 ---- 2 files changed, 5 insertions(+), 5 deletions(-)
meta-python/recipes-devtools/python/python-pycrypto.inc +5 -1
@@ -3,12 +3,16 @@ HOMEPAGE = "http://www.pycrypto.org/" LICENSE = "PSFv2" LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=35f354d199e8cb7667b059a23578e63d" -FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" +FILESEXTRAPATHS_prepend := "${THISDIR}/python-pycrypto:" DEPENDS += " gmp" inherit pypi autotools-brokensep +SRC_URI += "file://cross-compiling.patch \ + file://CVE-2013-7459.patch \ + " + SRC_URI[md5sum] = "55a61a054aa66812daf5161a0d5d7eda" SRC_URI[sha256sum] = "f2ce1e989b272cfcb677616763e0a2e7ec659effa67a88aa92b3a65528f60a3c"
meta-python/recipes-devtools/python/python-pycrypto_2.6.1.bb +0 -4
@@ -1,10 +1,6 @@ inherit distutils require python-pycrypto.inc -SRC_URI += "file://cross-compiling.patch \ - file://CVE-2013-7459.patch \ - " - # We explicitly call distutils_do_install, since we want it to run, but # *don't* want the autotools install to run, since this package doesn't # provide a "make install" target.
Signature · 1 line
2.15.0
PATCH v2 3/3 python3-pycrypto: Add recipe
In reply to Otavio SalvadorSigned-off-by Otavio Salvador <[email protected]>
---
Changes in v2: None
meta-python/recipes-devtools/python/python3-pycrypto_2.6.1.bb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-pycrypto_2.6.1.bb
meta-python/recipes-devtools/python/python3-pycrypto_2.6.1.bb new file +9 -0
@@ -0,0 +1,9 @@ +inherit distutils3 +require python-pycrypto.inc + +# We explicitly call distutils3_do_install, since we want it to run, but +# *don't* want the autotools install to run, since this package doesn't +# provide a "make install" target. +do_install() { + distutils3_do_install +}
Signature · 1 line
2.15.0