aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-devtools/python/python-tzlocal_2.0.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-devtools/python/python-tzlocal_2.0.0.bb')
-rw-r--r--recipes-devtools/python/python-tzlocal_2.0.0.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-devtools/python/python-tzlocal_2.0.0.bb b/recipes-devtools/python/python-tzlocal_2.0.0.bb
index 0243784..bfcb754 100644
--- a/recipes-devtools/python/python-tzlocal_2.0.0.bb
+++ b/recipes-devtools/python/python-tzlocal_2.0.0.bb
@@ -7,3 +7,5 @@ SRC_URI[md5sum] = "b14262cecca16ec9220ca8dff2ca7c5d"
SRC_URI[sha256sum] = "949b9dd5ba4be17190a80c0268167d7e6c92c62b30026cf9764caf3e308e5590"
inherit pypi setuptools
+
+PNBLACKLIST[python-tzlocal] ?= "${@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)}"