diff options
author | Ricardo Silva <rjpdasilva@gmail.com> | 2018-01-04 18:13:46 +0000 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2018-01-16 21:38:09 -0800 |
commit | c06be20b249d023849726ee752b76816ccf2e9f4 (patch) | |
tree | 036fb3745034c846c6f5f026bd59d104eefeb7c7 /meta-python/recipes-devtools/python/python-pycrypto_2.6.1.bb | |
parent | 582b5aae6f4d69a763c4c17014e07f1af8df5eea (diff) | |
download | meta-openembedded-c06be20b249d023849726ee752b76816ccf2e9f4.tar.gz |
pycrypto: Add recipe to have support on python3
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>
Diffstat (limited to 'meta-python/recipes-devtools/python/python-pycrypto_2.6.1.bb')
-rw-r--r-- | meta-python/recipes-devtools/python/python-pycrypto_2.6.1.bb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/meta-python/recipes-devtools/python/python-pycrypto_2.6.1.bb b/meta-python/recipes-devtools/python/python-pycrypto_2.6.1.bb index 919f91ecb..e13db01b7 100644 --- a/meta-python/recipes-devtools/python/python-pycrypto_2.6.1.bb +++ b/meta-python/recipes-devtools/python/python-pycrypto_2.6.1.bb | |||
@@ -1,10 +1,6 @@ | |||
1 | inherit distutils | 1 | inherit distutils |
2 | require python-pycrypto.inc | 2 | require python-pycrypto.inc |
3 | 3 | ||
4 | SRC_URI += "file://cross-compiling.patch \ | ||
5 | file://CVE-2013-7459.patch \ | ||
6 | " | ||
7 | |||
8 | # We explicitly call distutils_do_install, since we want it to run, but | 4 | # We explicitly call distutils_do_install, since we want it to run, but |
9 | # *don't* want the autotools install to run, since this package doesn't | 5 | # *don't* want the autotools install to run, since this package doesn't |
10 | # provide a "make install" target. | 6 | # provide a "make install" target. |