summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-28 23:28:15 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-02 15:44:10 +0100
commitbb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch)
tree76e376b01253c3aace1a98a5021bcaad3c92e861 /meta/recipes-devtools/python
parentfcc456ee4b8f619134abb4649db53c638074082c (diff)
downloadpoky-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')
-rw-r--r--meta/recipes-devtools/python/python-async.inc2
-rw-r--r--meta/recipes-devtools/python/python-cython.inc6
-rw-r--r--meta/recipes-devtools/python/python-gitdb.inc2
-rw-r--r--meta/recipes-devtools/python/python-nose.inc2
-rw-r--r--meta/recipes-devtools/python/python-pbr.inc2
-rw-r--r--meta/recipes-devtools/python/python-pycryptodome.inc6
-rw-r--r--meta/recipes-devtools/python/python-pyparsing.inc2
-rw-r--r--meta/recipes-devtools/python/python-six.inc2
-rw-r--r--meta/recipes-devtools/python/python-smmap.inc2
-rw-r--r--meta/recipes-devtools/python/python-testtools.inc2
-rw-r--r--meta/recipes-devtools/python/python3-atomicwrites_1.4.0.bb4
-rw-r--r--meta/recipes-devtools/python/python3-attrs_21.2.0.bb4
-rw-r--r--meta/recipes-devtools/python/python3-cython_0.29.23.bb4
-rw-r--r--meta/recipes-devtools/python/python3-dbus_1.2.16.bb4
-rw-r--r--meta/recipes-devtools/python/python3-dbusmock_0.23.1.bb2
-rw-r--r--meta/recipes-devtools/python/python3-git_3.1.18.bb2
-rw-r--r--meta/recipes-devtools/python/python3-hypothesis_6.14.3.bb2
-rw-r--r--meta/recipes-devtools/python/python3-importlib-metadata_4.6.1.bb6
-rw-r--r--meta/recipes-devtools/python/python3-iniparse_0.5.bb2
-rw-r--r--meta/recipes-devtools/python/python3-jinja2_3.0.1.bb4
-rw-r--r--meta/recipes-devtools/python/python3-libarchive-c_3.1.bb2
-rw-r--r--meta/recipes-devtools/python/python3-magic_0.4.24.bb2
-rw-r--r--meta/recipes-devtools/python/python3-mako_1.1.4.bb2
-rw-r--r--meta/recipes-devtools/python/python3-markdown_3.3.4.bb2
-rw-r--r--meta/recipes-devtools/python/python3-markupsafe_2.0.1.bb4
-rw-r--r--meta/recipes-devtools/python/python3-more-itertools_8.8.0.bb4
-rw-r--r--meta/recipes-devtools/python/python3-packaging_21.0.bb2
-rw-r--r--meta/recipes-devtools/python/python3-pathlib2_2.3.6.bb2
-rw-r--r--meta/recipes-devtools/python/python3-pip_21.1.3.bb4
-rw-r--r--meta/recipes-devtools/python/python3-pluggy_0.13.1.bb4
-rw-r--r--meta/recipes-devtools/python/python3-py_1.10.0.bb2
-rw-r--r--meta/recipes-devtools/python/python3-pycairo_1.20.1.bb2
-rw-r--r--meta/recipes-devtools/python/python3-pycryptodomex_3.10.1.bb2
-rw-r--r--meta/recipes-devtools/python/python3-pygobject_3.40.1.bb4
-rw-r--r--meta/recipes-devtools/python/python3-pytest_6.2.4.bb6
-rw-r--r--meta/recipes-devtools/python/python3-pyyaml_5.4.1.bb2
-rw-r--r--meta/recipes-devtools/python/python3-scons-native_4.1.0.bb2
-rw-r--r--meta/recipes-devtools/python/python3-scons_4.1.0.bb4
-rw-r--r--meta/recipes-devtools/python/python3-setuptools-scm_6.0.1.bb4
-rw-r--r--meta/recipes-devtools/python/python3-setuptools_57.1.0.bb10
-rw-r--r--meta/recipes-devtools/python/python3-subunit_1.4.0.bb2
-rw-r--r--meta/recipes-devtools/python/python3-toml_0.10.2.bb2
-rw-r--r--meta/recipes-devtools/python/python3-typogrify_2.0.7.bb2
-rw-r--r--meta/recipes-devtools/python/python3-wcwidth_0.2.5.bb2
-rw-r--r--meta/recipes-devtools/python/python3-zipp_3.5.0.bb2
-rw-r--r--meta/recipes-devtools/python/python3_3.9.6.bb108
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
9SRC_URI[md5sum] = "9b06b5997de2154f3bc0273f80bcef6b" 9SRC_URI[md5sum] = "9b06b5997de2154f3bc0273f80bcef6b"
10SRC_URI[sha256sum] = "ac6894d876e45878faae493b0cf61d0e28ec417334448ac0a6ea2229d8343051" 10SRC_URI[sha256sum] = "ac6894d876e45878faae493b0cf61d0e28ec417334448ac0a6ea2229d8343051"
11 11
12RDEPENDS_${PN} += "${PYTHON_PN}-threading" 12RDEPENDS:${PN} += "${PYTHON_PN}-threading"
13 13
14BBCLASSEXTEND = "native nativesdk" 14BBCLASSEXTEND = "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
15inherit pypi 15inherit pypi
16 16
17RDEPENDS_${PN}_class-target += "\ 17RDEPENDS:${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
27RDEPENDS_${PN}_class-nativesdk += "\ 27RDEPENDS:${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
37do_install_append() { 37do_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
13DEPENDS = "${PYTHON_PN}-async ${PYTHON_PN}-setuptools-native ${PYTHON_PN}-smmap" 13DEPENDS = "${PYTHON_PN}-async ${PYTHON_PN}-setuptools-native ${PYTHON_PN}-smmap"
14 14
15RDEPENDS_${PN} += "${PYTHON_PN}-async \ 15RDEPENDS:${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
12inherit pypi 12inherit pypi
13 13
14RDEPENDS_${PN} = "\ 14RDEPENDS:${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
10inherit pypi 10inherit pypi
11 11
12RDEPENDS_${PN} += "${PYTHON_PN}-pip" 12RDEPENDS:${PN} += "${PYTHON_PN}-pip"
13 13
14BBCLASSEXTEND = "native nativesdk" 14BBCLASSEXTEND = "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
8inherit pypi 8inherit pypi
9 9
10RDEPENDS_${PN} += " \ 10RDEPENDS:${PN} += " \
11 ${PYTHON_PN}-io \ 11 ${PYTHON_PN}-io \
12 ${PYTHON_PN}-math \ 12 ${PYTHON_PN}-math \
13" 13"
14 14
15RDEPENDS_${PN}-tests += " \ 15RDEPENDS:${PN}-tests += " \
16 ${PYTHON_PN}-unittest \ 16 ${PYTHON_PN}-unittest \
17" 17"
18 18
19PACKAGES =+ "${PN}-tests" 19PACKAGES =+ "${PN}-tests"
20 20
21FILES_${PN}-tests = " \ 21FILES:${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
10inherit pypi 10inherit pypi
11 11
12RDEPENDS_${PN} += " \ 12RDEPENDS:${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
7inherit pypi 7inherit pypi
8 8
9RDEPENDS_${PN} = "${PYTHON_PN}-io" 9RDEPENDS:${PN} = "${PYTHON_PN}-io"
10 10
11BBCLASSEXTEND = "native nativesdk" 11BBCLASSEXTEND = "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
14SRC_URI[sha256sum] = "7e65386bd122d45405ddf795637b7f7d2b532e7e401d46bbe3fb49b9986d5182" 14SRC_URI[sha256sum] = "7e65386bd122d45405ddf795637b7f7d2b532e7e401d46bbe3fb49b9986d5182"
15 15
16RDEPENDS_${PN} += "${PYTHON_PN}-codecs \ 16RDEPENDS:${PN} += "${PYTHON_PN}-codecs \
17 ${PYTHON_PN}-mmap \ 17 ${PYTHON_PN}-mmap \
18" 18"
19BBCLASSEXTEND = "native nativesdk" 19BBCLASSEXTEND = "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
20RDEPENDS_${PN} += "\ 20RDEPENDS:${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
15RDEPENDS_${PN}-ptest += " \ 15RDEPENDS:${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
25RDEPENDS_${PN} = "${PYTHON_PN}-misc" 25RDEPENDS:${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
8inherit pypi setuptools3 8inherit pypi setuptools3
9 9
10RDEPENDS_${PN}_class-target += " \ 10RDEPENDS:${PN}:class-target += " \
11 ${PYTHON_PN}-crypt \ 11 ${PYTHON_PN}-crypt \
12 ${PYTHON_PN}-ctypes \ 12 ${PYTHON_PN}-ctypes \
13" 13"
14RDEPENDS_${PN}_class-nativesdk += " \ 14RDEPENDS:${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 @@
1inherit setuptools3 1inherit setuptools3
2require python-cython.inc 2require python-cython.inc
3 3
4RDEPENDS_${PN} += "\ 4RDEPENDS:${PN} += "\
5 python3-setuptools \ 5 python3-setuptools \
6" 6"
7 7
@@ -10,7 +10,7 @@ RDEPENDS_${PN} += "\
10# architecture. 10# architecture.
11DISTUTILS_INSTALL_ARGS += "--skip-build" 11DISTUTILS_INSTALL_ARGS += "--skip-build"
12 12
13do_install_append() { 13do_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
19EXTRA_OECONF += "--disable-documentation" 19EXTRA_OECONF += "--disable-documentation"
20 20
21 21
22RDEPENDS_${PN} = "python3-io python3-logging python3-stringold python3-threading python3-xml" 22RDEPENDS:${PN} = "python3-io python3-logging python3-stringold python3-threading python3-xml"
23 23
24FILES_${PN}-dev += "${libdir}/pkgconfig" 24FILES:${PN}-dev += "${libdir}/pkgconfig"
25 25
26BBCLASSEXTEND = "native nativesdk" 26BBCLASSEXTEND = "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
11inherit pypi setuptools3 11inherit pypi setuptools3
12 12
13RDEPENDS_${PN} += "\ 13RDEPENDS:${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
17DEPENDS += " ${PYTHON_PN}-gitdb" 17DEPENDS += " ${PYTHON_PN}-gitdb"
18 18
19RDEPENDS_${PN} += " \ 19RDEPENDS:${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
10SRC_URI[sha256sum] = "1c8776d9fc8c598cf1b93b99bd87976f9d9b589fc58843d85a30090700f14a8a" 10SRC_URI[sha256sum] = "1c8776d9fc8c598cf1b93b99bd87976f9d9b589fc58843d85a30090700f14a8a"
11 11
12RDEPENDS_${PN} += " \ 12RDEPENDS:${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
13S = "${WORKDIR}/importlib_metadata-${PV}" 13S = "${WORKDIR}/importlib_metadata-${PV}"
14 14
15DEPENDS += "${PYTHON_PN}-setuptools-scm-native ${PYTHON_PN}-toml-native" 15DEPENDS += "${PYTHON_PN}-setuptools-scm-native ${PYTHON_PN}-toml-native"
16RDEPENDS_${PN} += "${PYTHON_PN}-zipp ${PYTHON_PN}-pathlib2" 16RDEPENDS:${PN} += "${PYTHON_PN}-zipp ${PYTHON_PN}-pathlib2"
17RDEPENDS_${PN}_append_class-target = " python3-misc" 17RDEPENDS:${PN}:append:class-target = " python3-misc"
18RDEPENDS_${PN}_append_class-nativesdk = " python3-misc" 18RDEPENDS:${PN}:append:class-nativesdk = " python3-misc"
19 19
20BBCLASSEXTEND = "native nativesdk" 20BBCLASSEXTEND = "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
9inherit pypi setuptools3 9inherit pypi setuptools3
10 10
11RDEPENDS_${PN} += "python3-core python3-six" 11RDEPENDS:${PN} += "python3-core python3-six"
12DEPENDS += "python3-six" 12DEPENDS += "python3-six"
13 13
14BBCLASSEXTEND = "native nativesdk" 14BBCLASSEXTEND = "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
27RDEPENDS_${PN}-ptest += " \ 27RDEPENDS:${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
33RDEPENDS_${PN} += " \ 33RDEPENDS:${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
12SRC_URI[md5sum] = "8c62da42a8b9bd24642e5430427e6f5a" 12SRC_URI[md5sum] = "8c62da42a8b9bd24642e5430427e6f5a"
13SRC_URI[sha256sum] = "618a7ecfbfb58ca15e11e3138d4a636498da3b6bc212811af158298530fbb87e" 13SRC_URI[sha256sum] = "618a7ecfbfb58ca15e11e3138d4a636498da3b6bc212811af158298530fbb87e"
14 14
15RDEPENDS_${PN} += "\ 15RDEPENDS:${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
14SRC_URI[sha256sum] = "de800df9fb50f8ec5974761054a708af6e4246b03b4bdaee993f948947b0ebcf" 14SRC_URI[sha256sum] = "de800df9fb50f8ec5974761054a708af6e4246b03b4bdaee993f948947b0ebcf"
15 15
16RDEPENDS_${PN} += "file \ 16RDEPENDS:${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
11SRC_URI[sha256sum] = "17831f0b7087c313c0ffae2bcbbd3c1d5ba9eeac9c38f2eb7b50e8c99fe9d5ab" 11SRC_URI[sha256sum] = "17831f0b7087c313c0ffae2bcbbd3c1d5ba9eeac9c38f2eb7b50e8c99fe9d5ab"
12 12
13RDEPENDS_${PN} = "${PYTHON_PN}-html \ 13RDEPENDS:${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
11BBCLASSEXTEND = "native" 11BBCLASSEXTEND = "native"
12 12
13RDEPENDS_${PN} += "${PYTHON_PN}-logging ${PYTHON_PN}-setuptools" 13RDEPENDS:${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"
9inherit pypi setuptools3 9inherit pypi setuptools3
10inherit ${@bb.utils.filter('DISTRO_FEATURES', 'ptest', d)} 10inherit ${@bb.utils.filter('DISTRO_FEATURES', 'ptest', d)}
11 11
12RDEPENDS_${PN} += "${PYTHON_PN}-stringold" 12RDEPENDS:${PN} += "${PYTHON_PN}-stringold"
13 13
14BBCLASSEXTEND = "native nativesdk" 14BBCLASSEXTEND = "native nativesdk"
15 15
@@ -17,7 +17,7 @@ SRC_URI += " \
17 file://run-ptest \ 17 file://run-ptest \
18" 18"
19 19
20RDEPENDS_${PN}-ptest += " \ 20RDEPENDS:${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
14RDEPENDS_${PN} += " \ 14RDEPENDS:${PN} += " \
15 ${PYTHON_PN}-asyncio \ 15 ${PYTHON_PN}-asyncio \
16 " 16 "
17 17
18RDEPENDS_${PN}-ptest += " \ 18RDEPENDS:${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
10BBCLASSEXTEND = "native" 10BBCLASSEXTEND = "native"
11 11
12DEPENDS += "${PYTHON_PN}-setuptools-scm-native" 12DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
13RDEPENDS_${PN} += "${PYTHON_PN}-six ${PYTHON_PN}-pyparsing" 13RDEPENDS:${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
8inherit pypi setuptools3 8inherit pypi setuptools3
9 9
10RDEPENDS_${PN} += "${PYTHON_PN}-six ${PYTHON_PN}-ctypes" 10RDEPENDS:${PN} += "${PYTHON_PN}-six ${PYTHON_PN}-ctypes"
11 11
12BBCLASSEXTEND = "native nativesdk" 12BBCLASSEXTEND = "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
13SRC_URI[sha256sum] = "b5b1eb91b36894bd01b8e5a56a422c2f3838573da0b0a1c63a096bb454e3b23f" 13SRC_URI[sha256sum] = "b5b1eb91b36894bd01b8e5a56a422c2f3838573da0b0a1c63a096bb454e3b23f"
14 14
15do_install_append() { 15do_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
20RDEPENDS_${PN} = "\ 20RDEPENDS:${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"
7SRC_URI[sha256sum] = "15b2acde666561e1298d71b523007ed7364de07029219b604cf808bfa1c765b0" 7SRC_URI[sha256sum] = "15b2acde666561e1298d71b523007ed7364de07029219b604cf808bfa1c765b0"
8 8
9DEPENDS += "${PYTHON_PN}-setuptools-scm-native" 9DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
10RDEPENDS_${PN} += "${PYTHON_PN}-importlib-metadata \ 10RDEPENDS:${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
20RDEPENDS_${PN}-ptest += " \ 20RDEPENDS:${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
12BBCLASSEXTEND = "native nativesdk" 12BBCLASSEXTEND = "native nativesdk"
13 13
14RDEPENDS_${PN} += "${PYTHON_PN}-netclient" 14RDEPENDS:${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
25BBCLASSEXTEND = "native" 25BBCLASSEXTEND = "native"
26 26
27FILES_${PN} = "${PYTHON_SITEPACKAGES_DIR}/*" 27FILES:${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
4SRC_URI[sha256sum] = "541cd3e3e252fb19a7b48f420b798b53483302b7fe4d9954c947605d0a263d62" 4SRC_URI[sha256sum] = "541cd3e3e252fb19a7b48f420b798b53483302b7fe4d9954c947605d0a263d62"
5 5
6FILES_${PN}-tests = " \ 6FILES:${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
25PACKAGECONFIG ??= "${@bb.utils.contains_any('DISTRO_FEATURES', [ 'directfb', 'wayland', 'x11' ], 'cairo', '', d)}" 25PACKAGECONFIG ??= "${@bb.utils.contains_any('DISTRO_FEATURES', [ 'directfb', 'wayland', 'x11' ], 'cairo', '', d)}"
26 26
27RDEPENDS_${PN} += "python3-pkgutil" 27RDEPENDS:${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
31PACKAGECONFIG[cairo] = "-Dpycairo=enabled,-Dpycairo=disabled, cairo python3-pycairo, python3-pycairo" 31PACKAGECONFIG[cairo] = "-Dpycairo=enabled,-Dpycairo=disabled, cairo python3-pycairo, python3-pycairo"
32 32
33BBCLASSEXTEND = "native" 33BBCLASSEXTEND = "native"
34PACKAGECONFIG_class-native = "" 34PACKAGECONFIG: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
5LICENSE = "MIT" 5LICENSE = "MIT"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=81eb9f71d006c6b268cf4388e3c98f7b" 6LIC_FILES_CHKSUM = "file://LICENSE;md5=81eb9f71d006c6b268cf4388e3c98f7b"
7 7
8SRC_URI_append = " file://0001-setup.py-remove-the-setup_requires-for-setuptools-scm.patch " 8SRC_URI:append = " file://0001-setup.py-remove-the-setup_requires-for-setuptools-scm.patch "
9 9
10SRC_URI[sha256sum] = "50bcad0a0b9c5a72c8e4e7c9855a3ad496ca6a881a3641b4260605450772c54b" 10SRC_URI[sha256sum] = "50bcad0a0b9c5a72c8e4e7c9855a3ad496ca6a881a3641b4260605450772c54b"
11 11
12inherit update-alternatives pypi setuptools3 12inherit update-alternatives pypi setuptools3
13 13
14RDEPENDS_${PN}_class-target += " \ 14RDEPENDS:${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
33ALTERNATIVE_${PN} += "py.test pytest" 33ALTERNATIVE:${PN} += "py.test pytest"
34 34
35NATIVE_LINK_NAME[pytest] = "${bindir}/pytest" 35NATIVE_LINK_NAME[pytest] = "${bindir}/pytest"
36ALTERNATIVE_TARGET[pytest] = "${bindir}/pytest" 36ALTERNATIVE_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
12SRC_URI[sha256sum] = "607774cbba28732bfa802b54baa7484215f530991055bb562efbed5b2f20a45e" 12SRC_URI[sha256sum] = "607774cbba28732bfa802b54baa7484215f530991055bb562efbed5b2f20a45e"
13 13
14RDEPENDS_${PN} += "\ 14RDEPENDS:${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
2inherit native python3native 2inherit native python3native
3DEPENDS = "python3-native python3-setuptools-native" 3DEPENDS = "python3-native python3-setuptools-native"
4 4
5do_install_append() { 5do_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
12inherit pypi setuptools3 12inherit pypi setuptools3
13 13
14RDEPENDS_${PN}_class-target = "\ 14RDEPENDS:${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
27FILES_${PN}-doc += "${datadir}/scons*.1" 27FILES:${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
12UPSTREAM_CHECK_REGEX = "setuptools_scm-(?P<pver>.*)\.tar" 12UPSTREAM_CHECK_REGEX = "setuptools_scm-(?P<pver>.*)\.tar"
13 13
14RDEPENDS_${PN} = "\ 14RDEPENDS:${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"
21RDEPENDS_${PN}_class-native = "\ 21RDEPENDS:${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
7inherit pypi setuptools3 7inherit pypi setuptools3
8 8
9SRC_URI_append_class-native = " file://0001-conditionally-do-not-fetch-code-by-easy_install.patch" 9SRC_URI:append:class-native = " file://0001-conditionally-do-not-fetch-code-by-easy_install.patch"
10 10
11SRC_URI += "file://0001-change-shebang-to-python3.patch" 11SRC_URI += "file://0001-change-shebang-to-python3.patch"
12 12
@@ -14,7 +14,7 @@ SRC_URI[sha256sum] = "cfca9c97e7eebbc8abe18d5e5e962a08dcad55bb63afddd82d681de4d2
14 14
15DEPENDS += "${PYTHON_PN}" 15DEPENDS += "${PYTHON_PN}"
16 16
17RDEPENDS_${PN} = "\ 17RDEPENDS:${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
39do_install_prepend() { 39do_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.
48PACKAGES =+ "${PYTHON_PN}-pkg-resources " 48PACKAGES =+ "${PYTHON_PN}-pkg-resources "
49FILES_${PYTHON_PN}-pkg-resources = "${PYTHON_SITEPACKAGES_DIR}/pkg_resources/*" 49FILES:${PYTHON_PN}-pkg-resources = "${PYTHON_SITEPACKAGES_DIR}/pkg_resources/*"
50RDEPENDS_${PYTHON_PN}-pkg-resources = "\ 50RDEPENDS:${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 @@
1inherit setuptools3 1inherit setuptools3
2require python-subunit.inc 2require python-subunit.inc
3 3
4RDEPENDS_${PN} = " python3-testtools" 4RDEPENDS:${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
11BBCLASSEXTEND = "native nativesdk" 11BBCLASSEXTEND = "native nativesdk"
12 12
13RDEPENDS_${PN} += " \ 13RDEPENDS:${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
11BBCLASSEXTEND = "native" 11BBCLASSEXTEND = "native"
12 12
13RDEPENDS_${PN} += "${PYTHON_PN}-smartypants" 13RDEPENDS:${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
16RDEPENDS_${PN}-ptest += " \ 16RDEPENDS:${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
12DEPENDS += "${PYTHON_PN}-toml-native" 12DEPENDS += "${PYTHON_PN}-toml-native"
13 13
14RDEPENDS_${PN} += "${PYTHON_PN}-compression \ 14RDEPENDS:${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
37SRC_URI_append_class-native = " \ 37SRC_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
66MULTILIB_SUFFIX = "${@d.getVar('base_libdir',1).split('/')[-1]}" 66MULTILIB_SUFFIX = "${@d.getVar('base_libdir',1).split('/')[-1]}"
67 67
68ALTERNATIVE_${PN}-dev = "python3-config" 68ALTERNATIVE:${PN}-dev = "python3-config"
69ALTERNATIVE_LINK_NAME[python3-config] = "${bindir}/python${PYTHON_MAJMIN}-config" 69ALTERNATIVE_LINK_NAME[python3-config] = "${bindir}/python${PYTHON_MAJMIN}-config"
70ALTERNATIVE_TARGET[python3-config] = "${bindir}/python${PYTHON_MAJMIN}-config-${MULTILIB_SUFFIX}" 70ALTERNATIVE_TARGET[python3-config] = "${bindir}/python${PYTHON_MAJMIN}-config-${MULTILIB_SUFFIX}"
71 71
72 72
73DEPENDS = "bzip2-replacement-native libffi bzip2 openssl sqlite3 zlib virtual/libintl xz virtual/crypt util-linux libtirpc libnsl2 autoconf-archive-native" 73DEPENDS = "bzip2-replacement-native libffi bzip2 openssl sqlite3 zlib virtual/libintl xz virtual/crypt util-linux libtirpc libnsl2 autoconf-archive-native"
74DEPENDS_append_class-target = " python3-native" 74DEPENDS:append:class-target = " python3-native"
75DEPENDS_append_class-nativesdk = " python3-native" 75DEPENDS:append:class-nativesdk = " python3-native"
76 76
77EXTRA_OECONF = " --without-ensurepip --enable-shared --with-platlibdir=${baselib}" 77EXTRA_OECONF = " --without-ensurepip --enable-shared --with-platlibdir=${baselib}"
78EXTRA_OECONF_append_class-native = " --bindir=${bindir}/${PN}" 78EXTRA_OECONF:append:class-native = " --bindir=${bindir}/${PN}"
79 79
80export CROSSPYTHONPATH="${STAGING_LIBDIR_NATIVE}/python${PYTHON_MAJMIN}/lib-dynload/" 80export CROSSPYTHONPATH="${STAGING_LIBDIR_NATIVE}/python${PYTHON_MAJMIN}/lib-dynload/"
81 81
82EXTRANATIVEPATH += "python3-native" 82EXTRANATIVEPATH += "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
85LTO_class-target = "" 85LTO:class-target = ""
86 86
87CACHED_CONFIGUREVARS = " \ 87CACHED_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
101PACKAGECONFIG_class-target ??= "readline ${@possibly_include_pgo(d)} gdbm ${@bb.utils.filter('DISTRO_FEATURES', 'lto', d)}" 101PACKAGECONFIG:class-target ??= "readline ${@possibly_include_pgo(d)} gdbm ${@bb.utils.filter('DISTRO_FEATURES', 'lto', d)}"
102PACKAGECONFIG_class-native ??= "readline gdbm" 102PACKAGECONFIG:class-native ??= "readline gdbm"
103PACKAGECONFIG_class-nativesdk ??= "readline gdbm" 103PACKAGECONFIG:class-nativesdk ??= "readline gdbm"
104PACKAGECONFIG[readline] = ",,readline" 104PACKAGECONFIG[readline] = ",,readline"
105# Use profile guided optimisation by running PyBench inside qemu-user 105# Use profile guided optimisation by running PyBench inside qemu-user
106PACKAGECONFIG[pgo] = "--enable-optimizations,,qemu-native" 106PACKAGECONFIG[pgo] = "--enable-optimizations,,qemu-native"
@@ -108,7 +108,7 @@ PACKAGECONFIG[tk] = ",,tk"
108PACKAGECONFIG[gdbm] = ",,gdbm" 108PACKAGECONFIG[gdbm] = ",,gdbm"
109PACKAGECONFIG[lto] = "--with-lto,," 109PACKAGECONFIG[lto] = "--with-lto,,"
110 110
111do_configure_prepend () { 111do_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)}
117EOF 117EOF
118} 118}
119 119
120CPPFLAGS_append = " -I${STAGING_INCDIR}/ncursesw -I${STAGING_INCDIR}/uuid" 120CPPFLAGS:append = " -I${STAGING_INCDIR}/ncursesw -I${STAGING_INCDIR}/uuid"
121 121
122EXTRA_OEMAKE = '\ 122EXTRA_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
128do_compile_prepend_class-target() { 128do_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
140do_install_prepend() { 140do_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
144do_install_append_class-target() { 144do_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
148do_install_append_class-native() { 148do_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
160do_install_append() { 160do_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
182do_install_append_class-nativesdk () { 182do_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() {
326addtask do_create_manifest after do_patch do_prepare_recipe_sysroot 326addtask do_create_manifest after do_patch do_prepare_recipe_sysroot
327 327
328# manual dependency additions 328# manual dependency additions
329RRECOMMENDS_${PN}-core_append_class-nativesdk = " nativesdk-python3-modules" 329RRECOMMENDS:${PN}-core:append:class-nativesdk = " nativesdk-python3-modules"
330RRECOMMENDS_${PN}-crypt_append_class-target = " ${MLPREFIX}openssl ${MLPREFIX}ca-certificates" 330RRECOMMENDS:${PN}-crypt:append:class-target = " ${MLPREFIX}openssl ${MLPREFIX}ca-certificates"
331RRECOMMENDS_${PN}-crypt_append_class-nativesdk = " ${MLPREFIX}openssl ${MLPREFIX}ca-certificates" 331RRECOMMENDS:${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
334FILES_${PN} = "" 334FILES:${PN} = ""
335RPROVIDES_${PN}-modules = "${PN}" 335RPROVIDES:${PN}-modules = "${PN}"
336 336
337FILES_${PN}-pydoc += "${bindir}/pydoc${PYTHON_MAJMIN} ${bindir}/pydoc3" 337FILES:${PN}-pydoc += "${bindir}/pydoc${PYTHON_MAJMIN} ${bindir}/pydoc3"
338FILES_${PN}-idle += "${bindir}/idle3 ${bindir}/idle${PYTHON_MAJMIN}" 338FILES:${PN}-idle += "${bindir}/idle3 ${bindir}/idle${PYTHON_MAJMIN}"
339 339
340# provide python-pyvenv from python3-venv 340# provide python-pyvenv from python3-venv
341RPROVIDES_${PN}-venv += "${MLPREFIX}python3-pyvenv" 341RPROVIDES:${PN}-venv += "${MLPREFIX}python3-pyvenv"
342 342
343# package libpython3 343# package libpython3
344PACKAGES =+ "libpython3 libpython3-staticdev" 344PACKAGES =+ "libpython3 libpython3-staticdev"
345FILES_libpython3 = "${libdir}/libpython*.so.*" 345FILES:libpython3 = "${libdir}/libpython*.so.*"
346FILES_libpython3-staticdev += "${libdir}/python${PYTHON_MAJMIN}/config-${PYTHON_MAJMIN}-*/libpython${PYTHON_MAJMIN}.a" 346FILES:libpython3-staticdev += "${libdir}/python${PYTHON_MAJMIN}/config-${PYTHON_MAJMIN}-*/libpython${PYTHON_MAJMIN}.a"
347INSANE_SKIP_${PN}-dev += "dev-elf" 347INSANE_SKIP:${PN}-dev += "dev-elf"
348INSANE_SKIP_${PN}-ptest = "dev-deps" 348INSANE_SKIP:${PN}-ptest = "dev-deps"
349 349
350# catch all the rest (unsorted) 350# catch all the rest (unsorted)
351PACKAGES += "${PN}-misc" 351PACKAGES += "${PN}-misc"
352RDEPENDS_${PN}-misc += "\ 352RDEPENDS:${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"
361RDEPENDS_${PN}-modules_append_class-target = " ${MLPREFIX}python3-misc" 361RDEPENDS:${PN}-modules:append:class-target = " ${MLPREFIX}python3-misc"
362RDEPENDS_${PN}-modules_append_class-nativesdk = " ${MLPREFIX}python3-misc" 362RDEPENDS:${PN}-modules:append:class-nativesdk = " ${MLPREFIX}python3-misc"
363FILES_${PN}-misc = "${libdir}/python${PYTHON_MAJMIN} ${libdir}/python${PYTHON_MAJMIN}/lib-dynload" 363FILES:${PN}-misc = "${libdir}/python${PYTHON_MAJMIN} ${libdir}/python${PYTHON_MAJMIN}/lib-dynload"
364 364
365# catch manpage 365# catch manpage
366PACKAGES += "${PN}-man" 366PACKAGES += "${PN}-man"
367FILES_${PN}-man = "${datadir}/man" 367FILES:${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
370RDEPENDS_libpython3_append_libc-glibc = " libgcc" 370RDEPENDS:libpython3:append:libc-glibc = " libgcc"
371RDEPENDS_${PN}-ctypes_append_libc-glibc = " ${MLPREFIX}ldconfig" 371RDEPENDS:${PN}-ctypes:append:libc-glibc = " ${MLPREFIX}ldconfig"
372RDEPENDS_${PN}-ptest = "${PN}-modules ${PN}-tests ${PN}-dev unzip bzip2 libgcc tzdata-europe coreutils sed" 372RDEPENDS:${PN}-ptest = "${PN}-modules ${PN}-tests ${PN}-dev unzip bzip2 libgcc tzdata-europe coreutils sed"
373RDEPENDS_${PN}-ptest_append_libc-glibc = " locale-base-tr-tr.iso-8859-9" 373RDEPENDS:${PN}-ptest:append:libc-glibc = " locale-base-tr-tr.iso-8859-9"
374RDEPENDS_${PN}-tkinter += "${@bb.utils.contains('PACKAGECONFIG', 'tk', 'tk tk-lib', '', d)}" 374RDEPENDS:${PN}-tkinter += "${@bb.utils.contains('PACKAGECONFIG', 'tk', 'tk tk-lib', '', d)}"
375RDEPENDS_${PN}-idle += "${@bb.utils.contains('PACKAGECONFIG', 'tk', '${PN}-tkinter tcl', '', d)}" 375RDEPENDS:${PN}-idle += "${@bb.utils.contains('PACKAGECONFIG', 'tk', '${PN}-tkinter tcl', '', d)}"
376RDEPENDS_${PN}-dev = "" 376RDEPENDS:${PN}-dev = ""
377RDEPENDS_${PN}-pydoc += "${PN}-io" 377RDEPENDS:${PN}-pydoc += "${PN}-io"
378 378
379RDEPENDS_${PN}-tests_append_class-target = " ${MLPREFIX}bash" 379RDEPENDS:${PN}-tests:append:class-target = " ${MLPREFIX}bash"
380RDEPENDS_${PN}-tests_append_class-nativesdk = " ${MLPREFIX}bash" 380RDEPENDS:${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
383SYSROOT_PREPROCESS_FUNCS += " py3_sysroot_cleanup" 383SYSROOT_PREPROCESS_FUNCS += " py3_sysroot_cleanup"