aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-devtools/python/python-pyrex_0.9.9.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-devtools/python/python-pyrex_0.9.9.bb')
-rw-r--r--recipes-devtools/python/python-pyrex_0.9.9.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-devtools/python/python-pyrex_0.9.9.bb b/recipes-devtools/python/python-pyrex_0.9.9.bb
index c4dd2e6..3df784f 100644
--- a/recipes-devtools/python/python-pyrex_0.9.9.bb
+++ b/recipes-devtools/python/python-pyrex_0.9.9.bb
@@ -20,3 +20,5 @@ S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit distutils
FILES_${PN} += "${datadir}${base_libdir}/${PYTHON_DIR}/site-packages/Pyrex/Compiler/Lexicon.pickle"
+
+PNBLACKLIST[python-pyrex] ?= "${@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)}"