aboutsummaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python-m2crypto.inc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-01-21 18:07:27 -0800
committerKhem Raj <raj.khem@gmail.com>2020-01-22 09:56:34 -0800
commit9e314f7bcb8efb2cbd0c1c1af753ff9510431738 (patch)
tree99727b734966539b4be1065e263f7dab2b2cec9b /meta-python/recipes-devtools/python/python-m2crypto.inc
parente337fe66eb0d5ebd6dbeb009afee30fc60b9703e (diff)
downloadmeta-openembedded-9e314f7bcb8efb2cbd0c1c1af753ff9510431738.tar.gz
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>
Diffstat (limited to 'meta-python/recipes-devtools/python/python-m2crypto.inc')
-rw-r--r--meta-python/recipes-devtools/python/python-m2crypto.inc2
1 files changed, 1 insertions, 1 deletions
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}"