The pycrypto module sources can be used for both python2 and python3, but a recipe for python3 was missing, so add it.
Recipe is basically the same as for python2 (python-pycrypto_2.6.1.bb), but using distutils3 instead. Signed-off-by: Ricardo Silva <[email protected]> --- .../recipes-devtools/python/python3-pycrypto_2.6.1.bb | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-pycrypto_2.6.1.bb diff --git a/meta-python/recipes-devtools/python/python3-pycrypto_2.6.1.bb b/meta-python/recipes-devtools/python/python3-pycrypto_2.6.1.bb new file mode 100644 index 000000000..2878c8599 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pycrypto_2.6.1.bb @@ -0,0 +1,13 @@ +inherit distutils3 +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. +do_install() { + distutils3_do_install +} -- 2.15.1 -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
