diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2021-07-29 17:06:40 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2021-08-03 13:36:54 +0200 |
commit | 4626bb642da57bc981f193dea8f5e0b6518b7b1c (patch) | |
tree | f1584ac985c452f151d79b94a7be7180c195a0d6 /classes | |
parent | 8db9e4f6ceae33d7a4f55453d31e69f9858af4eb (diff) | |
download | meta-python2-4626bb642da57bc981f193dea8f5e0b6518b7b1c.tar.gz |
Convert to new override syntax
This is the result of automated script (0.9.0) conversion:
oe-core/scripts/contrib/convert-overrides.py .
converting the metadata to use ":" as the override character instead of "_".
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'classes')
-rw-r--r-- | classes/distutils-base.bbclass | 2 | ||||
-rw-r--r-- | classes/distutils.bbclass | 2 | ||||
-rw-r--r-- | classes/python-backports-init.bbclass | 4 | ||||
-rw-r--r-- | classes/pythonnative.bbclass | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/classes/distutils-base.bbclass b/classes/distutils-base.bbclass index 9f398d7..803dc8b 100644 --- a/classes/distutils-base.bbclass +++ b/classes/distutils-base.bbclass @@ -1,4 +1,4 @@ DEPENDS += "${@["${PYTHON_PN}-native ${PYTHON_PN}", ""][(d.getVar('PACKAGES') == '')]}" -RDEPENDS_${PN} += "${@['', '${PYTHON_PN}-core']['${CLASSOVERRIDE}' == 'class-target']}" +RDEPENDS:${PN} += "${@['', '${PYTHON_PN}-core']['${CLASSOVERRIDE}' == 'class-target']}" inherit distutils-common-base pythonnative diff --git a/classes/distutils.bbclass b/classes/distutils.bbclass index 3759b58..860d744 100644 --- a/classes/distutils.bbclass +++ b/classes/distutils.bbclass @@ -10,7 +10,7 @@ DISTUTILS_INSTALL_ARGS ?= "--root=${D} \ --install-data=${datadir}" DISTUTILS_PYTHON = "python" -DISTUTILS_PYTHON_class-native = "nativepython" +DISTUTILS_PYTHON:class-native = "nativepython" distutils_do_configure() { if [ "${CLEANBROKEN}" != "1" ] ; then diff --git a/classes/python-backports-init.bbclass b/classes/python-backports-init.bbclass index 727bc4a..0d8d82c 100644 --- a/classes/python-backports-init.bbclass +++ b/classes/python-backports-init.bbclass @@ -1,7 +1,7 @@ inherit python-dir -RDEPENDS_${PN} += "python-backports-init" +RDEPENDS:${PN} += "python-backports-init" -do_install_prepend() { +do_install:prepend() { rm -rf $(find . -path "*/backports/__init__.py" -type f) } diff --git a/classes/pythonnative.bbclass b/classes/pythonnative.bbclass index 0e9019d..b34302c 100644 --- a/classes/pythonnative.bbclass +++ b/classes/pythonnative.bbclass @@ -5,7 +5,7 @@ PYTHON="${STAGING_BINDIR_NATIVE}/python-native/python" # PYTHON_EXECUTABLE is used by cmake PYTHON_EXECUTABLE="${PYTHON}" EXTRANATIVEPATH += "python-native" -DEPENDS_append = " python-native " +DEPENDS:append = " python-native " # python-config and other scripts are using distutils modules # which we patch to access these variables |