aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-devtools/python/python-pynetlinux_1.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-devtools/python/python-pynetlinux_1.1.bb')
-rw-r--r--recipes-devtools/python/python-pynetlinux_1.1.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-devtools/python/python-pynetlinux_1.1.bb b/recipes-devtools/python/python-pynetlinux_1.1.bb
index 313e2c7..291ada1 100644
--- a/recipes-devtools/python/python-pynetlinux_1.1.bb
+++ b/recipes-devtools/python/python-pynetlinux_1.1.bb
@@ -10,3 +10,5 @@ inherit pypi setuptools
SRC_URI[md5sum] = "3336e5d4a478acca4e35bf3125b4f883"
SRC_URI[sha256sum] = "4ad08298c9f5ba15a11cddc639ba8778cabdfc402b51066d9e0a325e5a5b391c"
+
+PNBLACKLIST[python-pynetlinux] ?= "${@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)}"