From 10c65fc18998d302f34634ffceaf31ab335056dd Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Fri, 12 Mar 2021 15:44:52 +0100 Subject: recipes: add conditional PNBLACKLIST in all recipes except python-native * python-native is an exception because there is still e.g. chromium depending on _native_ python and a lot of people use it in some form, once https://bugs.chromium.org/p/chromium/issues/detail?id=942720 is resolved in stable chromium release the same will be set in python-native * https://www.python.org/doc/sunset-python-2/ * https://python3statement.org/ Signed-off-by: Martin Jansa --- recipes-devtools/python/python-zopeinterface_4.7.1.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'recipes-devtools/python/python-zopeinterface_4.7.1.bb') diff --git a/recipes-devtools/python/python-zopeinterface_4.7.1.bb b/recipes-devtools/python/python-zopeinterface_4.7.1.bb index d2ef64f..99c9213 100644 --- a/recipes-devtools/python/python-zopeinterface_4.7.1.bb +++ b/recipes-devtools/python/python-zopeinterface_4.7.1.bb @@ -23,3 +23,5 @@ FILES_${PN}-test += " \ inherit pypi setuptools RDEPENDS_${PN}-test += "python-unittest python-doctest" + +PNBLACKLIST[python-zopeinterface] ?= "${@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)}" -- cgit 1.2.3-korg