aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-devtools/python/python-jsmin_2.2.2.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-devtools/python/python-jsmin_2.2.2.bb')
-rw-r--r--recipes-devtools/python/python-jsmin_2.2.2.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-devtools/python/python-jsmin_2.2.2.bb b/recipes-devtools/python/python-jsmin_2.2.2.bb
index d00d1e2..53884b9 100644
--- a/recipes-devtools/python/python-jsmin_2.2.2.bb
+++ b/recipes-devtools/python/python-jsmin_2.2.2.bb
@@ -9,3 +9,5 @@ SRC_URI[md5sum] = "00e7a3179a4591aab2ee707b3214e2fd"
SRC_URI[sha256sum] = "b6df99b2cd1c75d9d342e4335b535789b8da9107ec748212706ef7bbe5c2553b"
BBCLASSEXTEND = "native nativesdk"
+
+PNBLACKLIST[python-jsmin] ?= "${@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)}"