aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-extended/python-pyparted/python-pyparted_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-extended/python-pyparted/python-pyparted_git.bb')
-rw-r--r--recipes-extended/python-pyparted/python-pyparted_git.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-extended/python-pyparted/python-pyparted_git.bb b/recipes-extended/python-pyparted/python-pyparted_git.bb
index 1f36924..485bf5c 100644
--- a/recipes-extended/python-pyparted/python-pyparted_git.bb
+++ b/recipes-extended/python-pyparted/python-pyparted_git.bb
@@ -33,3 +33,5 @@ RDEPENDS_${PN} += "python-stringold python-codecs python-math python-subprocess"
RDEPENDS_${PN}_class-native = ""
BBCLASSEXTEND = "native"
+
+PNBLACKLIST[python-pyparted] ?= "${@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)}"