mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02:00

The pycrypto module sources can be used for both python2 and python3, but a recipe for python3 was missing, so add it. Additionally, since the sources (and thus the patches) are shared between both versions, move the SRC_URI (same on both recipes) to the common 'python-pycrypto.inc' file, to avoid duplication. Also, to use the same patch files for both python2 and python3 without having to duplicate them over 2 folders, change 'python-pycrypto.inc' so that FILESEXTRAPATHS is prepended with the 'python-pycrypto' local dir for both versions instead of having that dir named after the package name '${PN}'. The python3 recipe is basically the same as for python2, but using distutils3 instead. Signed-off-by: Ricardo Silva <rjpdasilva@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
22 lines
594 B
HTML
22 lines
594 B
HTML
DESCRIPTION = "Cryptographic modules for Python."
|
|
HOMEPAGE = "http://www.pycrypto.org/"
|
|
LICENSE = "PSFv2"
|
|
LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=35f354d199e8cb7667b059a23578e63d"
|
|
|
|
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"
|
|
|
|
do_compile[noexec] = "1"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|