Skip to contentSkip to conversation

volume-key: not create python2 bindings

PATCH New [email protected] 1 participant 1 message Dec 30, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 volume-key: not create python2 bindings

From: Kai Kang <[email protected]>

If create python2 bindings for volume-key, it requires to inherit pythonnative which conflict with python3native.bbclass. And python2 reachs EOL, so remove package config 'python' and not create python2 bindings for volume-key.

---
 meta-oe/recipes-extended/volume_key/volume-key_0.3.12.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-oe/recipes-extended/volume_key/volume-key_0.3.12.bb +2 -1
index 3103748e4..e036f714b 100644
@@ -28,9 +28,10 @@ DEPENDS += " \
 "
 
 PACKAGECONFIG ??= "python3"
-PACKAGECONFIG[python] = "--with-python,--without-python,python,python"
 PACKAGECONFIG[python3] = "--with-python3,--without-python3,python3,python3"
 
+EXTRA_OECONF = "--without-python"
+
 RDEPENDS_python3-${BPN} += "${PN}"
 
 PACKAGES += "python3-${BPN}"
Signature · 1 line
2.17.1