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-pam_1.8.2.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'recipes-devtools/python/python-pam_1.8.2.bb') diff --git a/recipes-devtools/python/python-pam_1.8.2.bb b/recipes-devtools/python/python-pam_1.8.2.bb index bac3496..405cbdc 100644 --- a/recipes-devtools/python/python-pam_1.8.2.bb +++ b/recipes-devtools/python/python-pam_1.8.2.bb @@ -13,3 +13,5 @@ RDEPENDS_${PN} = "libpam" inherit features_check REQUIRED_DISTRO_FEATURES = "pam" + +PNBLACKLIST[python-pam] ?= "${@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