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-pystache_0.5.4.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'recipes-devtools/python/python-pystache_0.5.4.bb') diff --git a/recipes-devtools/python/python-pystache_0.5.4.bb b/recipes-devtools/python/python-pystache_0.5.4.bb index 4f9129a..95a953c 100644 --- a/recipes-devtools/python/python-pystache_0.5.4.bb +++ b/recipes-devtools/python/python-pystache_0.5.4.bb @@ -13,3 +13,5 @@ RDEPENDS_${PN} += " \ " BBCLASSEXTEND = "native nativesdk" + +PNBLACKLIST[python-pystache] ?= "${@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