[oe] [meta-python][PATCH 2/2] m2crypto: depend on typing

Andy andreas.kling at gmail.com
Thu Feb 2 14:09:05 UTC 2017


you are right, this was a dependency during runtime of native, my
build of crda failed with
ERROR: Failed to import the "M2Crypto" module: No module named typing
How should the the RDPENDS look like? Obviously I was to stupid to
write it down correctly.

2017-02-02 15:00 GMT+01:00 Derek Straka <derek at asterius.io>:
> Is this meant to be a build time dependency?  If it were required to build,
> I would have expected to see a build failure.
>
> -Derek
>
> On Thu, Feb 2, 2017 at 8:49 AM, <andreas.kling at gmail.com> wrote:
>
>> From: Andy Kling <andreas.kling at peiker-cee.de>
>>
>>   m2crypto requires typing since 0.24.0-38-g8bbd0ec
>> ---
>>  meta-python/recipes-devtools/python/python-m2crypto_0.25.1.bb | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/meta-python/recipes-devtools/python/python-m2crypto_0.25.1.bb
>> b/meta-python/recipes-devtools/python/python-m2crypto_0.25.1.bb
>> index 5a9594f07..ca462229e 100644
>> --- a/meta-python/recipes-devtools/python/python-m2crypto_0.25.1.bb
>> +++ b/meta-python/recipes-devtools/python/python-m2crypto_0.25.1.bb
>> @@ -12,7 +12,7 @@ SRC_URI += "file://0001-setup.py-link-in-
>> sysroot-not-in-host-directories.patch "
>>  PYPI_PACKAGE = "M2Crypto"
>>  inherit pypi setuptools siteinfo
>>
>> -DEPENDS += "openssl swig-native"
>> +DEPENDS += "openssl swig-native python-typing"
>>
>>  DISTUTILS_BUILD_ARGS += "build_ext --openssl=${STAGING_DIR_HOST}
>> -I${STAGING_INCDIR}"
>>  DISTUTILS_INSTALL_ARGS += "build_ext --openssl=${STAGING_DIR_HOST}"
>> --
>> 2.11.0
>>
>> --
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel at lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>>
> --
> _______________________________________________
> 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