diff options
Diffstat (limited to 'recipes-devtools/python/python-deprecated_1.2.7.bb')
-rw-r--r-- | recipes-devtools/python/python-deprecated_1.2.7.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-devtools/python/python-deprecated_1.2.7.bb b/recipes-devtools/python/python-deprecated_1.2.7.bb index da2c760..ca3956f 100644 --- a/recipes-devtools/python/python-deprecated_1.2.7.bb +++ b/recipes-devtools/python/python-deprecated_1.2.7.bb @@ -14,3 +14,5 @@ inherit pypi setuptools S = "${WORKDIR}/${PYPI_PACKAGE}-${PV}" RDEPENDS_${PN} += "python-wrapt" + +PNBLACKLIST[python-deprecated] ?= "${@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)}" |