diff options
| author | Martin Jansa <Martin.Jansa@gmail.com> | 2021-03-25 18:25:29 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2021-03-28 12:12:57 -0700 |
| commit | 046e7067bfcce64205f660cbd32f4f89b6978740 (patch) | |
| tree | fe0ae70078fd4af76596a132cf285a6bbed07f04 /meta-oe/recipes-extended/openlmi/openlmi-tools_0.10.5.bb | |
| parent | e4aec9b81ef1234168932ad3d3d643d2faad1c52 (diff) | |
| download | meta-openembedded-046e7067bfcce64205f660cbd32f4f89b6978740.tar.gz | |
mysql-python, lio-utils, openlmi-tools: add conditional PNBLACKLIST like meta-python2 does
* it depends on target python(2) recipes from meta-python2 which are restricted with this
conditional since:
https://git.openembedded.org/meta-python2/commit/?h=hardknott&id=10c65fc18998d302f34634ffceaf31ab335056dd
* telepathy-idle and cherokee from:
meta-oe/recipes-connectivity/telepathy/telepathy-idle_0.2.0.bb
meta-webserver/recipes-httpd/cherokee/cherokee_git.bb
also depend on meta-python2, but use only pythonnative from there, so they aren't blacklisted.
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/openlmi/openlmi-tools_0.10.5.bb')
| -rw-r--r-- | meta-oe/recipes-extended/openlmi/openlmi-tools_0.10.5.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/openlmi/openlmi-tools_0.10.5.bb b/meta-oe/recipes-extended/openlmi/openlmi-tools_0.10.5.bb index 04f82d2bcd..6009cd0304 100644 --- a/meta-oe/recipes-extended/openlmi/openlmi-tools_0.10.5.bb +++ b/meta-oe/recipes-extended/openlmi/openlmi-tools_0.10.5.bb | |||
| @@ -7,6 +7,8 @@ SECTION = "System/Management" | |||
| 7 | 7 | ||
| 8 | inherit ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "setuptools", "", d)} | 8 | inherit ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "setuptools", "", d)} |
| 9 | 9 | ||
| 10 | PNBLACKLIST[openlmi-tools] ?= "${@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)}" | ||
| 11 | |||
| 10 | DEPENDS = "python-native python-pywbem-native python-m2crypto python-pywbem" | 12 | DEPENDS = "python-native python-pywbem-native python-m2crypto python-pywbem" |
| 11 | 13 | ||
| 12 | SRC_URI = "http://fedorahosted.org/released/${BPN}/${BP}.tar.gz \ | 14 | SRC_URI = "http://fedorahosted.org/released/${BPN}/${BP}.tar.gz \ |
