diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2021-03-12 15:44:52 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2021-03-17 11:48:07 +0100 |
commit | 10c65fc18998d302f34634ffceaf31ab335056dd (patch) | |
tree | c24af92cd55cc8f85c0c4c70f82e65ad66df9407 /recipes-devtools/python/python-numeric_24.2.bb | |
parent | 044015255944fd8db139caec8981f2957f8e2604 (diff) | |
download | meta-python2-10c65fc18998d302f34634ffceaf31ab335056dd.tar.gz |
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 <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes-devtools/python/python-numeric_24.2.bb')
-rw-r--r-- | recipes-devtools/python/python-numeric_24.2.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-devtools/python/python-numeric_24.2.bb b/recipes-devtools/python/python-numeric_24.2.bb index c91d77c..6c65ed5 100644 --- a/recipes-devtools/python/python-numeric_24.2.bb +++ b/recipes-devtools/python/python-numeric_24.2.bb @@ -14,3 +14,5 @@ inherit distutils SRC_URI[md5sum] = "2ae672656e06716a149acb048cca3093" SRC_URI[sha256sum] = "5f72e729eb6ff57442f2a38bfc9931738b59e5077928e2e70d22b4610ff15258" + +PNBLACKLIST[python-numeric] ?= "${@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)}" |