python-m2crypto: Use PYTHON_PN instead of hardcoding python name

Lets this inc file become usable for py3 module as well

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2020-01-21 18:07:27 -08:00
parent e337fe66eb
commit 9e314f7bcb

View File

@@ -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}"