[oe] [meta-python][PATCH 2/2] python3-pycrypto: add python3 version of pycrypto

Martin Jansa martin.jansa at gmail.com
Fri Feb 10 23:14:24 UTC 2017


FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
from the .inc file doesn't help to find cross-compiling.patch (because it
still poinst to python3-pycrypto not python-pycrypto

Parsing recipes...WARNING: meta-oe/meta-python/recipes-devtools/python/
python3-pycrypto_2.6.1.bb: Unable to get checksum for
nativesdk-python3-pycrypto SRC_URI entry cross-compiling.patch: file could
not be found
WARNING: meta-oe/meta-python/recipes-devtools/python/
python3-pycrypto_2.6.1.bb: Unable to get checksum for
python3-pycrypto-native SRC_URI entry cross-compiling.patch: file could not
be found
WARNING: meta-oe/meta-python/recipes-devtools/python/
python3-pycrypto_2.6.1.bb: Unable to get checksum for python3-pycrypto
SRC_URI entry cross-compiling.patch: file could not be found


On Mon, Feb 6, 2017 at 5:37 PM, Armin Kuster <akuster808 at gmail.com> wrote:

> Signed-off-by: Armin Kuster <akuster808 at gmail.com>
> ---
>  meta-python/recipes-devtools/python/python3-pycrypto_2.6.1.bb | 11
> +++++++++++
>  1 file changed, 11 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 0000000..00ea5d0
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python3-pycrypto_2.6.1.bb
> @@ -0,0 +1,11 @@
> +inherit distutils3
> +require python-pycrypto.inc
> +
> +SRC_URI += "file://cross-compiling.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.7.4
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>



More information about the Openembedded-devel mailing list