aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-devtools/python/python-certifi_2019.11.28.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-devtools/python/python-certifi_2019.11.28.bb')
-rw-r--r--recipes-devtools/python/python-certifi_2019.11.28.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-devtools/python/python-certifi_2019.11.28.bb b/recipes-devtools/python/python-certifi_2019.11.28.bb
index 3c1f8eb..a545965 100644
--- a/recipes-devtools/python/python-certifi_2019.11.28.bb
+++ b/recipes-devtools/python/python-certifi_2019.11.28.bb
@@ -13,3 +13,5 @@ SRC_URI[sha256sum] = "25b64c7da4cd7479594d035c08c2d809eb4aab3a26e5a990ea98cc450c
inherit pypi setuptools
BBCLASSEXTEND = "native nativesdk"
+
+PNBLACKLIST[python-certifi] ?= "${@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)}"