aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-connectivity/python-priority/python-priority_1.3.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-connectivity/python-priority/python-priority_1.3.0.bb')
-rw-r--r--recipes-connectivity/python-priority/python-priority_1.3.0.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-connectivity/python-priority/python-priority_1.3.0.bb b/recipes-connectivity/python-priority/python-priority_1.3.0.bb
index 5fdc4db..6aa876d 100644
--- a/recipes-connectivity/python-priority/python-priority_1.3.0.bb
+++ b/recipes-connectivity/python-priority/python-priority_1.3.0.bb
@@ -8,3 +8,5 @@ SRC_URI[md5sum] = "4f1ff52f7fa448e9d9cb46337ae86d1e"
SRC_URI[sha256sum] = "6bc1961a6d7fcacbfc337769f1a382c8e746566aaa365e78047abe9f66b2ffbe"
inherit pypi setuptools
+
+PNBLACKLIST[python-priority] ?= "${@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)}"