diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-07-28 23:28:15 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-02 15:44:10 +0100 |
| commit | bb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch) | |
| tree | 76e376b01253c3aace1a98a5021bcaad3c92e861 /meta/recipes-devtools/python | |
| parent | fcc456ee4b8f619134abb4649db53c638074082c (diff) | |
| download | poky-bb6ddc3691ab04162ec5fd69a2d5e7876713fd15.tar.gz | |
Convert to new override syntax
This is the result of automated script conversion:
scripts/contrib/convert-overrides.py <oe-core directory>
converting the metadata to use ":" as the override character instead of "_".
(From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python')
46 files changed, 123 insertions, 123 deletions
diff --git a/meta/recipes-devtools/python/python-async.inc b/meta/recipes-devtools/python/python-async.inc index af887dc4e5..fde864601c 100644 --- a/meta/recipes-devtools/python/python-async.inc +++ b/meta/recipes-devtools/python/python-async.inc | |||
| @@ -9,6 +9,6 @@ inherit pypi | |||
| 9 | SRC_URI[md5sum] = "9b06b5997de2154f3bc0273f80bcef6b" | 9 | SRC_URI[md5sum] = "9b06b5997de2154f3bc0273f80bcef6b" |
| 10 | SRC_URI[sha256sum] = "ac6894d876e45878faae493b0cf61d0e28ec417334448ac0a6ea2229d8343051" | 10 | SRC_URI[sha256sum] = "ac6894d876e45878faae493b0cf61d0e28ec417334448ac0a6ea2229d8343051" |
| 11 | 11 | ||
| 12 | RDEPENDS_${PN} += "${PYTHON_PN}-threading" | 12 | RDEPENDS:${PN} += "${PYTHON_PN}-threading" |
| 13 | 13 | ||
| 14 | BBCLASSEXTEND = "native nativesdk" | 14 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta/recipes-devtools/python/python-cython.inc b/meta/recipes-devtools/python/python-cython.inc index 04fd2ec2b7..e3f14fc49b 100644 --- a/meta/recipes-devtools/python/python-cython.inc +++ b/meta/recipes-devtools/python/python-cython.inc | |||
| @@ -14,7 +14,7 @@ UPSTREAM_CHECK_REGEX = "Cython-(?P<pver>.*)\.tar" | |||
| 14 | 14 | ||
| 15 | inherit pypi | 15 | inherit pypi |
| 16 | 16 | ||
| 17 | RDEPENDS_${PN}_class-target += "\ | 17 | RDEPENDS:${PN}:class-target += "\ |
| 18 | ${PYTHON_PN}-misc \ | 18 | ${PYTHON_PN}-misc \ |
| 19 | ${PYTHON_PN}-netserver \ | 19 | ${PYTHON_PN}-netserver \ |
| 20 | ${PYTHON_PN}-pkgutil \ | 20 | ${PYTHON_PN}-pkgutil \ |
| @@ -24,7 +24,7 @@ RDEPENDS_${PN}_class-target += "\ | |||
| 24 | ${PYTHON_PN}-xml \ | 24 | ${PYTHON_PN}-xml \ |
| 25 | " | 25 | " |
| 26 | 26 | ||
| 27 | RDEPENDS_${PN}_class-nativesdk += "\ | 27 | RDEPENDS:${PN}:class-nativesdk += "\ |
| 28 | nativesdk-${PYTHON_PN}-misc \ | 28 | nativesdk-${PYTHON_PN}-misc \ |
| 29 | nativesdk-${PYTHON_PN}-netserver \ | 29 | nativesdk-${PYTHON_PN}-netserver \ |
| 30 | nativesdk-${PYTHON_PN}-pkgutil \ | 30 | nativesdk-${PYTHON_PN}-pkgutil \ |
| @@ -34,7 +34,7 @@ RDEPENDS_${PN}_class-nativesdk += "\ | |||
| 34 | nativesdk-${PYTHON_PN}-xml \ | 34 | nativesdk-${PYTHON_PN}-xml \ |
| 35 | " | 35 | " |
| 36 | 36 | ||
| 37 | do_install_append() { | 37 | do_install:append() { |
| 38 | # Make sure we use /usr/bin/env python | 38 | # Make sure we use /usr/bin/env python |
| 39 | for PYTHSCRIPT in `grep -rIl '^#!.*python' ${D}`; do | 39 | for PYTHSCRIPT in `grep -rIl '^#!.*python' ${D}`; do |
| 40 | sed -i -e '1s|^#!.*|#!/usr/bin/env ${PYTHON_PN}|' $PYTHSCRIPT | 40 | sed -i -e '1s|^#!.*|#!/usr/bin/env ${PYTHON_PN}|' $PYTHSCRIPT |
diff --git a/meta/recipes-devtools/python/python-gitdb.inc b/meta/recipes-devtools/python/python-gitdb.inc index 53d925a495..5b24a1f4a3 100644 --- a/meta/recipes-devtools/python/python-gitdb.inc +++ b/meta/recipes-devtools/python/python-gitdb.inc | |||
| @@ -12,7 +12,7 @@ SRC_URI[sha256sum] = "96bf5c08b157a666fec41129e6d327235284cca4c81e92109260f353ba | |||
| 12 | 12 | ||
| 13 | DEPENDS = "${PYTHON_PN}-async ${PYTHON_PN}-setuptools-native ${PYTHON_PN}-smmap" | 13 | DEPENDS = "${PYTHON_PN}-async ${PYTHON_PN}-setuptools-native ${PYTHON_PN}-smmap" |
| 14 | 14 | ||
| 15 | RDEPENDS_${PN} += "${PYTHON_PN}-async \ | 15 | RDEPENDS:${PN} += "${PYTHON_PN}-async \ |
| 16 | ${PYTHON_PN}-compression \ | 16 | ${PYTHON_PN}-compression \ |
| 17 | ${PYTHON_PN}-crypt \ | 17 | ${PYTHON_PN}-crypt \ |
| 18 | ${PYTHON_PN}-io \ | 18 | ${PYTHON_PN}-io \ |
diff --git a/meta/recipes-devtools/python/python-nose.inc b/meta/recipes-devtools/python/python-nose.inc index ccec68a0e1..dfae202299 100644 --- a/meta/recipes-devtools/python/python-nose.inc +++ b/meta/recipes-devtools/python/python-nose.inc | |||
| @@ -11,7 +11,7 @@ SRC_URI[sha256sum] = "f1bffef9cbc82628f6e7d7b40d7e255aefaa1adb6a1b1d26c69a8b79e6 | |||
| 11 | 11 | ||
| 12 | inherit pypi | 12 | inherit pypi |
| 13 | 13 | ||
| 14 | RDEPENDS_${PN} = "\ | 14 | RDEPENDS:${PN} = "\ |
| 15 | ${PYTHON_PN}-unittest \ | 15 | ${PYTHON_PN}-unittest \ |
| 16 | " | 16 | " |
| 17 | 17 | ||
diff --git a/meta/recipes-devtools/python/python-pbr.inc b/meta/recipes-devtools/python/python-pbr.inc index bc470e7274..59fbc6dce4 100644 --- a/meta/recipes-devtools/python/python-pbr.inc +++ b/meta/recipes-devtools/python/python-pbr.inc | |||
| @@ -9,6 +9,6 @@ SRC_URI += "file://0001-change-shebang-to-python3.patch" | |||
| 9 | 9 | ||
| 10 | inherit pypi | 10 | inherit pypi |
| 11 | 11 | ||
| 12 | RDEPENDS_${PN} += "${PYTHON_PN}-pip" | 12 | RDEPENDS:${PN} += "${PYTHON_PN}-pip" |
| 13 | 13 | ||
| 14 | BBCLASSEXTEND = "native nativesdk" | 14 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta/recipes-devtools/python/python-pycryptodome.inc b/meta/recipes-devtools/python/python-pycryptodome.inc index 48481bcf9a..3f4c6e9fca 100644 --- a/meta/recipes-devtools/python/python-pycryptodome.inc +++ b/meta/recipes-devtools/python/python-pycryptodome.inc | |||
| @@ -7,18 +7,18 @@ LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=accfa6aeaceb3ba96676edf18e78302c" | |||
| 7 | 7 | ||
| 8 | inherit pypi | 8 | inherit pypi |
| 9 | 9 | ||
| 10 | RDEPENDS_${PN} += " \ | 10 | RDEPENDS:${PN} += " \ |
| 11 | ${PYTHON_PN}-io \ | 11 | ${PYTHON_PN}-io \ |
| 12 | ${PYTHON_PN}-math \ | 12 | ${PYTHON_PN}-math \ |
| 13 | " | 13 | " |
| 14 | 14 | ||
| 15 | RDEPENDS_${PN}-tests += " \ | 15 | RDEPENDS:${PN}-tests += " \ |
| 16 | ${PYTHON_PN}-unittest \ | 16 | ${PYTHON_PN}-unittest \ |
| 17 | " | 17 | " |
| 18 | 18 | ||
| 19 | PACKAGES =+ "${PN}-tests" | 19 | PACKAGES =+ "${PN}-tests" |
| 20 | 20 | ||
| 21 | FILES_${PN}-tests = " \ | 21 | FILES:${PN}-tests = " \ |
| 22 | ${PYTHON_SITEPACKAGES_DIR}/Crypto/SelfTest/ \ | 22 | ${PYTHON_SITEPACKAGES_DIR}/Crypto/SelfTest/ \ |
| 23 | ${PYTHON_SITEPACKAGES_DIR}/Crypto/SelfTest/__pycache__/ \ | 23 | ${PYTHON_SITEPACKAGES_DIR}/Crypto/SelfTest/__pycache__/ \ |
| 24 | " | 24 | " |
diff --git a/meta/recipes-devtools/python/python-pyparsing.inc b/meta/recipes-devtools/python/python-pyparsing.inc index 348b324bf5..330bf7e39a 100644 --- a/meta/recipes-devtools/python/python-pyparsing.inc +++ b/meta/recipes-devtools/python/python-pyparsing.inc | |||
| @@ -9,7 +9,7 @@ UPSTREAM_CHECK_REGEX = "pyparsing-(?P<pver>.*)\.tar" | |||
| 9 | 9 | ||
| 10 | inherit pypi | 10 | inherit pypi |
| 11 | 11 | ||
| 12 | RDEPENDS_${PN} += " \ | 12 | RDEPENDS:${PN} += " \ |
| 13 | ${PYTHON_PN}-datetime \ | 13 | ${PYTHON_PN}-datetime \ |
| 14 | ${PYTHON_PN}-debugger \ | 14 | ${PYTHON_PN}-debugger \ |
| 15 | ${PYTHON_PN}-json \ | 15 | ${PYTHON_PN}-json \ |
diff --git a/meta/recipes-devtools/python/python-six.inc b/meta/recipes-devtools/python/python-six.inc index df97f845bc..aac6765149 100644 --- a/meta/recipes-devtools/python/python-six.inc +++ b/meta/recipes-devtools/python/python-six.inc | |||
| @@ -6,6 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=43cfc9e4ac0e377acfb9b76f56b8415d" | |||
| 6 | 6 | ||
| 7 | inherit pypi | 7 | inherit pypi |
| 8 | 8 | ||
| 9 | RDEPENDS_${PN} = "${PYTHON_PN}-io" | 9 | RDEPENDS:${PN} = "${PYTHON_PN}-io" |
| 10 | 10 | ||
| 11 | BBCLASSEXTEND = "native nativesdk" | 11 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta/recipes-devtools/python/python-smmap.inc b/meta/recipes-devtools/python/python-smmap.inc index 2a2ac76f2e..7d0cff5fa6 100644 --- a/meta/recipes-devtools/python/python-smmap.inc +++ b/meta/recipes-devtools/python/python-smmap.inc | |||
| @@ -13,7 +13,7 @@ PYPI_PACKAGE = "smmap" | |||
| 13 | 13 | ||
| 14 | SRC_URI[sha256sum] = "7e65386bd122d45405ddf795637b7f7d2b532e7e401d46bbe3fb49b9986d5182" | 14 | SRC_URI[sha256sum] = "7e65386bd122d45405ddf795637b7f7d2b532e7e401d46bbe3fb49b9986d5182" |
| 15 | 15 | ||
| 16 | RDEPENDS_${PN} += "${PYTHON_PN}-codecs \ | 16 | RDEPENDS:${PN} += "${PYTHON_PN}-codecs \ |
| 17 | ${PYTHON_PN}-mmap \ | 17 | ${PYTHON_PN}-mmap \ |
| 18 | " | 18 | " |
| 19 | BBCLASSEXTEND = "native nativesdk" | 19 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta/recipes-devtools/python/python-testtools.inc b/meta/recipes-devtools/python/python-testtools.inc index de463fc2c3..ef5e15cc3a 100644 --- a/meta/recipes-devtools/python/python-testtools.inc +++ b/meta/recipes-devtools/python/python-testtools.inc | |||
| @@ -17,7 +17,7 @@ DEPENDS += " \ | |||
| 17 | ${PYTHON_PN}-pbr-native \ | 17 | ${PYTHON_PN}-pbr-native \ |
| 18 | " | 18 | " |
| 19 | 19 | ||
| 20 | RDEPENDS_${PN} += "\ | 20 | RDEPENDS:${PN} += "\ |
| 21 | ${PYTHON_PN}-doctest \ | 21 | ${PYTHON_PN}-doctest \ |
| 22 | ${PYTHON_PN}-extras \ | 22 | ${PYTHON_PN}-extras \ |
| 23 | ${PYTHON_PN}-pbr \ | 23 | ${PYTHON_PN}-pbr \ |
diff --git a/meta/recipes-devtools/python/python3-atomicwrites_1.4.0.bb b/meta/recipes-devtools/python/python3-atomicwrites_1.4.0.bb index 7edd41030f..065a2c7b4f 100644 --- a/meta/recipes-devtools/python/python3-atomicwrites_1.4.0.bb +++ b/meta/recipes-devtools/python/python3-atomicwrites_1.4.0.bb | |||
| @@ -12,7 +12,7 @@ SRC_URI += " \ | |||
| 12 | file://run-ptest \ | 12 | file://run-ptest \ |
| 13 | " | 13 | " |
| 14 | 14 | ||
| 15 | RDEPENDS_${PN}-ptest += " \ | 15 | RDEPENDS:${PN}-ptest += " \ |
| 16 | ${PYTHON_PN}-pytest \ | 16 | ${PYTHON_PN}-pytest \ |
| 17 | ${PYTHON_PN}-unixadmin \ | 17 | ${PYTHON_PN}-unixadmin \ |
| 18 | " | 18 | " |
| @@ -22,4 +22,4 @@ do_install_ptest() { | |||
| 22 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | 22 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ |
| 23 | } | 23 | } |
| 24 | 24 | ||
| 25 | RDEPENDS_${PN} = "${PYTHON_PN}-misc" | 25 | RDEPENDS:${PN} = "${PYTHON_PN}-misc" |
diff --git a/meta/recipes-devtools/python/python3-attrs_21.2.0.bb b/meta/recipes-devtools/python/python3-attrs_21.2.0.bb index e89fbc96f2..d52237f267 100644 --- a/meta/recipes-devtools/python/python3-attrs_21.2.0.bb +++ b/meta/recipes-devtools/python/python3-attrs_21.2.0.bb | |||
| @@ -7,11 +7,11 @@ SRC_URI[sha256sum] = "ef6aaac3ca6cd92904cdd0d83f629a15f18053ec84e6432106f7a4d04a | |||
| 7 | 7 | ||
| 8 | inherit pypi setuptools3 | 8 | inherit pypi setuptools3 |
| 9 | 9 | ||
| 10 | RDEPENDS_${PN}_class-target += " \ | 10 | RDEPENDS:${PN}:class-target += " \ |
| 11 | ${PYTHON_PN}-crypt \ | 11 | ${PYTHON_PN}-crypt \ |
| 12 | ${PYTHON_PN}-ctypes \ | 12 | ${PYTHON_PN}-ctypes \ |
| 13 | " | 13 | " |
| 14 | RDEPENDS_${PN}_class-nativesdk += " \ | 14 | RDEPENDS:${PN}:class-nativesdk += " \ |
| 15 | ${PYTHON_PN}-crypt \ | 15 | ${PYTHON_PN}-crypt \ |
| 16 | ${PYTHON_PN}-ctypes \ | 16 | ${PYTHON_PN}-ctypes \ |
| 17 | " | 17 | " |
diff --git a/meta/recipes-devtools/python/python3-cython_0.29.23.bb b/meta/recipes-devtools/python/python3-cython_0.29.23.bb index 2ec4033fa0..296fb39b6f 100644 --- a/meta/recipes-devtools/python/python3-cython_0.29.23.bb +++ b/meta/recipes-devtools/python/python3-cython_0.29.23.bb | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | inherit setuptools3 | 1 | inherit setuptools3 |
| 2 | require python-cython.inc | 2 | require python-cython.inc |
| 3 | 3 | ||
| 4 | RDEPENDS_${PN} += "\ | 4 | RDEPENDS:${PN} += "\ |
| 5 | python3-setuptools \ | 5 | python3-setuptools \ |
| 6 | " | 6 | " |
| 7 | 7 | ||
| @@ -10,7 +10,7 @@ RDEPENDS_${PN} += "\ | |||
| 10 | # architecture. | 10 | # architecture. |
| 11 | DISTUTILS_INSTALL_ARGS += "--skip-build" | 11 | DISTUTILS_INSTALL_ARGS += "--skip-build" |
| 12 | 12 | ||
| 13 | do_install_append() { | 13 | do_install:append() { |
| 14 | # rename scripts that would conflict with the Python 2 build of Cython | 14 | # rename scripts that would conflict with the Python 2 build of Cython |
| 15 | mv ${D}${bindir}/cython ${D}${bindir}/cython3 | 15 | mv ${D}${bindir}/cython ${D}${bindir}/cython3 |
| 16 | mv ${D}${bindir}/cythonize ${D}${bindir}/cythonize3 | 16 | mv ${D}${bindir}/cythonize ${D}${bindir}/cythonize3 |
diff --git a/meta/recipes-devtools/python/python3-dbus_1.2.16.bb b/meta/recipes-devtools/python/python3-dbus_1.2.16.bb index e1700fa869..9be6ffc485 100644 --- a/meta/recipes-devtools/python/python3-dbus_1.2.16.bb +++ b/meta/recipes-devtools/python/python3-dbus_1.2.16.bb | |||
| @@ -19,8 +19,8 @@ inherit distutils3-base autotools pkgconfig | |||
| 19 | EXTRA_OECONF += "--disable-documentation" | 19 | EXTRA_OECONF += "--disable-documentation" |
| 20 | 20 | ||
| 21 | 21 | ||
| 22 | RDEPENDS_${PN} = "python3-io python3-logging python3-stringold python3-threading python3-xml" | 22 | RDEPENDS:${PN} = "python3-io python3-logging python3-stringold python3-threading python3-xml" |
| 23 | 23 | ||
| 24 | FILES_${PN}-dev += "${libdir}/pkgconfig" | 24 | FILES:${PN}-dev += "${libdir}/pkgconfig" |
| 25 | 25 | ||
| 26 | BBCLASSEXTEND = "native nativesdk" | 26 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta/recipes-devtools/python/python3-dbusmock_0.23.1.bb b/meta/recipes-devtools/python/python3-dbusmock_0.23.1.bb index b5fa1868b8..28e99299b2 100644 --- a/meta/recipes-devtools/python/python3-dbusmock_0.23.1.bb +++ b/meta/recipes-devtools/python/python3-dbusmock_0.23.1.bb | |||
| @@ -10,7 +10,7 @@ PYPI_PACKAGE = "python-dbusmock" | |||
| 10 | 10 | ||
| 11 | inherit pypi setuptools3 | 11 | inherit pypi setuptools3 |
| 12 | 12 | ||
| 13 | RDEPENDS_${PN} += "\ | 13 | RDEPENDS:${PN} += "\ |
| 14 | ${PYTHON_PN}-dbus \ | 14 | ${PYTHON_PN}-dbus \ |
| 15 | ${PYTHON_PN}-pygobject \ | 15 | ${PYTHON_PN}-pygobject \ |
| 16 | ${PYTHON_PN}-unittest \ | 16 | ${PYTHON_PN}-unittest \ |
diff --git a/meta/recipes-devtools/python/python3-git_3.1.18.bb b/meta/recipes-devtools/python/python3-git_3.1.18.bb index 955418c0e4..d1c50d4322 100644 --- a/meta/recipes-devtools/python/python3-git_3.1.18.bb +++ b/meta/recipes-devtools/python/python3-git_3.1.18.bb | |||
| @@ -16,7 +16,7 @@ SRC_URI[sha256sum] = "b838a895977b45ab6f0cc926a9045c8d1c44e2b653c1fcc39fe91f42c6 | |||
| 16 | 16 | ||
| 17 | DEPENDS += " ${PYTHON_PN}-gitdb" | 17 | DEPENDS += " ${PYTHON_PN}-gitdb" |
| 18 | 18 | ||
| 19 | RDEPENDS_${PN} += " \ | 19 | RDEPENDS:${PN} += " \ |
| 20 | ${PYTHON_PN}-datetime \ | 20 | ${PYTHON_PN}-datetime \ |
| 21 | ${PYTHON_PN}-gitdb \ | 21 | ${PYTHON_PN}-gitdb \ |
| 22 | ${PYTHON_PN}-io \ | 22 | ${PYTHON_PN}-io \ |
diff --git a/meta/recipes-devtools/python/python3-hypothesis_6.14.3.bb b/meta/recipes-devtools/python/python3-hypothesis_6.14.3.bb index 83c9917a04..63101aad69 100644 --- a/meta/recipes-devtools/python/python3-hypothesis_6.14.3.bb +++ b/meta/recipes-devtools/python/python3-hypothesis_6.14.3.bb | |||
| @@ -9,7 +9,7 @@ inherit pypi setuptools3 | |||
| 9 | 9 | ||
| 10 | SRC_URI[sha256sum] = "1c8776d9fc8c598cf1b93b99bd87976f9d9b589fc58843d85a30090700f14a8a" | 10 | SRC_URI[sha256sum] = "1c8776d9fc8c598cf1b93b99bd87976f9d9b589fc58843d85a30090700f14a8a" |
| 11 | 11 | ||
| 12 | RDEPENDS_${PN} += " \ | 12 | RDEPENDS:${PN} += " \ |
| 13 | python3-attrs \ | 13 | python3-attrs \ |
| 14 | python3-compression \ | 14 | python3-compression \ |
| 15 | python3-core \ | 15 | python3-core \ |
diff --git a/meta/recipes-devtools/python/python3-importlib-metadata_4.6.1.bb b/meta/recipes-devtools/python/python3-importlib-metadata_4.6.1.bb index 7e9604aaf4..9fa4754881 100644 --- a/meta/recipes-devtools/python/python3-importlib-metadata_4.6.1.bb +++ b/meta/recipes-devtools/python/python3-importlib-metadata_4.6.1.bb | |||
| @@ -13,8 +13,8 @@ SRC_URI[sha256sum] = "079ada16b7fc30dfbb5d13399a5113110dab1aa7c2bc62f66af75f0b71 | |||
| 13 | S = "${WORKDIR}/importlib_metadata-${PV}" | 13 | S = "${WORKDIR}/importlib_metadata-${PV}" |
| 14 | 14 | ||
| 15 | DEPENDS += "${PYTHON_PN}-setuptools-scm-native ${PYTHON_PN}-toml-native" | 15 | DEPENDS += "${PYTHON_PN}-setuptools-scm-native ${PYTHON_PN}-toml-native" |
| 16 | RDEPENDS_${PN} += "${PYTHON_PN}-zipp ${PYTHON_PN}-pathlib2" | 16 | RDEPENDS:${PN} += "${PYTHON_PN}-zipp ${PYTHON_PN}-pathlib2" |
| 17 | RDEPENDS_${PN}_append_class-target = " python3-misc" | 17 | RDEPENDS:${PN}:append:class-target = " python3-misc" |
| 18 | RDEPENDS_${PN}_append_class-nativesdk = " python3-misc" | 18 | RDEPENDS:${PN}:append:class-nativesdk = " python3-misc" |
| 19 | 19 | ||
| 20 | BBCLASSEXTEND = "native nativesdk" | 20 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta/recipes-devtools/python/python3-iniparse_0.5.bb b/meta/recipes-devtools/python/python3-iniparse_0.5.bb index 4ed82eab29..b5812d90c3 100644 --- a/meta/recipes-devtools/python/python3-iniparse_0.5.bb +++ b/meta/recipes-devtools/python/python3-iniparse_0.5.bb | |||
| @@ -8,7 +8,7 @@ SRC_URI[sha256sum] = "932e5239d526e7acb504017bb707be67019ac428a6932368e685169109 | |||
| 8 | 8 | ||
| 9 | inherit pypi setuptools3 | 9 | inherit pypi setuptools3 |
| 10 | 10 | ||
| 11 | RDEPENDS_${PN} += "python3-core python3-six" | 11 | RDEPENDS:${PN} += "python3-core python3-six" |
| 12 | DEPENDS += "python3-six" | 12 | DEPENDS += "python3-six" |
| 13 | 13 | ||
| 14 | BBCLASSEXTEND = "native nativesdk" | 14 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta/recipes-devtools/python/python3-jinja2_3.0.1.bb b/meta/recipes-devtools/python/python3-jinja2_3.0.1.bb index b37a043ccb..abb89c9a30 100644 --- a/meta/recipes-devtools/python/python3-jinja2_3.0.1.bb +++ b/meta/recipes-devtools/python/python3-jinja2_3.0.1.bb | |||
| @@ -24,13 +24,13 @@ do_install_ptest() { | |||
| 24 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | 24 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ |
| 25 | } | 25 | } |
| 26 | 26 | ||
| 27 | RDEPENDS_${PN}-ptest += " \ | 27 | RDEPENDS:${PN}-ptest += " \ |
| 28 | ${PYTHON_PN}-pytest \ | 28 | ${PYTHON_PN}-pytest \ |
| 29 | ${PYTHON_PN}-toml \ | 29 | ${PYTHON_PN}-toml \ |
| 30 | ${PYTHON_PN}-unixadmin \ | 30 | ${PYTHON_PN}-unixadmin \ |
| 31 | " | 31 | " |
| 32 | 32 | ||
| 33 | RDEPENDS_${PN} += " \ | 33 | RDEPENDS:${PN} += " \ |
| 34 | ${PYTHON_PN}-asyncio \ | 34 | ${PYTHON_PN}-asyncio \ |
| 35 | ${PYTHON_PN}-crypt \ | 35 | ${PYTHON_PN}-crypt \ |
| 36 | ${PYTHON_PN}-io \ | 36 | ${PYTHON_PN}-io \ |
diff --git a/meta/recipes-devtools/python/python3-libarchive-c_3.1.bb b/meta/recipes-devtools/python/python3-libarchive-c_3.1.bb index d8f7862f92..ac8466e63b 100644 --- a/meta/recipes-devtools/python/python3-libarchive-c_3.1.bb +++ b/meta/recipes-devtools/python/python3-libarchive-c_3.1.bb | |||
| @@ -12,7 +12,7 @@ inherit pypi setuptools3 | |||
| 12 | SRC_URI[md5sum] = "8c62da42a8b9bd24642e5430427e6f5a" | 12 | SRC_URI[md5sum] = "8c62da42a8b9bd24642e5430427e6f5a" |
| 13 | SRC_URI[sha256sum] = "618a7ecfbfb58ca15e11e3138d4a636498da3b6bc212811af158298530fbb87e" | 13 | SRC_URI[sha256sum] = "618a7ecfbfb58ca15e11e3138d4a636498da3b6bc212811af158298530fbb87e" |
| 14 | 14 | ||
| 15 | RDEPENDS_${PN} += "\ | 15 | RDEPENDS:${PN} += "\ |
| 16 | libarchive \ | 16 | libarchive \ |
| 17 | ${PYTHON_PN}-ctypes \ | 17 | ${PYTHON_PN}-ctypes \ |
| 18 | ${PYTHON_PN}-mmap \ | 18 | ${PYTHON_PN}-mmap \ |
diff --git a/meta/recipes-devtools/python/python3-magic_0.4.24.bb b/meta/recipes-devtools/python/python3-magic_0.4.24.bb index a54bf2431c..ae895fbd53 100644 --- a/meta/recipes-devtools/python/python3-magic_0.4.24.bb +++ b/meta/recipes-devtools/python/python3-magic_0.4.24.bb | |||
| @@ -13,7 +13,7 @@ inherit pypi setuptools3 | |||
| 13 | 13 | ||
| 14 | SRC_URI[sha256sum] = "de800df9fb50f8ec5974761054a708af6e4246b03b4bdaee993f948947b0ebcf" | 14 | SRC_URI[sha256sum] = "de800df9fb50f8ec5974761054a708af6e4246b03b4bdaee993f948947b0ebcf" |
| 15 | 15 | ||
| 16 | RDEPENDS_${PN} += "file \ | 16 | RDEPENDS:${PN} += "file \ |
| 17 | ${PYTHON_PN}-ctypes \ | 17 | ${PYTHON_PN}-ctypes \ |
| 18 | ${PYTHON_PN}-io \ | 18 | ${PYTHON_PN}-io \ |
| 19 | ${PYTHON_PN}-logging \ | 19 | ${PYTHON_PN}-logging \ |
diff --git a/meta/recipes-devtools/python/python3-mako_1.1.4.bb b/meta/recipes-devtools/python/python3-mako_1.1.4.bb index 1645f37da4..21ce33b808 100644 --- a/meta/recipes-devtools/python/python3-mako_1.1.4.bb +++ b/meta/recipes-devtools/python/python3-mako_1.1.4.bb | |||
| @@ -10,7 +10,7 @@ inherit pypi setuptools3 | |||
| 10 | 10 | ||
| 11 | SRC_URI[sha256sum] = "17831f0b7087c313c0ffae2bcbbd3c1d5ba9eeac9c38f2eb7b50e8c99fe9d5ab" | 11 | SRC_URI[sha256sum] = "17831f0b7087c313c0ffae2bcbbd3c1d5ba9eeac9c38f2eb7b50e8c99fe9d5ab" |
| 12 | 12 | ||
| 13 | RDEPENDS_${PN} = "${PYTHON_PN}-html \ | 13 | RDEPENDS:${PN} = "${PYTHON_PN}-html \ |
| 14 | ${PYTHON_PN}-netclient \ | 14 | ${PYTHON_PN}-netclient \ |
| 15 | ${PYTHON_PN}-threading \ | 15 | ${PYTHON_PN}-threading \ |
| 16 | " | 16 | " |
diff --git a/meta/recipes-devtools/python/python3-markdown_3.3.4.bb b/meta/recipes-devtools/python/python3-markdown_3.3.4.bb index 47cccbe5bd..ec1d139ab0 100644 --- a/meta/recipes-devtools/python/python3-markdown_3.3.4.bb +++ b/meta/recipes-devtools/python/python3-markdown_3.3.4.bb | |||
| @@ -10,4 +10,4 @@ SRC_URI[sha256sum] = "31b5b491868dcc87d6c24b7e3d19a0d730d59d3e46f4eea6430a321bed | |||
| 10 | 10 | ||
| 11 | BBCLASSEXTEND = "native" | 11 | BBCLASSEXTEND = "native" |
| 12 | 12 | ||
| 13 | RDEPENDS_${PN} += "${PYTHON_PN}-logging ${PYTHON_PN}-setuptools" | 13 | RDEPENDS:${PN} += "${PYTHON_PN}-logging ${PYTHON_PN}-setuptools" |
diff --git a/meta/recipes-devtools/python/python3-markupsafe_2.0.1.bb b/meta/recipes-devtools/python/python3-markupsafe_2.0.1.bb index 5be43b6c56..857472cc7b 100644 --- a/meta/recipes-devtools/python/python3-markupsafe_2.0.1.bb +++ b/meta/recipes-devtools/python/python3-markupsafe_2.0.1.bb | |||
| @@ -9,7 +9,7 @@ PYPI_PACKAGE = "MarkupSafe" | |||
| 9 | inherit pypi setuptools3 | 9 | inherit pypi setuptools3 |
| 10 | inherit ${@bb.utils.filter('DISTRO_FEATURES', 'ptest', d)} | 10 | inherit ${@bb.utils.filter('DISTRO_FEATURES', 'ptest', d)} |
| 11 | 11 | ||
| 12 | RDEPENDS_${PN} += "${PYTHON_PN}-stringold" | 12 | RDEPENDS:${PN} += "${PYTHON_PN}-stringold" |
| 13 | 13 | ||
| 14 | BBCLASSEXTEND = "native nativesdk" | 14 | BBCLASSEXTEND = "native nativesdk" |
| 15 | 15 | ||
| @@ -17,7 +17,7 @@ SRC_URI += " \ | |||
| 17 | file://run-ptest \ | 17 | file://run-ptest \ |
| 18 | " | 18 | " |
| 19 | 19 | ||
| 20 | RDEPENDS_${PN}-ptest += " \ | 20 | RDEPENDS:${PN}-ptest += " \ |
| 21 | ${PYTHON_PN}-pytest \ | 21 | ${PYTHON_PN}-pytest \ |
| 22 | " | 22 | " |
| 23 | 23 | ||
diff --git a/meta/recipes-devtools/python/python3-more-itertools_8.8.0.bb b/meta/recipes-devtools/python/python3-more-itertools_8.8.0.bb index 1c0e84d27f..fe41d47e41 100644 --- a/meta/recipes-devtools/python/python3-more-itertools_8.8.0.bb +++ b/meta/recipes-devtools/python/python3-more-itertools_8.8.0.bb | |||
| @@ -11,11 +11,11 @@ SRC_URI += " \ | |||
| 11 | file://run-ptest \ | 11 | file://run-ptest \ |
| 12 | " | 12 | " |
| 13 | 13 | ||
| 14 | RDEPENDS_${PN} += " \ | 14 | RDEPENDS:${PN} += " \ |
| 15 | ${PYTHON_PN}-asyncio \ | 15 | ${PYTHON_PN}-asyncio \ |
| 16 | " | 16 | " |
| 17 | 17 | ||
| 18 | RDEPENDS_${PN}-ptest += " \ | 18 | RDEPENDS:${PN}-ptest += " \ |
| 19 | ${PYTHON_PN}-pytest \ | 19 | ${PYTHON_PN}-pytest \ |
| 20 | " | 20 | " |
| 21 | 21 | ||
diff --git a/meta/recipes-devtools/python/python3-packaging_21.0.bb b/meta/recipes-devtools/python/python3-packaging_21.0.bb index 23ecd9df5e..eacc48e56a 100644 --- a/meta/recipes-devtools/python/python3-packaging_21.0.bb +++ b/meta/recipes-devtools/python/python3-packaging_21.0.bb | |||
| @@ -10,4 +10,4 @@ inherit pypi setuptools3 | |||
| 10 | BBCLASSEXTEND = "native" | 10 | BBCLASSEXTEND = "native" |
| 11 | 11 | ||
| 12 | DEPENDS += "${PYTHON_PN}-setuptools-scm-native" | 12 | DEPENDS += "${PYTHON_PN}-setuptools-scm-native" |
| 13 | RDEPENDS_${PN} += "${PYTHON_PN}-six ${PYTHON_PN}-pyparsing" | 13 | RDEPENDS:${PN} += "${PYTHON_PN}-six ${PYTHON_PN}-pyparsing" |
diff --git a/meta/recipes-devtools/python/python3-pathlib2_2.3.6.bb b/meta/recipes-devtools/python/python3-pathlib2_2.3.6.bb index 8516bbe4d4..1f1cf1ab28 100644 --- a/meta/recipes-devtools/python/python3-pathlib2_2.3.6.bb +++ b/meta/recipes-devtools/python/python3-pathlib2_2.3.6.bb | |||
| @@ -7,6 +7,6 @@ SRC_URI[sha256sum] = "7d8bcb5555003cdf4a8d2872c538faa3a0f5d20630cb360e518ca3b981 | |||
| 7 | 7 | ||
| 8 | inherit pypi setuptools3 | 8 | inherit pypi setuptools3 |
| 9 | 9 | ||
| 10 | RDEPENDS_${PN} += "${PYTHON_PN}-six ${PYTHON_PN}-ctypes" | 10 | RDEPENDS:${PN} += "${PYTHON_PN}-six ${PYTHON_PN}-ctypes" |
| 11 | 11 | ||
| 12 | BBCLASSEXTEND = "native nativesdk" | 12 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta/recipes-devtools/python/python3-pip_21.1.3.bb b/meta/recipes-devtools/python/python3-pip_21.1.3.bb index 0f105c2393..21b2c7cb2b 100644 --- a/meta/recipes-devtools/python/python3-pip_21.1.3.bb +++ b/meta/recipes-devtools/python/python3-pip_21.1.3.bb | |||
| @@ -12,12 +12,12 @@ SRC_URI += "file://0001-change-shebang-to-python3.patch" | |||
| 12 | 12 | ||
| 13 | SRC_URI[sha256sum] = "b5b1eb91b36894bd01b8e5a56a422c2f3838573da0b0a1c63a096bb454e3b23f" | 13 | SRC_URI[sha256sum] = "b5b1eb91b36894bd01b8e5a56a422c2f3838573da0b0a1c63a096bb454e3b23f" |
| 14 | 14 | ||
| 15 | do_install_append() { | 15 | do_install:append() { |
| 16 | # Install as pip3 and leave pip2 as default | 16 | # Install as pip3 and leave pip2 as default |
| 17 | rm ${D}/${bindir}/pip | 17 | rm ${D}/${bindir}/pip |
| 18 | } | 18 | } |
| 19 | 19 | ||
| 20 | RDEPENDS_${PN} = "\ | 20 | RDEPENDS:${PN} = "\ |
| 21 | python3-compile \ | 21 | python3-compile \ |
| 22 | python3-io \ | 22 | python3-io \ |
| 23 | python3-html \ | 23 | python3-html \ |
diff --git a/meta/recipes-devtools/python/python3-pluggy_0.13.1.bb b/meta/recipes-devtools/python/python3-pluggy_0.13.1.bb index d3e0365ca1..479c10fcdc 100644 --- a/meta/recipes-devtools/python/python3-pluggy_0.13.1.bb +++ b/meta/recipes-devtools/python/python3-pluggy_0.13.1.bb | |||
| @@ -7,7 +7,7 @@ SRC_URI[md5sum] = "7f610e28b8b34487336b585a3dfb803d" | |||
| 7 | SRC_URI[sha256sum] = "15b2acde666561e1298d71b523007ed7364de07029219b604cf808bfa1c765b0" | 7 | SRC_URI[sha256sum] = "15b2acde666561e1298d71b523007ed7364de07029219b604cf808bfa1c765b0" |
| 8 | 8 | ||
| 9 | DEPENDS += "${PYTHON_PN}-setuptools-scm-native" | 9 | DEPENDS += "${PYTHON_PN}-setuptools-scm-native" |
| 10 | RDEPENDS_${PN} += "${PYTHON_PN}-importlib-metadata \ | 10 | RDEPENDS:${PN} += "${PYTHON_PN}-importlib-metadata \ |
| 11 | ${PYTHON_PN}-more-itertools \ | 11 | ${PYTHON_PN}-more-itertools \ |
| 12 | " | 12 | " |
| 13 | 13 | ||
| @@ -17,7 +17,7 @@ SRC_URI += " \ | |||
| 17 | file://run-ptest \ | 17 | file://run-ptest \ |
| 18 | " | 18 | " |
| 19 | 19 | ||
| 20 | RDEPENDS_${PN}-ptest += " \ | 20 | RDEPENDS:${PN}-ptest += " \ |
| 21 | ${PYTHON_PN}-pytest \ | 21 | ${PYTHON_PN}-pytest \ |
| 22 | " | 22 | " |
| 23 | 23 | ||
diff --git a/meta/recipes-devtools/python/python3-py_1.10.0.bb b/meta/recipes-devtools/python/python3-py_1.10.0.bb index 4e16ad1743..8225c6b6c8 100644 --- a/meta/recipes-devtools/python/python3-py_1.10.0.bb +++ b/meta/recipes-devtools/python/python3-py_1.10.0.bb | |||
| @@ -11,4 +11,4 @@ inherit pypi setuptools3 | |||
| 11 | 11 | ||
| 12 | BBCLASSEXTEND = "native nativesdk" | 12 | BBCLASSEXTEND = "native nativesdk" |
| 13 | 13 | ||
| 14 | RDEPENDS_${PN} += "${PYTHON_PN}-netclient" | 14 | RDEPENDS:${PN} += "${PYTHON_PN}-netclient" |
diff --git a/meta/recipes-devtools/python/python3-pycairo_1.20.1.bb b/meta/recipes-devtools/python/python3-pycairo_1.20.1.bb index d169a3ca79..9c88d998f9 100644 --- a/meta/recipes-devtools/python/python3-pycairo_1.20.1.bb +++ b/meta/recipes-devtools/python/python3-pycairo_1.20.1.bb | |||
| @@ -24,4 +24,4 @@ CFLAGS += "-fPIC" | |||
| 24 | 24 | ||
| 25 | BBCLASSEXTEND = "native" | 25 | BBCLASSEXTEND = "native" |
| 26 | 26 | ||
| 27 | FILES_${PN} = "${PYTHON_SITEPACKAGES_DIR}/*" | 27 | FILES:${PN} = "${PYTHON_SITEPACKAGES_DIR}/*" |
diff --git a/meta/recipes-devtools/python/python3-pycryptodomex_3.10.1.bb b/meta/recipes-devtools/python/python3-pycryptodomex_3.10.1.bb index a6b3b3e935..2d929f11d0 100644 --- a/meta/recipes-devtools/python/python3-pycryptodomex_3.10.1.bb +++ b/meta/recipes-devtools/python/python3-pycryptodomex_3.10.1.bb | |||
| @@ -3,7 +3,7 @@ inherit setuptools3 | |||
| 3 | 3 | ||
| 4 | SRC_URI[sha256sum] = "541cd3e3e252fb19a7b48f420b798b53483302b7fe4d9954c947605d0a263d62" | 4 | SRC_URI[sha256sum] = "541cd3e3e252fb19a7b48f420b798b53483302b7fe4d9954c947605d0a263d62" |
| 5 | 5 | ||
| 6 | FILES_${PN}-tests = " \ | 6 | FILES:${PN}-tests = " \ |
| 7 | ${PYTHON_SITEPACKAGES_DIR}/Cryptodome/SelfTest/ \ | 7 | ${PYTHON_SITEPACKAGES_DIR}/Cryptodome/SelfTest/ \ |
| 8 | ${PYTHON_SITEPACKAGES_DIR}/Cryptodome/SelfTest/__pycache__/ \ | 8 | ${PYTHON_SITEPACKAGES_DIR}/Cryptodome/SelfTest/__pycache__/ \ |
| 9 | " | 9 | " |
diff --git a/meta/recipes-devtools/python/python3-pygobject_3.40.1.bb b/meta/recipes-devtools/python/python3-pygobject_3.40.1.bb index f5679a4ba2..a0d4f04965 100644 --- a/meta/recipes-devtools/python/python3-pygobject_3.40.1.bb +++ b/meta/recipes-devtools/python/python3-pygobject_3.40.1.bb | |||
| @@ -24,11 +24,11 @@ S = "${WORKDIR}/${SRCNAME}-${PV}" | |||
| 24 | 24 | ||
| 25 | PACKAGECONFIG ??= "${@bb.utils.contains_any('DISTRO_FEATURES', [ 'directfb', 'wayland', 'x11' ], 'cairo', '', d)}" | 25 | PACKAGECONFIG ??= "${@bb.utils.contains_any('DISTRO_FEATURES', [ 'directfb', 'wayland', 'x11' ], 'cairo', '', d)}" |
| 26 | 26 | ||
| 27 | RDEPENDS_${PN} += "python3-pkgutil" | 27 | RDEPENDS:${PN} += "python3-pkgutil" |
| 28 | 28 | ||
| 29 | # python3-pycairo is checked on configuration -> DEPENDS | 29 | # python3-pycairo is checked on configuration -> DEPENDS |
| 30 | # we don't link against python3-pycairo -> RDEPENDS | 30 | # we don't link against python3-pycairo -> RDEPENDS |
| 31 | PACKAGECONFIG[cairo] = "-Dpycairo=enabled,-Dpycairo=disabled, cairo python3-pycairo, python3-pycairo" | 31 | PACKAGECONFIG[cairo] = "-Dpycairo=enabled,-Dpycairo=disabled, cairo python3-pycairo, python3-pycairo" |
| 32 | 32 | ||
| 33 | BBCLASSEXTEND = "native" | 33 | BBCLASSEXTEND = "native" |
| 34 | PACKAGECONFIG_class-native = "" | 34 | PACKAGECONFIG:class-native = "" |
diff --git a/meta/recipes-devtools/python/python3-pytest_6.2.4.bb b/meta/recipes-devtools/python/python3-pytest_6.2.4.bb index fa43e6ebf0..0df44d58c7 100644 --- a/meta/recipes-devtools/python/python3-pytest_6.2.4.bb +++ b/meta/recipes-devtools/python/python3-pytest_6.2.4.bb | |||
| @@ -5,13 +5,13 @@ DESCRIPTION = "The pytest framework makes it easy to write small tests, yet scal | |||
| 5 | LICENSE = "MIT" | 5 | LICENSE = "MIT" |
| 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=81eb9f71d006c6b268cf4388e3c98f7b" | 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=81eb9f71d006c6b268cf4388e3c98f7b" |
| 7 | 7 | ||
| 8 | SRC_URI_append = " file://0001-setup.py-remove-the-setup_requires-for-setuptools-scm.patch " | 8 | SRC_URI:append = " file://0001-setup.py-remove-the-setup_requires-for-setuptools-scm.patch " |
| 9 | 9 | ||
| 10 | SRC_URI[sha256sum] = "50bcad0a0b9c5a72c8e4e7c9855a3ad496ca6a881a3641b4260605450772c54b" | 10 | SRC_URI[sha256sum] = "50bcad0a0b9c5a72c8e4e7c9855a3ad496ca6a881a3641b4260605450772c54b" |
| 11 | 11 | ||
| 12 | inherit update-alternatives pypi setuptools3 | 12 | inherit update-alternatives pypi setuptools3 |
| 13 | 13 | ||
| 14 | RDEPENDS_${PN}_class-target += " \ | 14 | RDEPENDS:${PN}:class-target += " \ |
| 15 | ${PYTHON_PN}-atomicwrites \ | 15 | ${PYTHON_PN}-atomicwrites \ |
| 16 | ${PYTHON_PN}-attrs \ | 16 | ${PYTHON_PN}-attrs \ |
| 17 | ${PYTHON_PN}-debugger \ | 17 | ${PYTHON_PN}-debugger \ |
| @@ -30,7 +30,7 @@ RDEPENDS_${PN}_class-target += " \ | |||
| 30 | ${PYTHON_PN}-wcwidth \ | 30 | ${PYTHON_PN}-wcwidth \ |
| 31 | " | 31 | " |
| 32 | 32 | ||
| 33 | ALTERNATIVE_${PN} += "py.test pytest" | 33 | ALTERNATIVE:${PN} += "py.test pytest" |
| 34 | 34 | ||
| 35 | NATIVE_LINK_NAME[pytest] = "${bindir}/pytest" | 35 | NATIVE_LINK_NAME[pytest] = "${bindir}/pytest" |
| 36 | ALTERNATIVE_TARGET[pytest] = "${bindir}/pytest" | 36 | ALTERNATIVE_TARGET[pytest] = "${bindir}/pytest" |
diff --git a/meta/recipes-devtools/python/python3-pyyaml_5.4.1.bb b/meta/recipes-devtools/python/python3-pyyaml_5.4.1.bb index dce1ad57d3..b11baa6331 100644 --- a/meta/recipes-devtools/python/python3-pyyaml_5.4.1.bb +++ b/meta/recipes-devtools/python/python3-pyyaml_5.4.1.bb | |||
| @@ -11,7 +11,7 @@ inherit pypi setuptools3 | |||
| 11 | 11 | ||
| 12 | SRC_URI[sha256sum] = "607774cbba28732bfa802b54baa7484215f530991055bb562efbed5b2f20a45e" | 12 | SRC_URI[sha256sum] = "607774cbba28732bfa802b54baa7484215f530991055bb562efbed5b2f20a45e" |
| 13 | 13 | ||
| 14 | RDEPENDS_${PN} += "\ | 14 | RDEPENDS:${PN} += "\ |
| 15 | ${PYTHON_PN}-datetime \ | 15 | ${PYTHON_PN}-datetime \ |
| 16 | ${PYTHON_PN}-netclient \ | 16 | ${PYTHON_PN}-netclient \ |
| 17 | " | 17 | " |
diff --git a/meta/recipes-devtools/python/python3-scons-native_4.1.0.bb b/meta/recipes-devtools/python/python3-scons-native_4.1.0.bb index 9e127304d6..73076b8732 100644 --- a/meta/recipes-devtools/python/python3-scons-native_4.1.0.bb +++ b/meta/recipes-devtools/python/python3-scons-native_4.1.0.bb | |||
| @@ -2,6 +2,6 @@ require python3-scons_${PV}.bb | |||
| 2 | inherit native python3native | 2 | inherit native python3native |
| 3 | DEPENDS = "python3-native python3-setuptools-native" | 3 | DEPENDS = "python3-native python3-setuptools-native" |
| 4 | 4 | ||
| 5 | do_install_append() { | 5 | do_install:append() { |
| 6 | create_wrapper ${D}${bindir}/scons SCONS_LIB_DIR='${STAGING_DIR_HOST}/${PYTHON_SITEPACKAGES_DIR}' PYTHONNOUSERSITE='1' | 6 | create_wrapper ${D}${bindir}/scons SCONS_LIB_DIR='${STAGING_DIR_HOST}/${PYTHON_SITEPACKAGES_DIR}' PYTHONNOUSERSITE='1' |
| 7 | } | 7 | } |
diff --git a/meta/recipes-devtools/python/python3-scons_4.1.0.bb b/meta/recipes-devtools/python/python3-scons_4.1.0.bb index 5894a5ef3f..5a5b550be0 100644 --- a/meta/recipes-devtools/python/python3-scons_4.1.0.bb +++ b/meta/recipes-devtools/python/python3-scons_4.1.0.bb | |||
| @@ -11,7 +11,7 @@ PYPI_PACKAGE = "SCons" | |||
| 11 | 11 | ||
| 12 | inherit pypi setuptools3 | 12 | inherit pypi setuptools3 |
| 13 | 13 | ||
| 14 | RDEPENDS_${PN}_class-target = "\ | 14 | RDEPENDS:${PN}:class-target = "\ |
| 15 | python3-core \ | 15 | python3-core \ |
| 16 | python3-compression \ | 16 | python3-compression \ |
| 17 | python3-fcntl \ | 17 | python3-fcntl \ |
| @@ -24,4 +24,4 @@ RDEPENDS_${PN}_class-target = "\ | |||
| 24 | python3-pprint \ | 24 | python3-pprint \ |
| 25 | " | 25 | " |
| 26 | 26 | ||
| 27 | FILES_${PN}-doc += "${datadir}/scons*.1" | 27 | FILES:${PN}-doc += "${datadir}/scons*.1" |
diff --git a/meta/recipes-devtools/python/python3-setuptools-scm_6.0.1.bb b/meta/recipes-devtools/python/python3-setuptools-scm_6.0.1.bb index 24409eddc5..afbed17a2d 100644 --- a/meta/recipes-devtools/python/python3-setuptools-scm_6.0.1.bb +++ b/meta/recipes-devtools/python/python3-setuptools-scm_6.0.1.bb | |||
| @@ -11,14 +11,14 @@ inherit pypi setuptools3 | |||
| 11 | 11 | ||
| 12 | UPSTREAM_CHECK_REGEX = "setuptools_scm-(?P<pver>.*)\.tar" | 12 | UPSTREAM_CHECK_REGEX = "setuptools_scm-(?P<pver>.*)\.tar" |
| 13 | 13 | ||
| 14 | RDEPENDS_${PN} = "\ | 14 | RDEPENDS:${PN} = "\ |
| 15 | ${PYTHON_PN}-debugger \ | 15 | ${PYTHON_PN}-debugger \ |
| 16 | ${PYTHON_PN}-json \ | 16 | ${PYTHON_PN}-json \ |
| 17 | ${PYTHON_PN}-py \ | 17 | ${PYTHON_PN}-py \ |
| 18 | ${PYTHON_PN}-setuptools \ | 18 | ${PYTHON_PN}-setuptools \ |
| 19 | ${PYTHON_PN}-toml \ | 19 | ${PYTHON_PN}-toml \ |
| 20 | " | 20 | " |
| 21 | RDEPENDS_${PN}_class-native = "\ | 21 | RDEPENDS:${PN}:class-native = "\ |
| 22 | ${PYTHON_PN}-setuptools-native \ | 22 | ${PYTHON_PN}-setuptools-native \ |
| 23 | ${PYTHON_PN}-toml-native \ | 23 | ${PYTHON_PN}-toml-native \ |
| 24 | " | 24 | " |
diff --git a/meta/recipes-devtools/python/python3-setuptools_57.1.0.bb b/meta/recipes-devtools/python/python3-setuptools_57.1.0.bb index c066d8209f..63c0fe97ff 100644 --- a/meta/recipes-devtools/python/python3-setuptools_57.1.0.bb +++ b/meta/recipes-devtools/python/python3-setuptools_57.1.0.bb | |||
| @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;beginline=1;endline=19;md5=7a7126e068206290f3 | |||
| 6 | 6 | ||
| 7 | inherit pypi setuptools3 | 7 | inherit pypi setuptools3 |
| 8 | 8 | ||
| 9 | SRC_URI_append_class-native = " file://0001-conditionally-do-not-fetch-code-by-easy_install.patch" | 9 | SRC_URI:append:class-native = " file://0001-conditionally-do-not-fetch-code-by-easy_install.patch" |
| 10 | 10 | ||
| 11 | SRC_URI += "file://0001-change-shebang-to-python3.patch" | 11 | SRC_URI += "file://0001-change-shebang-to-python3.patch" |
| 12 | 12 | ||
| @@ -14,7 +14,7 @@ SRC_URI[sha256sum] = "cfca9c97e7eebbc8abe18d5e5e962a08dcad55bb63afddd82d681de4d2 | |||
| 14 | 14 | ||
| 15 | DEPENDS += "${PYTHON_PN}" | 15 | DEPENDS += "${PYTHON_PN}" |
| 16 | 16 | ||
| 17 | RDEPENDS_${PN} = "\ | 17 | RDEPENDS:${PN} = "\ |
| 18 | ${PYTHON_PN}-2to3 \ | 18 | ${PYTHON_PN}-2to3 \ |
| 19 | ${PYTHON_PN}-compile \ | 19 | ${PYTHON_PN}-compile \ |
| 20 | ${PYTHON_PN}-compression \ | 20 | ${PYTHON_PN}-compression \ |
| @@ -36,7 +36,7 @@ RDEPENDS_${PN} = "\ | |||
| 36 | ${PYTHON_PN}-xml \ | 36 | ${PYTHON_PN}-xml \ |
| 37 | " | 37 | " |
| 38 | 38 | ||
| 39 | do_install_prepend() { | 39 | do_install:prepend() { |
| 40 | install -d ${D}${PYTHON_SITEPACKAGES_DIR} | 40 | install -d ${D}${PYTHON_SITEPACKAGES_DIR} |
| 41 | } | 41 | } |
| 42 | 42 | ||
| @@ -46,8 +46,8 @@ BBCLASSEXTEND = "native nativesdk" | |||
| 46 | # and easy_install. Ship it in a separate package so that it can be used by | 46 | # and easy_install. Ship it in a separate package so that it can be used by |
| 47 | # minimal distributions. | 47 | # minimal distributions. |
| 48 | PACKAGES =+ "${PYTHON_PN}-pkg-resources " | 48 | PACKAGES =+ "${PYTHON_PN}-pkg-resources " |
| 49 | FILES_${PYTHON_PN}-pkg-resources = "${PYTHON_SITEPACKAGES_DIR}/pkg_resources/*" | 49 | FILES:${PYTHON_PN}-pkg-resources = "${PYTHON_SITEPACKAGES_DIR}/pkg_resources/*" |
| 50 | RDEPENDS_${PYTHON_PN}-pkg-resources = "\ | 50 | RDEPENDS:${PYTHON_PN}-pkg-resources = "\ |
| 51 | ${PYTHON_PN}-compression \ | 51 | ${PYTHON_PN}-compression \ |
| 52 | ${PYTHON_PN}-email \ | 52 | ${PYTHON_PN}-email \ |
| 53 | ${PYTHON_PN}-plistlib \ | 53 | ${PYTHON_PN}-plistlib \ |
diff --git a/meta/recipes-devtools/python/python3-subunit_1.4.0.bb b/meta/recipes-devtools/python/python3-subunit_1.4.0.bb index 55066e2d0f..a06ded868f 100644 --- a/meta/recipes-devtools/python/python3-subunit_1.4.0.bb +++ b/meta/recipes-devtools/python/python3-subunit_1.4.0.bb | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | inherit setuptools3 | 1 | inherit setuptools3 |
| 2 | require python-subunit.inc | 2 | require python-subunit.inc |
| 3 | 3 | ||
| 4 | RDEPENDS_${PN} = " python3-testtools" | 4 | RDEPENDS:${PN} = " python3-testtools" |
diff --git a/meta/recipes-devtools/python/python3-toml_0.10.2.bb b/meta/recipes-devtools/python/python3-toml_0.10.2.bb index b46eba6fd1..be29cac798 100644 --- a/meta/recipes-devtools/python/python3-toml_0.10.2.bb +++ b/meta/recipes-devtools/python/python3-toml_0.10.2.bb | |||
| @@ -10,6 +10,6 @@ inherit pypi setuptools3 | |||
| 10 | 10 | ||
| 11 | BBCLASSEXTEND = "native nativesdk" | 11 | BBCLASSEXTEND = "native nativesdk" |
| 12 | 12 | ||
| 13 | RDEPENDS_${PN} += " \ | 13 | RDEPENDS:${PN} += " \ |
| 14 | ${PYTHON_PN}-misc \ | 14 | ${PYTHON_PN}-misc \ |
| 15 | " | 15 | " |
diff --git a/meta/recipes-devtools/python/python3-typogrify_2.0.7.bb b/meta/recipes-devtools/python/python3-typogrify_2.0.7.bb index 3becb0dd8d..83e9b5eadb 100644 --- a/meta/recipes-devtools/python/python3-typogrify_2.0.7.bb +++ b/meta/recipes-devtools/python/python3-typogrify_2.0.7.bb | |||
| @@ -10,5 +10,5 @@ SRC_URI[sha256sum] = "8be4668cda434163ce229d87ca273a11922cb1614cb359970b7dc96eed | |||
| 10 | 10 | ||
| 11 | BBCLASSEXTEND = "native" | 11 | BBCLASSEXTEND = "native" |
| 12 | 12 | ||
| 13 | RDEPENDS_${PN} += "${PYTHON_PN}-smartypants" | 13 | RDEPENDS:${PN} += "${PYTHON_PN}-smartypants" |
| 14 | 14 | ||
diff --git a/meta/recipes-devtools/python/python3-wcwidth_0.2.5.bb b/meta/recipes-devtools/python/python3-wcwidth_0.2.5.bb index bb4aae2e86..a532d3c5cb 100644 --- a/meta/recipes-devtools/python/python3-wcwidth_0.2.5.bb +++ b/meta/recipes-devtools/python/python3-wcwidth_0.2.5.bb | |||
| @@ -13,7 +13,7 @@ SRC_URI += " \ | |||
| 13 | file://run-ptest \ | 13 | file://run-ptest \ |
| 14 | " | 14 | " |
| 15 | 15 | ||
| 16 | RDEPENDS_${PN}-ptest += " \ | 16 | RDEPENDS:${PN}-ptest += " \ |
| 17 | ${PYTHON_PN}-pytest \ | 17 | ${PYTHON_PN}-pytest \ |
| 18 | " | 18 | " |
| 19 | 19 | ||
diff --git a/meta/recipes-devtools/python/python3-zipp_3.5.0.bb b/meta/recipes-devtools/python/python3-zipp_3.5.0.bb index ab12601e4e..d6f4676542 100644 --- a/meta/recipes-devtools/python/python3-zipp_3.5.0.bb +++ b/meta/recipes-devtools/python/python3-zipp_3.5.0.bb | |||
| @@ -11,7 +11,7 @@ inherit pypi setuptools3 | |||
| 11 | 11 | ||
| 12 | DEPENDS += "${PYTHON_PN}-toml-native" | 12 | DEPENDS += "${PYTHON_PN}-toml-native" |
| 13 | 13 | ||
| 14 | RDEPENDS_${PN} += "${PYTHON_PN}-compression \ | 14 | RDEPENDS:${PN} += "${PYTHON_PN}-compression \ |
| 15 | ${PYTHON_PN}-math \ | 15 | ${PYTHON_PN}-math \ |
| 16 | ${PYTHON_PN}-more-itertools" | 16 | ${PYTHON_PN}-more-itertools" |
| 17 | 17 | ||
diff --git a/meta/recipes-devtools/python/python3_3.9.6.bb b/meta/recipes-devtools/python/python3_3.9.6.bb index 986dfda83d..9fe8e03389 100644 --- a/meta/recipes-devtools/python/python3_3.9.6.bb +++ b/meta/recipes-devtools/python/python3_3.9.6.bb | |||
| @@ -34,7 +34,7 @@ SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.xz \ | |||
| 34 | file://makerace.patch \ | 34 | file://makerace.patch \ |
| 35 | " | 35 | " |
| 36 | 36 | ||
| 37 | SRC_URI_append_class-native = " \ | 37 | SRC_URI:append:class-native = " \ |
| 38 | file://0001-distutils-sysconfig-append-STAGING_LIBDIR-python-sys.patch \ | 38 | file://0001-distutils-sysconfig-append-STAGING_LIBDIR-python-sys.patch \ |
| 39 | file://12-distutils-prefix-is-inside-staging-area.patch \ | 39 | file://12-distutils-prefix-is-inside-staging-area.patch \ |
| 40 | file://0001-Don-t-search-system-for-headers-libraries.patch \ | 40 | file://0001-Don-t-search-system-for-headers-libraries.patch \ |
| @@ -65,24 +65,24 @@ inherit autotools pkgconfig qemu ptest multilib_header update-alternatives | |||
| 65 | 65 | ||
| 66 | MULTILIB_SUFFIX = "${@d.getVar('base_libdir',1).split('/')[-1]}" | 66 | MULTILIB_SUFFIX = "${@d.getVar('base_libdir',1).split('/')[-1]}" |
| 67 | 67 | ||
| 68 | ALTERNATIVE_${PN}-dev = "python3-config" | 68 | ALTERNATIVE:${PN}-dev = "python3-config" |
| 69 | ALTERNATIVE_LINK_NAME[python3-config] = "${bindir}/python${PYTHON_MAJMIN}-config" | 69 | ALTERNATIVE_LINK_NAME[python3-config] = "${bindir}/python${PYTHON_MAJMIN}-config" |
| 70 | ALTERNATIVE_TARGET[python3-config] = "${bindir}/python${PYTHON_MAJMIN}-config-${MULTILIB_SUFFIX}" | 70 | ALTERNATIVE_TARGET[python3-config] = "${bindir}/python${PYTHON_MAJMIN}-config-${MULTILIB_SUFFIX}" |
| 71 | 71 | ||
| 72 | 72 | ||
| 73 | DEPENDS = "bzip2-replacement-native libffi bzip2 openssl sqlite3 zlib virtual/libintl xz virtual/crypt util-linux libtirpc libnsl2 autoconf-archive-native" | 73 | DEPENDS = "bzip2-replacement-native libffi bzip2 openssl sqlite3 zlib virtual/libintl xz virtual/crypt util-linux libtirpc libnsl2 autoconf-archive-native" |
| 74 | DEPENDS_append_class-target = " python3-native" | 74 | DEPENDS:append:class-target = " python3-native" |
| 75 | DEPENDS_append_class-nativesdk = " python3-native" | 75 | DEPENDS:append:class-nativesdk = " python3-native" |
| 76 | 76 | ||
| 77 | EXTRA_OECONF = " --without-ensurepip --enable-shared --with-platlibdir=${baselib}" | 77 | EXTRA_OECONF = " --without-ensurepip --enable-shared --with-platlibdir=${baselib}" |
| 78 | EXTRA_OECONF_append_class-native = " --bindir=${bindir}/${PN}" | 78 | EXTRA_OECONF:append:class-native = " --bindir=${bindir}/${PN}" |
| 79 | 79 | ||
| 80 | export CROSSPYTHONPATH="${STAGING_LIBDIR_NATIVE}/python${PYTHON_MAJMIN}/lib-dynload/" | 80 | export CROSSPYTHONPATH="${STAGING_LIBDIR_NATIVE}/python${PYTHON_MAJMIN}/lib-dynload/" |
| 81 | 81 | ||
| 82 | EXTRANATIVEPATH += "python3-native" | 82 | EXTRANATIVEPATH += "python3-native" |
| 83 | 83 | ||
| 84 | # LTO will be enabled via packageconfig depending upong distro features | 84 | # LTO will be enabled via packageconfig depending upong distro features |
| 85 | LTO_class-target = "" | 85 | LTO:class-target = "" |
| 86 | 86 | ||
| 87 | CACHED_CONFIGUREVARS = " \ | 87 | CACHED_CONFIGUREVARS = " \ |
| 88 | ac_cv_file__dev_ptmx=yes \ | 88 | ac_cv_file__dev_ptmx=yes \ |
| @@ -98,9 +98,9 @@ def possibly_include_pgo(d): | |||
| 98 | 98 | ||
| 99 | return '' | 99 | return '' |
| 100 | 100 | ||
| 101 | PACKAGECONFIG_class-target ??= "readline ${@possibly_include_pgo(d)} gdbm ${@bb.utils.filter('DISTRO_FEATURES', 'lto', d)}" | 101 | PACKAGECONFIG:class-target ??= "readline ${@possibly_include_pgo(d)} gdbm ${@bb.utils.filter('DISTRO_FEATURES', 'lto', d)}" |
| 102 | PACKAGECONFIG_class-native ??= "readline gdbm" | 102 | PACKAGECONFIG:class-native ??= "readline gdbm" |
| 103 | PACKAGECONFIG_class-nativesdk ??= "readline gdbm" | 103 | PACKAGECONFIG:class-nativesdk ??= "readline gdbm" |
| 104 | PACKAGECONFIG[readline] = ",,readline" | 104 | PACKAGECONFIG[readline] = ",,readline" |
| 105 | # Use profile guided optimisation by running PyBench inside qemu-user | 105 | # Use profile guided optimisation by running PyBench inside qemu-user |
| 106 | PACKAGECONFIG[pgo] = "--enable-optimizations,,qemu-native" | 106 | PACKAGECONFIG[pgo] = "--enable-optimizations,,qemu-native" |
| @@ -108,7 +108,7 @@ PACKAGECONFIG[tk] = ",,tk" | |||
| 108 | PACKAGECONFIG[gdbm] = ",,gdbm" | 108 | PACKAGECONFIG[gdbm] = ",,gdbm" |
| 109 | PACKAGECONFIG[lto] = "--with-lto,," | 109 | PACKAGECONFIG[lto] = "--with-lto,," |
| 110 | 110 | ||
| 111 | do_configure_prepend () { | 111 | do_configure:prepend () { |
| 112 | mkdir -p ${B}/Modules | 112 | mkdir -p ${B}/Modules |
| 113 | cat > ${B}/Modules/Setup.local << EOF | 113 | cat > ${B}/Modules/Setup.local << EOF |
| 114 | *disabled* | 114 | *disabled* |
| @@ -117,7 +117,7 @@ ${@bb.utils.contains('PACKAGECONFIG', 'readline', '', 'readline', d)} | |||
| 117 | EOF | 117 | EOF |
| 118 | } | 118 | } |
| 119 | 119 | ||
| 120 | CPPFLAGS_append = " -I${STAGING_INCDIR}/ncursesw -I${STAGING_INCDIR}/uuid" | 120 | CPPFLAGS:append = " -I${STAGING_INCDIR}/ncursesw -I${STAGING_INCDIR}/uuid" |
| 121 | 121 | ||
| 122 | EXTRA_OEMAKE = '\ | 122 | EXTRA_OEMAKE = '\ |
| 123 | STAGING_LIBDIR=${STAGING_LIBDIR} \ | 123 | STAGING_LIBDIR=${STAGING_LIBDIR} \ |
| @@ -125,7 +125,7 @@ EXTRA_OEMAKE = '\ | |||
| 125 | LIB=${baselib} \ | 125 | LIB=${baselib} \ |
| 126 | ' | 126 | ' |
| 127 | 127 | ||
| 128 | do_compile_prepend_class-target() { | 128 | do_compile:prepend:class-target() { |
| 129 | if ${@bb.utils.contains('PACKAGECONFIG', 'pgo', 'true', 'false', d)}; then | 129 | if ${@bb.utils.contains('PACKAGECONFIG', 'pgo', 'true', 'false', d)}; then |
| 130 | qemu_binary="${@qemu_wrapper_cmdline(d, '${STAGING_DIR_TARGET}', ['${B}', '${STAGING_DIR_TARGET}/${base_libdir}'])}" | 130 | qemu_binary="${@qemu_wrapper_cmdline(d, '${STAGING_DIR_TARGET}', ['${B}', '${STAGING_DIR_TARGET}/${base_libdir}'])}" |
| 131 | cat >pgo-wrapper <<EOF | 131 | cat >pgo-wrapper <<EOF |
| @@ -137,15 +137,15 @@ EOF | |||
| 137 | fi | 137 | fi |
| 138 | } | 138 | } |
| 139 | 139 | ||
| 140 | do_install_prepend() { | 140 | do_install:prepend() { |
| 141 | ${WORKDIR}/check_build_completeness.py ${T}/log.do_compile | 141 | ${WORKDIR}/check_build_completeness.py ${T}/log.do_compile |
| 142 | } | 142 | } |
| 143 | 143 | ||
| 144 | do_install_append_class-target() { | 144 | do_install:append:class-target() { |
| 145 | oe_multilib_header python${PYTHON_MAJMIN}/pyconfig.h | 145 | oe_multilib_header python${PYTHON_MAJMIN}/pyconfig.h |
| 146 | } | 146 | } |
| 147 | 147 | ||
| 148 | do_install_append_class-native() { | 148 | do_install:append:class-native() { |
| 149 | # Make sure we use /usr/bin/env python | 149 | # Make sure we use /usr/bin/env python |
| 150 | for PYTHSCRIPT in `grep -rIl ${bindir}/${PN}/python ${D}${bindir}/${PN}`; do | 150 | for PYTHSCRIPT in `grep -rIl ${bindir}/${PN}/python ${D}${bindir}/${PN}`; do |
| 151 | sed -i -e '1s|^#!.*|#!/usr/bin/env python3|' $PYTHSCRIPT | 151 | sed -i -e '1s|^#!.*|#!/usr/bin/env python3|' $PYTHSCRIPT |
| @@ -157,7 +157,7 @@ do_install_append_class-native() { | |||
| 157 | ln -s python3-native/python3 ${D}${bindir}/nativepython3 | 157 | ln -s python3-native/python3 ${D}${bindir}/nativepython3 |
| 158 | } | 158 | } |
| 159 | 159 | ||
| 160 | do_install_append() { | 160 | do_install:append() { |
| 161 | mkdir -p ${D}${libdir}/python-sysconfigdata | 161 | mkdir -p ${D}${libdir}/python-sysconfigdata |
| 162 | sysconfigfile=`find ${D} -name _sysconfig*.py` | 162 | sysconfigfile=`find ${D} -name _sysconfig*.py` |
| 163 | cp $sysconfigfile ${D}${libdir}/python-sysconfigdata/_sysconfigdata.py | 163 | cp $sysconfigfile ${D}${libdir}/python-sysconfigdata/_sysconfigdata.py |
| @@ -179,7 +179,7 @@ do_install_append() { | |||
| 179 | rm ${D}${libdir}/python${PYTHON_MAJMIN}/test/__pycache__/test_xml_etree.cpython* | 179 | rm ${D}${libdir}/python${PYTHON_MAJMIN}/test/__pycache__/test_xml_etree.cpython* |
| 180 | } | 180 | } |
| 181 | 181 | ||
| 182 | do_install_append_class-nativesdk () { | 182 | do_install:append:class-nativesdk () { |
| 183 | # Make sure we use /usr/bin/env python | 183 | # Make sure we use /usr/bin/env python |
| 184 | for PYTHSCRIPT in `grep -rIl ${bindir}/python ${D}${bindir}`; do | 184 | for PYTHSCRIPT in `grep -rIl ${bindir}/python ${D}${bindir}`; do |
| 185 | sed -i -e '1s|^#!.*|#!/usr/bin/env python3|' $PYTHSCRIPT | 185 | sed -i -e '1s|^#!.*|#!/usr/bin/env python3|' $PYTHSCRIPT |
| @@ -257,7 +257,7 @@ python(){ | |||
| 257 | if pypackage not in rprovides: | 257 | if pypackage not in rprovides: |
| 258 | rprovides.append(pypackage) | 258 | rprovides.append(pypackage) |
| 259 | 259 | ||
| 260 | d.setVar('RPROVIDES_class-native', ' '.join(rprovides)) | 260 | d.setVar('RPROVIDES:class-native', ' '.join(rprovides)) |
| 261 | 261 | ||
| 262 | # Then work on the target | 262 | # Then work on the target |
| 263 | include_pycs = d.getVar('INCLUDE_PYCS') | 263 | include_pycs = d.getVar('INCLUDE_PYCS') |
| @@ -275,33 +275,33 @@ python(){ | |||
| 275 | newpackages.append(pypackage) | 275 | newpackages.append(pypackage) |
| 276 | 276 | ||
| 277 | # "Build" python's manifest FILES, RDEPENDS and SUMMARY | 277 | # "Build" python's manifest FILES, RDEPENDS and SUMMARY |
| 278 | d.setVar('FILES_' + pypackage, '') | 278 | d.setVar('FILES:' + pypackage, '') |
| 279 | for value in python_manifest[key]['files']: | 279 | for value in python_manifest[key]['files']: |
| 280 | d.appendVar('FILES_' + pypackage, ' ' + value) | 280 | d.appendVar('FILES:' + pypackage, ' ' + value) |
| 281 | 281 | ||
| 282 | # Add cached files | 282 | # Add cached files |
| 283 | if include_pycs == '1': | 283 | if include_pycs == '1': |
| 284 | for value in python_manifest[key]['cached']: | 284 | for value in python_manifest[key]['cached']: |
| 285 | d.appendVar('FILES_' + pypackage, ' ' + value) | 285 | d.appendVar('FILES:' + pypackage, ' ' + value) |
| 286 | 286 | ||
| 287 | for value in python_manifest[key]['rdepends']: | 287 | for value in python_manifest[key]['rdepends']: |
| 288 | # Make it work with or without $PN | 288 | # Make it work with or without $PN |
| 289 | if '${PN}' in value: | 289 | if '${PN}' in value: |
| 290 | value=value.split('-', 1)[1] | 290 | value=value.split('-', 1)[1] |
| 291 | d.appendVar('RDEPENDS_' + pypackage, ' ' + pn + '-' + value) | 291 | d.appendVar('RDEPENDS:' + pypackage, ' ' + pn + '-' + value) |
| 292 | 292 | ||
| 293 | for value in python_manifest[key].get('rrecommends', ()): | 293 | for value in python_manifest[key].get('rrecommends', ()): |
| 294 | if '${PN}' in value: | 294 | if '${PN}' in value: |
| 295 | value=value.split('-', 1)[1] | 295 | value=value.split('-', 1)[1] |
| 296 | d.appendVar('RRECOMMENDS_' + pypackage, ' ' + pn + '-' + value) | 296 | d.appendVar('RRECOMMENDS:' + pypackage, ' ' + pn + '-' + value) |
| 297 | 297 | ||
| 298 | d.setVar('SUMMARY_' + pypackage, python_manifest[key]['summary']) | 298 | d.setVar('SUMMARY:' + pypackage, python_manifest[key]['summary']) |
| 299 | 299 | ||
| 300 | # Prepending so to avoid python-misc getting everything | 300 | # Prepending so to avoid python-misc getting everything |
| 301 | packages = newpackages + packages | 301 | packages = newpackages + packages |
| 302 | d.setVar('PACKAGES', ' '.join(packages)) | 302 | d.setVar('PACKAGES', ' '.join(packages)) |
| 303 | d.setVar('ALLOW_EMPTY_${PN}-modules', '1') | 303 | d.setVar('ALLOW_EMPTY:${PN}-modules', '1') |
| 304 | d.setVar('ALLOW_EMPTY_${PN}-pkgutil', '1') | 304 | d.setVar('ALLOW_EMPTY:${PN}-pkgutil', '1') |
| 305 | } | 305 | } |
| 306 | 306 | ||
| 307 | # Files needed to create a new manifest | 307 | # Files needed to create a new manifest |
| @@ -326,30 +326,30 @@ do_create_manifest() { | |||
| 326 | addtask do_create_manifest after do_patch do_prepare_recipe_sysroot | 326 | addtask do_create_manifest after do_patch do_prepare_recipe_sysroot |
| 327 | 327 | ||
| 328 | # manual dependency additions | 328 | # manual dependency additions |
| 329 | RRECOMMENDS_${PN}-core_append_class-nativesdk = " nativesdk-python3-modules" | 329 | RRECOMMENDS:${PN}-core:append:class-nativesdk = " nativesdk-python3-modules" |
| 330 | RRECOMMENDS_${PN}-crypt_append_class-target = " ${MLPREFIX}openssl ${MLPREFIX}ca-certificates" | 330 | RRECOMMENDS:${PN}-crypt:append:class-target = " ${MLPREFIX}openssl ${MLPREFIX}ca-certificates" |
| 331 | RRECOMMENDS_${PN}-crypt_append_class-nativesdk = " ${MLPREFIX}openssl ${MLPREFIX}ca-certificates" | 331 | RRECOMMENDS:${PN}-crypt:append:class-nativesdk = " ${MLPREFIX}openssl ${MLPREFIX}ca-certificates" |
| 332 | 332 | ||
| 333 | # For historical reasons PN is empty and provided by python3-modules | 333 | # For historical reasons PN is empty and provided by python3-modules |
| 334 | FILES_${PN} = "" | 334 | FILES:${PN} = "" |
| 335 | RPROVIDES_${PN}-modules = "${PN}" | 335 | RPROVIDES:${PN}-modules = "${PN}" |
| 336 | 336 | ||
| 337 | FILES_${PN}-pydoc += "${bindir}/pydoc${PYTHON_MAJMIN} ${bindir}/pydoc3" | 337 | FILES:${PN}-pydoc += "${bindir}/pydoc${PYTHON_MAJMIN} ${bindir}/pydoc3" |
| 338 | FILES_${PN}-idle += "${bindir}/idle3 ${bindir}/idle${PYTHON_MAJMIN}" | 338 | FILES:${PN}-idle += "${bindir}/idle3 ${bindir}/idle${PYTHON_MAJMIN}" |
| 339 | 339 | ||
| 340 | # provide python-pyvenv from python3-venv | 340 | # provide python-pyvenv from python3-venv |
| 341 | RPROVIDES_${PN}-venv += "${MLPREFIX}python3-pyvenv" | 341 | RPROVIDES:${PN}-venv += "${MLPREFIX}python3-pyvenv" |
| 342 | 342 | ||
| 343 | # package libpython3 | 343 | # package libpython3 |
| 344 | PACKAGES =+ "libpython3 libpython3-staticdev" | 344 | PACKAGES =+ "libpython3 libpython3-staticdev" |
| 345 | FILES_libpython3 = "${libdir}/libpython*.so.*" | 345 | FILES:libpython3 = "${libdir}/libpython*.so.*" |
| 346 | FILES_libpython3-staticdev += "${libdir}/python${PYTHON_MAJMIN}/config-${PYTHON_MAJMIN}-*/libpython${PYTHON_MAJMIN}.a" | 346 | FILES:libpython3-staticdev += "${libdir}/python${PYTHON_MAJMIN}/config-${PYTHON_MAJMIN}-*/libpython${PYTHON_MAJMIN}.a" |
| 347 | INSANE_SKIP_${PN}-dev += "dev-elf" | 347 | INSANE_SKIP:${PN}-dev += "dev-elf" |
| 348 | INSANE_SKIP_${PN}-ptest = "dev-deps" | 348 | INSANE_SKIP:${PN}-ptest = "dev-deps" |
| 349 | 349 | ||
| 350 | # catch all the rest (unsorted) | 350 | # catch all the rest (unsorted) |
| 351 | PACKAGES += "${PN}-misc" | 351 | PACKAGES += "${PN}-misc" |
| 352 | RDEPENDS_${PN}-misc += "\ | 352 | RDEPENDS:${PN}-misc += "\ |
| 353 | ${PN}-core \ | 353 | ${PN}-core \ |
| 354 | ${PN}-email \ | 354 | ${PN}-email \ |
| 355 | ${PN}-codecs \ | 355 | ${PN}-codecs \ |
| @@ -358,26 +358,26 @@ RDEPENDS_${PN}-misc += "\ | |||
| 358 | ${PN}-audio \ | 358 | ${PN}-audio \ |
| 359 | ${PN}-numbers \ | 359 | ${PN}-numbers \ |
| 360 | " | 360 | " |
| 361 | RDEPENDS_${PN}-modules_append_class-target = " ${MLPREFIX}python3-misc" | 361 | RDEPENDS:${PN}-modules:append:class-target = " ${MLPREFIX}python3-misc" |
| 362 | RDEPENDS_${PN}-modules_append_class-nativesdk = " ${MLPREFIX}python3-misc" | 362 | RDEPENDS:${PN}-modules:append:class-nativesdk = " ${MLPREFIX}python3-misc" |
| 363 | FILES_${PN}-misc = "${libdir}/python${PYTHON_MAJMIN} ${libdir}/python${PYTHON_MAJMIN}/lib-dynload" | 363 | FILES:${PN}-misc = "${libdir}/python${PYTHON_MAJMIN} ${libdir}/python${PYTHON_MAJMIN}/lib-dynload" |
| 364 | 364 | ||
| 365 | # catch manpage | 365 | # catch manpage |
| 366 | PACKAGES += "${PN}-man" | 366 | PACKAGES += "${PN}-man" |
| 367 | FILES_${PN}-man = "${datadir}/man" | 367 | FILES:${PN}-man = "${datadir}/man" |
| 368 | 368 | ||
| 369 | # See https://bugs.python.org/issue18748 and https://bugs.python.org/issue37395 | 369 | # See https://bugs.python.org/issue18748 and https://bugs.python.org/issue37395 |
| 370 | RDEPENDS_libpython3_append_libc-glibc = " libgcc" | 370 | RDEPENDS:libpython3:append:libc-glibc = " libgcc" |
| 371 | RDEPENDS_${PN}-ctypes_append_libc-glibc = " ${MLPREFIX}ldconfig" | 371 | RDEPENDS:${PN}-ctypes:append:libc-glibc = " ${MLPREFIX}ldconfig" |
| 372 | RDEPENDS_${PN}-ptest = "${PN}-modules ${PN}-tests ${PN}-dev unzip bzip2 libgcc tzdata-europe coreutils sed" | 372 | RDEPENDS:${PN}-ptest = "${PN}-modules ${PN}-tests ${PN}-dev unzip bzip2 libgcc tzdata-europe coreutils sed" |
| 373 | RDEPENDS_${PN}-ptest_append_libc-glibc = " locale-base-tr-tr.iso-8859-9" | 373 | RDEPENDS:${PN}-ptest:append:libc-glibc = " locale-base-tr-tr.iso-8859-9" |
| 374 | RDEPENDS_${PN}-tkinter += "${@bb.utils.contains('PACKAGECONFIG', 'tk', 'tk tk-lib', '', d)}" | 374 | RDEPENDS:${PN}-tkinter += "${@bb.utils.contains('PACKAGECONFIG', 'tk', 'tk tk-lib', '', d)}" |
| 375 | RDEPENDS_${PN}-idle += "${@bb.utils.contains('PACKAGECONFIG', 'tk', '${PN}-tkinter tcl', '', d)}" | 375 | RDEPENDS:${PN}-idle += "${@bb.utils.contains('PACKAGECONFIG', 'tk', '${PN}-tkinter tcl', '', d)}" |
| 376 | RDEPENDS_${PN}-dev = "" | 376 | RDEPENDS:${PN}-dev = "" |
| 377 | RDEPENDS_${PN}-pydoc += "${PN}-io" | 377 | RDEPENDS:${PN}-pydoc += "${PN}-io" |
| 378 | 378 | ||
| 379 | RDEPENDS_${PN}-tests_append_class-target = " ${MLPREFIX}bash" | 379 | RDEPENDS:${PN}-tests:append:class-target = " ${MLPREFIX}bash" |
| 380 | RDEPENDS_${PN}-tests_append_class-nativesdk = " ${MLPREFIX}bash" | 380 | RDEPENDS:${PN}-tests:append:class-nativesdk = " ${MLPREFIX}bash" |
| 381 | 381 | ||
| 382 | # Python's tests contain large numbers of files we don't need in the recipe sysroots | 382 | # Python's tests contain large numbers of files we don't need in the recipe sysroots |
| 383 | SYSROOT_PREPROCESS_FUNCS += " py3_sysroot_cleanup" | 383 | SYSROOT_PREPROCESS_FUNCS += " py3_sysroot_cleanup" |
