[oe] [meta-python][PATCH 01/12] python-m2crypto: Use PYTHON_PN instead of hardcoding python name

Khem Raj raj.khem at gmail.com
Wed Jan 22 22:49:34 UTC 2020


On Wed, Jan 22, 2020 at 6:15 AM Tim Orling <ticotimo at gmail.com> wrote:
>
> We should start merging the inc and bb files now that we do not need to support more than one python version.
>

certainly, a good idea, before they decide to do py4 :), I am knee
deep in ensuring py2 is not needed on meta-openembedded layers but if
you are cooking patches  for this cleanup thats good.

> On Tue, Jan 21, 2020 at 10:38 PM Khem Raj <raj.khem at gmail.com> wrote:
>>
>> Lets this inc file become usable for py3 module as well
>>
>> Signed-off-by: Khem Raj <raj.khem at gmail.com>
>> ---
>>  meta-python/recipes-devtools/python/python-m2crypto.inc | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/meta-python/recipes-devtools/python/python-m2crypto.inc b/meta-python/recipes-devtools/python/python-m2crypto.inc
>> index 5f5444f37e..76dd58ce04 100644
>> --- a/meta-python/recipes-devtools/python/python-m2crypto.inc
>> +++ b/meta-python/recipes-devtools/python/python-m2crypto.inc
>> @@ -17,7 +17,7 @@ PYPI_PACKAGE = "M2Crypto"
>>  inherit pypi siteinfo
>>
>>  DEPENDS += "openssl swig-native"
>> -RDEPENDS_${PN} += "python-typing"
>> +RDEPENDS_${PN} += "${PYTHON_PN}-typing"
>>
>>  DISTUTILS_BUILD_ARGS += "build_ext --openssl=${STAGING_EXECPREFIXDIR} -I${STAGING_INCDIR}"
>>  DISTUTILS_INSTALL_ARGS += "build_ext --openssl=${STAGING_EXECPREFIXDIR}"
>> --
>> 2.25.0
>>
>> --
>> _______________________________________________
>> 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