aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-extended/pywbem/python-pywbem_0.15.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-extended/pywbem/python-pywbem_0.15.0.bb')
-rw-r--r--recipes-extended/pywbem/python-pywbem_0.15.0.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-extended/pywbem/python-pywbem_0.15.0.bb b/recipes-extended/pywbem/python-pywbem_0.15.0.bb
index 2b1e930..eee8416 100644
--- a/recipes-extended/pywbem/python-pywbem_0.15.0.bb
+++ b/recipes-extended/pywbem/python-pywbem_0.15.0.bb
@@ -66,3 +66,5 @@ ALTERNATIVE_TARGET[wbemcli] = "${bindir}/wbemcli"
ALTERNATIVE_PRIORITY = "30"
BBCLASSEXTEND = "native"
+
+PNBLACKLIST[python-pywbem] ?= "${@bb.utils.contains('I_SWEAR_TO_MIGRATE_TO_PYTHON3', 'yes', '', 'python2 is out of support for long time, read https://www.python.org/doc/sunset-python-2/ https://python3statement.org/ and if you really have to temporarily use this, then set I_SWEAR_TO_MIGRATE_TO_PYTHON3 to "yes"', d)}"