python: Drop ${PYTHON_PN}

python 2 is gone and we don't need the abstraction now, drop the remaining usage
of this variable.

The definition in python3-dir.bbclass is left for now for other layers.

(From OE-Core rev: b566b1e32c7993d1ab7795562f648e52ce186a70)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2024-02-19 16:07:55 +00:00
parent 4cfd0f7e4e
commit 0b33104a97
73 changed files with 386 additions and 386 deletions

View File

@ -11,6 +11,6 @@ PYPI_PACKAGE = "async"
SRC_URI[md5sum] = "9b06b5997de2154f3bc0273f80bcef6b" SRC_URI[md5sum] = "9b06b5997de2154f3bc0273f80bcef6b"
SRC_URI[sha256sum] = "ac6894d876e45878faae493b0cf61d0e28ec417334448ac0a6ea2229d8343051" SRC_URI[sha256sum] = "ac6894d876e45878faae493b0cf61d0e28ec417334448ac0a6ea2229d8343051"
RDEPENDS:${PN} += "${PYTHON_PN}-threading" RDEPENDS:${PN} += "python3-threading"
BBCLASSEXTEND = "nativesdk" BBCLASSEXTEND = "nativesdk"

View File

@ -4,9 +4,9 @@
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #
DEPENDS:append:class-target = " ${PYTHON_PN}-native ${PYTHON_PN}" DEPENDS:append:class-target = " python3-native python3"
DEPENDS:append:class-nativesdk = " ${PYTHON_PN}-native ${PYTHON_PN}" DEPENDS:append:class-nativesdk = " python3-native python3"
RDEPENDS:${PN}:append:class-target = " ${PYTHON_PN}-core" RDEPENDS:${PN}:append:class-target = " python3-core"
export STAGING_INCDIR export STAGING_INCDIR
export STAGING_LIBDIR export STAGING_LIBDIR

View File

@ -21,9 +21,9 @@ setuptools3_do_compile() {
NO_FETCH_BUILD=1 \ NO_FETCH_BUILD=1 \
STAGING_INCDIR=${STAGING_INCDIR} \ STAGING_INCDIR=${STAGING_INCDIR} \
STAGING_LIBDIR=${STAGING_LIBDIR} \ STAGING_LIBDIR=${STAGING_LIBDIR} \
${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py \ ${STAGING_BINDIR_NATIVE}/python3-native/python3 setup.py \
bdist_wheel --verbose --dist-dir ${PEP517_WHEEL_PATH} ${SETUPTOOLS_BUILD_ARGS} || \ bdist_wheel --verbose --dist-dir ${PEP517_WHEEL_PATH} ${SETUPTOOLS_BUILD_ARGS} || \
bbfatal_log "'${PYTHON_PN} setup.py bdist_wheel ${SETUPTOOLS_BUILD_ARGS}' execution failed." bbfatal_log "'python3 setup.py bdist_wheel ${SETUPTOOLS_BUILD_ARGS}' execution failed."
} }
setuptools3_do_compile[vardepsexclude] = "MACHINE" setuptools3_do_compile[vardepsexclude] = "MACHINE"
do_compile[cleandirs] += "${PEP517_WHEEL_PATH}" do_compile[cleandirs] += "${PEP517_WHEEL_PATH}"

View File

@ -38,9 +38,9 @@ setuptools3_legacy_do_compile() {
NO_FETCH_BUILD=1 \ NO_FETCH_BUILD=1 \
STAGING_INCDIR=${STAGING_INCDIR} \ STAGING_INCDIR=${STAGING_INCDIR} \
STAGING_LIBDIR=${STAGING_LIBDIR} \ STAGING_LIBDIR=${STAGING_LIBDIR} \
${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py \ ${STAGING_BINDIR_NATIVE}/python3-native/python3 setup.py \
build --build-base=${B} ${SETUPTOOLS_BUILD_ARGS} || \ build --build-base=${B} ${SETUPTOOLS_BUILD_ARGS} || \
bbfatal_log "'${PYTHON_PN} setup.py build ${SETUPTOOLS_BUILD_ARGS}' execution failed." bbfatal_log "'python3 setup.py build ${SETUPTOOLS_BUILD_ARGS}' execution failed."
} }
setuptools3_legacy_do_compile[vardepsexclude] = "MACHINE" setuptools3_legacy_do_compile[vardepsexclude] = "MACHINE"
@ -50,9 +50,9 @@ setuptools3_legacy_do_install() {
STAGING_INCDIR=${STAGING_INCDIR} \ STAGING_INCDIR=${STAGING_INCDIR} \
STAGING_LIBDIR=${STAGING_LIBDIR} \ STAGING_LIBDIR=${STAGING_LIBDIR} \
PYTHONPATH=${D}${PYTHON_SITEPACKAGES_DIR}:$PYTHONPATH \ PYTHONPATH=${D}${PYTHON_SITEPACKAGES_DIR}:$PYTHONPATH \
${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py \ ${STAGING_BINDIR_NATIVE}/python3-native/python3 setup.py \
build --build-base=${B} install --skip-build ${SETUPTOOLS_INSTALL_ARGS} || \ build --build-base=${B} install --skip-build ${SETUPTOOLS_INSTALL_ARGS} || \
bbfatal_log "'${PYTHON_PN} setup.py install ${SETUPTOOLS_INSTALL_ARGS}' execution failed." bbfatal_log "'python3 setup.py install ${SETUPTOOLS_INSTALL_ARGS}' execution failed."
# support filenames with *spaces* # support filenames with *spaces*
find ${D} -name "*.py" -exec grep -q ${D} {} \; \ find ${D} -name "*.py" -exec grep -q ${D} {} \; \

View File

@ -50,7 +50,7 @@ class RecipeUtilsTests(OESelftestTestCase):
+SRC_URI[md5sum] = "aaaaaa" +SRC_URI[md5sum] = "aaaaaa"
SRC_URI[sha256sum] = "ac6894d876e45878faae493b0cf61d0e28ec417334448ac0a6ea2229d8343051" SRC_URI[sha256sum] = "ac6894d876e45878faae493b0cf61d0e28ec417334448ac0a6ea2229d8343051"
RDEPENDS:${PN} += "${PYTHON_PN}-threading" RDEPENDS:${PN} += "python3-threading"
""" """
patchlines = [] patchlines = []
for f in patches: for f in patches:

View File

@ -15,29 +15,29 @@ UPSTREAM_CHECK_REGEX = "Cython-(?P<pver>.*)\.tar"
inherit pypi inherit pypi
RDEPENDS:${PN}:class-target += "\ RDEPENDS:${PN}:class-target += "\
${PYTHON_PN}-misc \ python3-misc \
${PYTHON_PN}-netserver \ python3-netserver \
${PYTHON_PN}-pkgutil \ python3-pkgutil \
${PYTHON_PN}-pyparsing \ python3-pyparsing \
${PYTHON_PN}-setuptools \ python3-setuptools \
${PYTHON_PN}-shell \ python3-shell \
${PYTHON_PN}-xml \ python3-xml \
" "
RDEPENDS:${PN}:class-nativesdk += "\ RDEPENDS:${PN}:class-nativesdk += "\
nativesdk-${PYTHON_PN}-misc \ nativesdk-python3-misc \
nativesdk-${PYTHON_PN}-netserver \ nativesdk-python3-netserver \
nativesdk-${PYTHON_PN}-pkgutil \ nativesdk-python3-pkgutil \
nativesdk-${PYTHON_PN}-pyparsing \ nativesdk-python3-pyparsing \
nativesdk-${PYTHON_PN}-setuptools \ nativesdk-python3-setuptools \
nativesdk-${PYTHON_PN}-shell \ nativesdk-python3-shell \
nativesdk-${PYTHON_PN}-xml \ nativesdk-python3-xml \
" "
do_install:append() { do_install:append() {
# Make sure we use /usr/bin/env python # Make sure we use /usr/bin/env python
for PYTHSCRIPT in `grep -rIl '^#!.*python' ${D}`; do for PYTHSCRIPT in `grep -rIl '^#!.*python' ${D}`; do
sed -i -e '1s|^#!.*|#!/usr/bin/env ${PYTHON_PN}|' $PYTHSCRIPT sed -i -e '1s|^#!.*|#!/usr/bin/env python3|' $PYTHSCRIPT
done done
# remove build paths from generated sources # remove build paths from generated sources

View File

@ -9,6 +9,6 @@ SRC_URI += "file://0001-change-shebang-to-python3.patch"
inherit pypi inherit pypi
RDEPENDS:${PN} += "${PYTHON_PN}-pip" RDEPENDS:${PN} += "python3-pip"
BBCLASSEXTEND = "native nativesdk" BBCLASSEXTEND = "native nativesdk"

View File

@ -6,10 +6,10 @@ LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=190f79253908c986e6cacf380c3a5f6d"
SRC_URI[sha256sum] = "6d391a96e59b23130a5cfa74d6fd7f388dbbe26cc8f1edf39fdddf08d9d6676c" SRC_URI[sha256sum] = "6d391a96e59b23130a5cfa74d6fd7f388dbbe26cc8f1edf39fdddf08d9d6676c"
RDEPENDS:${PN}:class-target += " \ RDEPENDS:${PN}:class-target += " \
${PYTHON_PN}-codecs \ python3-codecs \
${PYTHON_PN}-logging \ python3-logging \
${PYTHON_PN}-math \ python3-math \
${PYTHON_PN}-shell \ python3-shell \
" "
BBCLASSEXTEND = "native nativesdk" BBCLASSEXTEND = "native nativesdk"
@ -21,8 +21,8 @@ SRC_URI += " \
" "
RDEPENDS:${PN}-ptest += " \ RDEPENDS:${PN}-ptest += " \
${PYTHON_PN}-pytest \ python3-pytest \
${PYTHON_PN}-unittest-automake-output \ python3-unittest-automake-output \
" "
do_install_ptest() { do_install_ptest() {

View File

@ -6,6 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=43cfc9e4ac0e377acfb9b76f56b8415d"
inherit pypi inherit pypi
RDEPENDS:${PN} = "${PYTHON_PN}-io" RDEPENDS:${PN} = "python3-io"
BBCLASSEXTEND = "native nativesdk" BBCLASSEXTEND = "native nativesdk"

View File

@ -9,19 +9,19 @@ inherit pypi
SRC_URI[sha256sum] = "df6de96010e29ee21f637a147eabf30d50b25e3841dd1d68f93ee89ce77e366c" SRC_URI[sha256sum] = "df6de96010e29ee21f637a147eabf30d50b25e3841dd1d68f93ee89ce77e366c"
DEPENDS += " \ DEPENDS += " \
${PYTHON_PN}-pbr \ python3-pbr \
" "
# Satisfy setup.py 'setup_requires' # Satisfy setup.py 'setup_requires'
DEPENDS += " \ DEPENDS += " \
${PYTHON_PN}-pbr-native \ python3-pbr-native \
" "
RDEPENDS:${PN} += "\ RDEPENDS:${PN} += "\
${PYTHON_PN}-doctest \ python3-doctest \
${PYTHON_PN}-extras \ python3-extras \
${PYTHON_PN}-pbr \ python3-pbr \
${PYTHON_PN}-six \ python3-six \
" "
BBCLASSEXTEND = "nativesdk" BBCLASSEXTEND = "nativesdk"

View File

@ -11,14 +11,14 @@ SRC_URI[sha256sum] = "13ae38502be632115abf8a24cbe5f4da52e3b5231990aff31123c80530
inherit pypi setuptools3 inherit pypi setuptools3
RDEPENDS:${PN}:class-target += " \ RDEPENDS:${PN}:class-target += " \
${PYTHON_PN}-codecs \ python3-codecs \
${PYTHON_PN}-crypt \ python3-crypt \
${PYTHON_PN}-ctypes \ python3-ctypes \
${PYTHON_PN}-datetime \ python3-datetime \
${PYTHON_PN}-io \ python3-io \
${PYTHON_PN}-netclient \ python3-netclient \
${PYTHON_PN}-numbers \ python3-numbers \
${PYTHON_PN}-shell \ python3-shell \
" "
BBCLASSEXTEND = "native nativesdk" BBCLASSEXTEND = "native nativesdk"

View File

@ -12,9 +12,9 @@ SRC_URI += " \
" "
RDEPENDS:${PN}-ptest += " \ RDEPENDS:${PN}-ptest += " \
${PYTHON_PN}-pytest \ python3-pytest \
${PYTHON_PN}-unittest-automake-output \ python3-unittest-automake-output \
${PYTHON_PN}-unixadmin \ python3-unixadmin \
" "
do_install_ptest() { do_install_ptest() {
@ -22,6 +22,6 @@ do_install_ptest() {
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
} }
RDEPENDS:${PN} = "${PYTHON_PN}-misc" RDEPENDS:${PN} = "python3-misc"
BBCLASSEXTEND = "native nativesdk" BBCLASSEXTEND = "native nativesdk"

View File

@ -24,9 +24,9 @@ RDEPENDS:${PN}+= " \
" "
RDEPENDS:${PN}-ptest += " \ RDEPENDS:${PN}-ptest += " \
${PYTHON_PN}-hypothesis \ python3-hypothesis \
${PYTHON_PN}-pytest \ python3-pytest \
${PYTHON_PN}-unittest-automake-output \ python3-unittest-automake-output \
" "
do_install_ptest() { do_install_ptest() {

View File

@ -12,15 +12,15 @@ inherit pypi setuptools3
CLEANBROKEN = "1" CLEANBROKEN = "1"
RDEPENDS:${PN} += " \ RDEPENDS:${PN} += " \
${PYTHON_PN}-codecs \ python3-codecs \
${PYTHON_PN}-difflib \ python3-difflib \
${PYTHON_PN}-netserver \ python3-netserver \
${PYTHON_PN}-numbers \ python3-numbers \
${PYTHON_PN}-pickle \ python3-pickle \
${PYTHON_PN}-pytz \ python3-pytz \
${PYTHON_PN}-setuptools \ python3-setuptools \
${PYTHON_PN}-shell \ python3-shell \
${PYTHON_PN}-threading \ python3-threading \
" "
BBCLASSEXTEND = "native nativesdk" BBCLASSEXTEND = "native nativesdk"

View File

@ -3,7 +3,7 @@ LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=8f7bb094c7232b058c7e9f2e431f389c" LIC_FILES_CHKSUM = "file://LICENSE;md5=8f7bb094c7232b058c7e9f2e431f389c"
HOMEPAGE = "https://pypi.org/project/bcrypt/" HOMEPAGE = "https://pypi.org/project/bcrypt/"
DEPENDS += "${PYTHON_PN}-cffi-native" DEPENDS += "python3-cffi-native"
LDFLAGS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', ' -fuse-ld=bfd', '', d)}" LDFLAGS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', ' -fuse-ld=bfd', '', d)}"
SRC_URI[sha256sum] = "33313a1200a3ae90b75587ceac502b048b840fc69e7f7a0905b5f87fac7a1258" SRC_URI[sha256sum] = "33313a1200a3ae90b75587ceac502b048b840fc69e7f7a0905b5f87fac7a1258"
@ -19,8 +19,8 @@ CARGO_SRC_DIR = "src/_bcrypt"
require ${BPN}-crates.inc require ${BPN}-crates.inc
RDEPENDS:${PN}-ptest += " \ RDEPENDS:${PN}-ptest += " \
${PYTHON_PN}-pytest \ python3-pytest \
${PYTHON_PN}-unittest-automake-output \ python3-unittest-automake-output \
" "
do_install_ptest() { do_install_ptest() {
@ -29,8 +29,8 @@ do_install_ptest() {
} }
RDEPENDS:${PN}:class-target += "\ RDEPENDS:${PN}:class-target += "\
${PYTHON_PN}-cffi \ python3-cffi \
${PYTHON_PN}-ctypes \ python3-ctypes \
${PYTHON_PN}-shell \ python3-shell \
${PYTHON_PN}-six \ python3-six \
" "

View File

@ -15,9 +15,9 @@ inherit python_setuptools_build_meta ptest
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
RDEPENDS:${PN}-ptest += " \ RDEPENDS:${PN}-ptest += " \
${PYTHON_PN}-pretend \ python3-pretend \
${PYTHON_PN}-pytest \ python3-pytest \
${PYTHON_PN}-unittest-automake-output \ python3-unittest-automake-output \
" "
do_install_ptest() { do_install_ptest() {

View File

@ -2,17 +2,17 @@ SUMMARY = "Foreign Function Interface for Python calling C code"
HOMEPAGE = "http://cffi.readthedocs.org/" HOMEPAGE = "http://cffi.readthedocs.org/"
LICENSE = "MIT" LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=5677e2fdbf7cdda61d6dd2b57df547bf" LIC_FILES_CHKSUM = "file://LICENSE;md5=5677e2fdbf7cdda61d6dd2b57df547bf"
DEPENDS += "libffi ${PYTHON_PN}-pycparser" DEPENDS += "libffi python3-pycparser"
SRC_URI[sha256sum] = "bcb3ef43e58665bbda2fb198698fcae6776483e0c4a631aa5647806c25e02cc0" SRC_URI[sha256sum] = "bcb3ef43e58665bbda2fb198698fcae6776483e0c4a631aa5647806c25e02cc0"
inherit pypi setuptools3 inherit pypi setuptools3
RDEPENDS:${PN}:class-target = " \ RDEPENDS:${PN}:class-target = " \
${PYTHON_PN}-ctypes \ python3-ctypes \
${PYTHON_PN}-io \ python3-io \
${PYTHON_PN}-pycparser \ python3-pycparser \
${PYTHON_PN}-shell \ python3-shell \
" "
BBCLASSEXTEND = "native nativesdk" BBCLASSEXTEND = "native nativesdk"

View File

@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c"
SRC_URI[sha256sum] = "1b3b6ff479a8c414bc3fa2c0852995695c4a026dcd6d0633b2dd092ca39c1cf7" SRC_URI[sha256sum] = "1b3b6ff479a8c414bc3fa2c0852995695c4a026dcd6d0633b2dd092ca39c1cf7"
# setup.py of chardet needs this. # setup.py of chardet needs this.
DEPENDS += "${PYTHON_PN}-pytest-runner-native" DEPENDS += "python3-pytest-runner-native"
inherit pypi python_setuptools_build_meta inherit pypi python_setuptools_build_meta
@ -18,7 +18,7 @@ FILES:${PN}-cli += " \
RDEPENDS:${PN}-cli = "${PN} " RDEPENDS:${PN}-cli = "${PN} "
RDEPENDS:${PN}:class-target += " \ RDEPENDS:${PN}:class-target += " \
${PYTHON_PN}-logging \ python3-logging \
" "
BBCLASSEXTEND = "native nativesdk" BBCLASSEXTEND = "native nativesdk"

View File

@ -15,9 +15,9 @@ inherit pypi setuptools3 ptest
SRC_URI += "file://run-ptest" SRC_URI += "file://run-ptest"
RDEPENDS:${PN}-ptest += " \ RDEPENDS:${PN}-ptest += " \
${PYTHON_PN}-pytest \ python3-pytest \
${PYTHON_PN}-terminal \ python3-terminal \
${PYTHON_PN}-unixadmin \ python3-unixadmin \
" "
do_install_ptest() { do_install_ptest() {
@ -32,8 +32,8 @@ UPSTREAM_CHECK_REGEX = "click/(?P<pver>\d+(\.\d+)+)/"
CLEANBROKEN = "1" CLEANBROKEN = "1"
RDEPENDS:${PN} += "\ RDEPENDS:${PN} += "\
${PYTHON_PN}-io \ python3-io \
${PYTHON_PN}-threading \ python3-threading \
" "
BBCLASSEXTEND = "native nativesdk" BBCLASSEXTEND = "native nativesdk"

View File

@ -16,7 +16,7 @@ PYPI_PACKAGE = "cryptography_vectors"
inherit pypi python_setuptools_build_meta inherit pypi python_setuptools_build_meta
DEPENDS += " \ DEPENDS += " \
${PYTHON_PN}-cryptography \ python3-cryptography \
" "
do_install:append () { do_install:append () {

View File

@ -20,30 +20,30 @@ require ${BPN}-crates.inc
inherit pypi python_setuptools3_rust cargo-update-recipe-crates pkgconfig inherit pypi python_setuptools3_rust cargo-update-recipe-crates pkgconfig
DEPENDS += " \ DEPENDS += " \
${PYTHON_PN}-cffi-native \ python3-cffi-native \
" "
RDEPENDS:${PN} += " \ RDEPENDS:${PN} += " \
${PYTHON_PN}-cffi \ python3-cffi \
" "
RDEPENDS:${PN}:append:class-target = " \ RDEPENDS:${PN}:append:class-target = " \
${PYTHON_PN}-numbers \ python3-numbers \
${PYTHON_PN}-threading \ python3-threading \
" "
RDEPENDS:${PN}-ptest += " \ RDEPENDS:${PN}-ptest += " \
${PYTHON_PN}-bcrypt \ python3-bcrypt \
${PYTHON_PN}-cryptography-vectors (= ${PV}) \ python3-cryptography-vectors (= ${PV}) \
${PYTHON_PN}-hypothesis \ python3-hypothesis \
${PYTHON_PN}-iso8601 \ python3-iso8601 \
${PYTHON_PN}-mmap \ python3-mmap \
${PYTHON_PN}-pretend \ python3-pretend \
${PYTHON_PN}-psutil \ python3-psutil \
${PYTHON_PN}-pytest \ python3-pytest \
${PYTHON_PN}-unittest-automake-output \ python3-unittest-automake-output \
${PYTHON_PN}-pytest-subtests \ python3-pytest-subtests \
${PYTHON_PN}-pytz \ python3-pytz \
" "
inherit ptest inherit ptest

View File

@ -12,11 +12,11 @@ inherit pypi python_setuptools_build_meta
DEPENDS += "python3-setuptools-scm-native" DEPENDS += "python3-setuptools-scm-native"
RDEPENDS:${PN} += "\ RDEPENDS:${PN} += "\
${PYTHON_PN}-dbus \ python3-dbus \
${PYTHON_PN}-unittest \ python3-unittest \
${PYTHON_PN}-xml \ python3-xml \
" "
RRECOMMENDS:${PN} = "${@bb.utils.contains('DISTRO_FEATURES', 'gobject-introspection-data', '${MLPREFIX}${PYTHON_PN}-pygobject', '', d)}" RRECOMMENDS:${PN} = "${@bb.utils.contains('DISTRO_FEATURES', 'gobject-introspection-data', '${MLPREFIX}python3-pygobject', '', d)}"
BBCLASSEXTEND = "native" BBCLASSEXTEND = "native"

View File

@ -14,18 +14,18 @@ inherit pypi python_setuptools_build_meta
SRC_URI[sha256sum] = "ed66e624884f76df22c8e16066d567aaa5a37d5b5fa19db2c6df6f7156db9048" SRC_URI[sha256sum] = "ed66e624884f76df22c8e16066d567aaa5a37d5b5fa19db2c6df6f7156db9048"
DEPENDS += " ${PYTHON_PN}-gitdb" DEPENDS += " python3-gitdb"
RDEPENDS:${PN} += " \ RDEPENDS:${PN} += " \
${PYTHON_PN}-datetime \ python3-datetime \
${PYTHON_PN}-gitdb \ python3-gitdb \
${PYTHON_PN}-io \ python3-io \
${PYTHON_PN}-logging \ python3-logging \
${PYTHON_PN}-math \ python3-math \
${PYTHON_PN}-netclient \ python3-netclient \
${PYTHON_PN}-stringold \ python3-stringold \
${PYTHON_PN}-unittest \ python3-unittest \
${PYTHON_PN}-unixadmin \ python3-unixadmin \
git \ git \
" "

View File

@ -27,7 +27,7 @@ RDEPENDS:${PN} += " \
" "
RDEPENDS:${PN}-ptest += " \ RDEPENDS:${PN}-ptest += " \
${PYTHON_PN}-unittest-automake-output \ python3-unittest-automake-output \
" "
do_install_ptest() { do_install_ptest() {

View File

@ -8,7 +8,7 @@ SRC_URI[sha256sum] = "9ecdbbd083b06798ae1e86adcbfe8ab1479cf864e4ee30fe4e46a003d1
inherit pypi python_flit_core inherit pypi python_flit_core
RDEPENDS:${PN}:class-target = "\ RDEPENDS:${PN}:class-target = "\
${PYTHON_PN}-codecs \ python3-codecs \
" "
BBCLASSEXTEND = "native nativesdk" BBCLASSEXTEND = "native nativesdk"

View File

@ -12,8 +12,8 @@ SRC_URI[sha256sum] = "f238736bb06590ae52ac1fab06a3a9ef1d8dce2b7a35b5ab329371d6c8
S = "${WORKDIR}/importlib_metadata-${PV}" S = "${WORKDIR}/importlib_metadata-${PV}"
DEPENDS += "${PYTHON_PN}-setuptools-scm-native ${PYTHON_PN}-toml-native" DEPENDS += "python3-setuptools-scm-native python3-toml-native"
RDEPENDS:${PN} += "${PYTHON_PN}-zipp ${PYTHON_PN}-pathlib2" RDEPENDS:${PN} += "python3-zipp python3-pathlib2"
RDEPENDS:${PN}:append:class-target = " python3-misc" RDEPENDS:${PN}:append:class-target = " python3-misc"
RDEPENDS:${PN}:append:class-nativesdk = " python3-misc" RDEPENDS:${PN}:append:class-nativesdk = " python3-misc"

View File

@ -8,8 +8,8 @@ SRC_URI[sha256sum] = "6b1d3829ee8921c4301998c909f7829fa9ed3cbdac0d3b16af2d743aed
inherit pypi python_poetry_core inherit pypi python_poetry_core
RDEPENDS:${PN} += "\ RDEPENDS:${PN} += "\
${PYTHON_PN}-datetime \ python3-datetime \
${PYTHON_PN}-numbers \ python3-numbers \
" "
BBCLASSEXTEND = "native nativesdk" BBCLASSEXTEND = "native nativesdk"

View File

@ -24,25 +24,25 @@ do_install_ptest() {
} }
RDEPENDS:${PN}-ptest += " \ RDEPENDS:${PN}-ptest += " \
${PYTHON_PN}-pytest \ python3-pytest \
${PYTHON_PN}-unittest-automake-output \ python3-unittest-automake-output \
${PYTHON_PN}-toml \ python3-toml \
${PYTHON_PN}-unixadmin \ python3-unixadmin \
" "
RDEPENDS:${PN} += " \ RDEPENDS:${PN} += " \
${PYTHON_PN}-asyncio \ python3-asyncio \
${PYTHON_PN}-crypt \ python3-crypt \
${PYTHON_PN}-io \ python3-io \
${PYTHON_PN}-json \ python3-json \
${PYTHON_PN}-markupsafe \ python3-markupsafe \
${PYTHON_PN}-math \ python3-math \
${PYTHON_PN}-netclient \ python3-netclient \
${PYTHON_PN}-numbers\ python3-numbers\
${PYTHON_PN}-pickle \ python3-pickle \
${PYTHON_PN}-pprint \ python3-pprint \
${PYTHON_PN}-shell \ python3-shell \
${PYTHON_PN}-threading \ python3-threading \
" "
BBCLASSEXTEND = "native nativesdk" BBCLASSEXTEND = "native nativesdk"

View File

@ -8,7 +8,7 @@ inherit pypi ptest setuptools3
SRC_URI[sha256sum] = "585cee82b70211fa9e6043b7bb89db6e1aa49524340dde8ad6b63206ea689d88" SRC_URI[sha256sum] = "585cee82b70211fa9e6043b7bb89db6e1aa49524340dde8ad6b63206ea689d88"
RDEPENDS:${PN} += " \ RDEPENDS:${PN} += " \
${PYTHON_PN}-json \ python3-json \
" "
BBCLASSEXTEND = "native nativesdk" BBCLASSEXTEND = "native nativesdk"
@ -18,9 +18,9 @@ SRC_URI += " \
" "
RDEPENDS:${PN}-ptest += " \ RDEPENDS:${PN}-ptest += " \
${PYTHON_PN}-doctest \ python3-doctest \
${PYTHON_PN}-unittest \ python3-unittest \
${PYTHON_PN}-unittest-automake-output \ python3-unittest-automake-output \
" "
do_install_ptest() { do_install_ptest() {

View File

@ -11,36 +11,36 @@ inherit pypi python_hatchling
PACKAGES =+ "${PN}-tests" PACKAGES =+ "${PN}-tests"
FILES:${PN}-tests = "${libdir}/${PYTHON_DIR}/site-packages/jsonschema/tests" FILES:${PN}-tests = "${libdir}/${PYTHON_DIR}/site-packages/jsonschema/tests"
DEPENDS += "${PYTHON_PN}-hatch-fancy-pypi-readme-native ${PYTHON_PN}-hatch-vcs-native " DEPENDS += "python3-hatch-fancy-pypi-readme-native python3-hatch-vcs-native "
PACKAGECONFIG ??= "format" PACKAGECONFIG ??= "format"
PACKAGECONFIG[format] = ",,,\ PACKAGECONFIG[format] = ",,,\
${PYTHON_PN}-idna \ python3-idna \
${PYTHON_PN}-jsonpointer \ python3-jsonpointer \
${PYTHON_PN}-webcolors \ python3-webcolors \
${PYTHON_PN}-rfc3987 \ python3-rfc3987 \
${PYTHON_PN}-rfc3339-validator \ python3-rfc3339-validator \
" "
PACKAGECONFIG[nongpl] = ",,,\ PACKAGECONFIG[nongpl] = ",,,\
${PYTHON_PN}-idna \ python3-idna \
${PYTHON_PN}-jsonpointer \ python3-jsonpointer \
${PYTHON_PN}-webcolors \ python3-webcolors \
${PYTHON_PN}-rfc3986-validator \ python3-rfc3986-validator \
${PYTHON_PN}-rfc3339-validator \ python3-rfc3339-validator \
" "
RDEPENDS:${PN} += " \ RDEPENDS:${PN} += " \
${PYTHON_PN}-attrs \ python3-attrs \
${PYTHON_PN}-core \ python3-core \
${PYTHON_PN}-datetime \ python3-datetime \
${PYTHON_PN}-importlib-metadata \ python3-importlib-metadata \
${PYTHON_PN}-io \ python3-io \
${PYTHON_PN}-json \ python3-json \
${PYTHON_PN}-netclient \ python3-netclient \
${PYTHON_PN}-numbers \ python3-numbers \
${PYTHON_PN}-pprint \ python3-pprint \
${PYTHON_PN}-pyrsistent \ python3-pyrsistent \
${PYTHON_PN}-zipp \ python3-zipp \
" "
RDEPENDS:${PN}-tests = "${PN}" RDEPENDS:${PN}-tests = "${PN}"

View File

@ -13,9 +13,9 @@ SRC_URI[sha256sum] = "d673f56673d87ec740d1a328fa205cafad1d60f5daca4685594deb039d
RDEPENDS:${PN} += "\ RDEPENDS:${PN} += "\
libarchive \ libarchive \
${PYTHON_PN}-ctypes \ python3-ctypes \
${PYTHON_PN}-mmap \ python3-mmap \
${PYTHON_PN}-logging \ python3-logging \
" "
BBCLASSEXTEND = "native" BBCLASSEXTEND = "native"

View File

@ -8,14 +8,14 @@ SRC_URI[sha256sum] = "599928edd995c43fc335e0af342076144dc71cb858afa1ed9c1c30c4e8
inherit pypi ptest python_setuptools_build_meta inherit pypi ptest python_setuptools_build_meta
DEPENDS += "${PYTHON_PN}-setuptools-scm-native" DEPENDS += "python3-setuptools-scm-native"
RDEPENDS:${PN} += "\ RDEPENDS:${PN} += "\
${PYTHON_PN}-booleanpy \ python3-booleanpy \
${PYTHON_PN}-core \ python3-core \
${PYTHON_PN}-json \ python3-json \
${PYTHON_PN}-stringold \ python3-stringold \
${PYTHON_PN}-logging \ python3-logging \
" "
BBCLASSEXTEND = "native nativesdk" BBCLASSEXTEND = "native nativesdk"
@ -25,8 +25,8 @@ SRC_URI += " \
" "
RDEPENDS:${PN}-ptest += " \ RDEPENDS:${PN}-ptest += " \
${PYTHON_PN}-pytest \ python3-pytest \
${PYTHON_PN}-unittest-automake-output \ python3-unittest-automake-output \
" "
do_install_ptest() { do_install_ptest() {

View File

@ -38,6 +38,6 @@ BUILD_OPTIMIZATION:append:mipsel = " -O"
BBCLASSEXTEND = "native nativesdk" BBCLASSEXTEND = "native nativesdk"
RDEPENDS:${PN} += "libxml2 libxslt ${PYTHON_PN}-compression" RDEPENDS:${PN} += "libxml2 libxslt python3-compression"
CLEANBROKEN = "1" CLEANBROKEN = "1"

View File

@ -14,9 +14,9 @@ inherit pypi setuptools3
SRC_URI[sha256sum] = "c1ba14b08e4a5f5c31a302b7721239695b2f0f058d125bd5ce1ee36b9d9d3c3b" SRC_URI[sha256sum] = "c1ba14b08e4a5f5c31a302b7721239695b2f0f058d125bd5ce1ee36b9d9d3c3b"
RDEPENDS:${PN} += "file \ RDEPENDS:${PN} += "file \
${PYTHON_PN}-ctypes \ python3-ctypes \
${PYTHON_PN}-io \ python3-io \
${PYTHON_PN}-logging \ python3-logging \
${PYTHON_PN}-shell" python3-shell"
BBCLASSEXTEND = "native" BBCLASSEXTEND = "native"

View File

@ -10,11 +10,11 @@ inherit pypi python_setuptools_build_meta
SRC_URI[sha256sum] = "2a0c8ad7f6274271b3bb7467dd37cf9cc6dab4bc19cb69a4ef10669402de698e" SRC_URI[sha256sum] = "2a0c8ad7f6274271b3bb7467dd37cf9cc6dab4bc19cb69a4ef10669402de698e"
RDEPENDS:${PN} = "${PYTHON_PN}-html \ RDEPENDS:${PN} = "python3-html \
${PYTHON_PN}-markupsafe \ python3-markupsafe \
${PYTHON_PN}-netclient \ python3-netclient \
${PYTHON_PN}-pygments \ python3-pygments \
${PYTHON_PN}-threading \ python3-threading \
" "
BBCLASSEXTEND = "native nativesdk" BBCLASSEXTEND = "native nativesdk"

View File

@ -10,4 +10,4 @@ SRC_URI[sha256sum] = "e1ac7b3dc550ee80e602e71c1d168002f062e49f1b11e26a36264dafd4
BBCLASSEXTEND = "native nativesdk" BBCLASSEXTEND = "native nativesdk"
RDEPENDS:${PN} += "${PYTHON_PN}-logging ${PYTHON_PN}-setuptools" RDEPENDS:${PN} += "python3-logging python3-setuptools"

View File

@ -8,7 +8,7 @@ SRC_URI[sha256sum] = "d283d37a890ba4c1ae73ffadf8046435c76e7bc2247bbb63c00bd1a709
PYPI_PACKAGE = "MarkupSafe" PYPI_PACKAGE = "MarkupSafe"
inherit pypi python_setuptools_build_meta ptest inherit pypi python_setuptools_build_meta ptest
RDEPENDS:${PN} += "${PYTHON_PN}-stringold" RDEPENDS:${PN} += "python3-stringold"
BBCLASSEXTEND = "native nativesdk" BBCLASSEXTEND = "native nativesdk"
@ -17,8 +17,8 @@ SRC_URI += " \
" "
RDEPENDS:${PN}-ptest += " \ RDEPENDS:${PN}-ptest += " \
${PYTHON_PN}-pytest \ python3-pytest \
${PYTHON_PN}-unittest-automake-output \ python3-unittest-automake-output \
" "
do_install_ptest() { do_install_ptest() {

View File

@ -12,13 +12,13 @@ SRC_URI += " \
" "
RDEPENDS:${PN} += " \ RDEPENDS:${PN} += " \
${PYTHON_PN}-asyncio \ python3-asyncio \
" "
RDEPENDS:${PN}-ptest += " \ RDEPENDS:${PN}-ptest += " \
${PYTHON_PN}-statistics \ python3-statistics \
${PYTHON_PN}-pytest \ python3-pytest \
${PYTHON_PN}-unittest-automake-output \ python3-unittest-automake-output \
" "
do_install_ptest() { do_install_ptest() {

View File

@ -11,15 +11,15 @@ inherit pypi setuptools3 update-alternatives
PYPI_PACKAGE = "ndg_httpsclient" PYPI_PACKAGE = "ndg_httpsclient"
DEPENDS += " \ DEPENDS += " \
${PYTHON_PN}-pyopenssl \ python3-pyopenssl \
${PYTHON_PN}-pyasn1 \ python3-pyasn1 \
" "
RDEPENDS:${PN} += " \ RDEPENDS:${PN} += " \
${PYTHON_PN}-datetime \ python3-datetime \
${PYTHON_PN}-logging \ python3-logging \
${PYTHON_PN}-pyopenssl \ python3-pyopenssl \
${PYTHON_PN}-pyasn1 \ python3-pyasn1 \
" "
BBCLASSEXTEND = "native nativesdk" BBCLASSEXTEND = "native nativesdk"

View File

@ -33,31 +33,31 @@ do_compile:prepend() {
FILES:${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/numpy/core/lib/*.a ${PYTHON_SITEPACKAGES_DIR}/numpy/random/lib/*.a" FILES:${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/numpy/core/lib/*.a ${PYTHON_SITEPACKAGES_DIR}/numpy/random/lib/*.a"
# install what is needed for numpy.test() # install what is needed for numpy.test()
RDEPENDS:${PN} = "${PYTHON_PN}-unittest \ RDEPENDS:${PN} = "python3-unittest \
${PYTHON_PN}-difflib \ python3-difflib \
${PYTHON_PN}-pprint \ python3-pprint \
${PYTHON_PN}-pickle \ python3-pickle \
${PYTHON_PN}-shell \ python3-shell \
${PYTHON_PN}-doctest \ python3-doctest \
${PYTHON_PN}-datetime \ python3-datetime \
${PYTHON_PN}-misc \ python3-misc \
${PYTHON_PN}-mmap \ python3-mmap \
${PYTHON_PN}-netclient \ python3-netclient \
${PYTHON_PN}-numbers \ python3-numbers \
${PYTHON_PN}-pydoc \ python3-pydoc \
${PYTHON_PN}-pkgutil \ python3-pkgutil \
${PYTHON_PN}-email \ python3-email \
${PYTHON_PN}-compression \ python3-compression \
${PYTHON_PN}-ctypes \ python3-ctypes \
${PYTHON_PN}-threading \ python3-threading \
${PYTHON_PN}-multiprocessing \ python3-multiprocessing \
${PYTHON_PN}-json \ python3-json \
" "
RDEPENDS:${PN}-ptest += "${PYTHON_PN}-pytest \ RDEPENDS:${PN}-ptest += "python3-pytest \
${PYTHON_PN}-hypothesis \ python3-hypothesis \
${PYTHON_PN}-sortedcontainers \ python3-sortedcontainers \
${PYTHON_PN}-resource \ python3-resource \
${PYTHON_PN}-typing-extensions \ python3-typing-extensions \
ldd \ ldd \
" "

View File

@ -7,6 +7,6 @@ SRC_URI[sha256sum] = "7a4329d67beff9a712e1d3ae147e4e3e108b0bfd284ffdea03a635126c
inherit pypi setuptools3 inherit pypi setuptools3
RDEPENDS:${PN} += "${PYTHON_PN}-six ${PYTHON_PN}-ctypes" RDEPENDS:${PN} += "python3-six python3-ctypes"
BBCLASSEXTEND = "native nativesdk" BBCLASSEXTEND = "native nativesdk"

View File

@ -5,9 +5,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1c8206d16fd5cc02fa9b0bb98955e5c2"
SRC_URI[sha256sum] = "8c85c2876142a764e5b7548e7d9a0e0ddb46f5185161049a79b7e974454223be" SRC_URI[sha256sum] = "8c85c2876142a764e5b7548e7d9a0e0ddb46f5185161049a79b7e974454223be"
DEPENDS += "${PYTHON_PN}-setuptools-scm-native" DEPENDS += "python3-setuptools-scm-native"
RDEPENDS:${PN} += "${PYTHON_PN}-importlib-metadata \ RDEPENDS:${PN} += "python3-importlib-metadata \
${PYTHON_PN}-more-itertools \ python3-more-itertools \
" "
inherit pypi ptest python_setuptools_build_meta inherit pypi ptest python_setuptools_build_meta
@ -17,8 +17,8 @@ SRC_URI += " \
" "
RDEPENDS:${PN}-ptest += " \ RDEPENDS:${PN}-ptest += " \
${PYTHON_PN}-pytest \ python3-pytest \
${PYTHON_PN}-unittest-automake-output \ python3-unittest-automake-output \
" "
do_install_ptest() { do_install_ptest() {

View File

@ -11,8 +11,8 @@ SRC_URI[sha256sum] = "00c7c1aaa88358b9c765b6d3000c6eec0ba42abca5351b095321aef446
inherit pypi setuptools3 inherit pypi setuptools3
RDEPENDS:${PN}:class-target += "\ RDEPENDS:${PN}:class-target += "\
${PYTHON_PN}-netclient \ python3-netclient \
${PYTHON_PN}-shell \ python3-shell \
" "
BBCLASSEXTEND = "native nativesdk" BBCLASSEXTEND = "native nativesdk"

View File

@ -16,17 +16,17 @@ FILES:${PN}-tests += " \
RDEPENDS:${PN} += " \ RDEPENDS:${PN} += " \
${PYTHON_PN}-shell \ python3-shell \
${PYTHON_PN}-threading \ python3-threading \
${PYTHON_PN}-xml \ python3-xml \
${PYTHON_PN}-netclient \ python3-netclient \
${PYTHON_PN}-ctypes \ python3-ctypes \
${PYTHON_PN}-resource \ python3-resource \
" "
RDEPENDS:${PN}-tests += " \ RDEPENDS:${PN}-tests += " \
${PN} \ ${PN} \
${PYTHON_PN} \ python3 \
coreutils \ coreutils \
procps \ procps \
binutils \ binutils \

View File

@ -5,10 +5,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=a6bb0320b04a0a503f12f69fea479de9"
SRC_URI[sha256sum] = "51c75c4126074b472f746a24399ad32f6053d1b34b68d2fa41e558e6f4a98719" SRC_URI[sha256sum] = "51c75c4126074b472f746a24399ad32f6053d1b34b68d2fa41e558e6f4a98719"
DEPENDS += "${PYTHON_PN}-setuptools-scm-native" DEPENDS += "python3-setuptools-scm-native"
inherit pypi python_setuptools_build_meta inherit pypi python_setuptools_build_meta
BBCLASSEXTEND = "native nativesdk" BBCLASSEXTEND = "native nativesdk"
RDEPENDS:${PN} += "${PYTHON_PN}-netclient" RDEPENDS:${PN} += "python3-netclient"

View File

@ -10,9 +10,9 @@ inherit pypi setuptools3
BBCLASSEXTEND = "native nativesdk" BBCLASSEXTEND = "native nativesdk"
RDEPENDS:${PN}:class-target += "\ RDEPENDS:${PN}:class-target += "\
${PYTHON_PN}-netclient \ python3-netclient \
${PYTHON_PN}-ply \ python3-ply \
${PYTHON_PN}-pprint \ python3-pprint \
" "
RSUGGESTS:${PN}:class-target += "\ RSUGGESTS:${PN}:class-target += "\

View File

@ -12,4 +12,4 @@ inherit pypi setuptools3
BBCLASSEXTEND = "native" BBCLASSEXTEND = "native"
RDEPENDS:${PN} += "${PYTHON_PN}-debugger ${PYTHON_PN}-pprint" RDEPENDS:${PN} += "python3-debugger python3-pprint"

View File

@ -3,7 +3,7 @@ HOMEPAGE = "https://pyopenssl.org/"
LICENSE = "Apache-2.0" LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
DEPENDS += "openssl ${PYTHON_PN}-cryptography" DEPENDS += "openssl python3-cryptography"
SRC_URI[sha256sum] = "6aa33039a93fffa4563e655b61d11364d01264be8ccb49906101e02a334530bf" SRC_URI[sha256sum] = "6aa33039a93fffa4563e655b61d11364d01264be8ccb49906101e02a334530bf"
@ -14,9 +14,9 @@ PACKAGES =+ "${PN}-tests"
FILES:${PN}-tests = "${libdir}/${PYTHON_DIR}/site-packages/OpenSSL/test" FILES:${PN}-tests = "${libdir}/${PYTHON_DIR}/site-packages/OpenSSL/test"
RDEPENDS:${PN}:class-target = " \ RDEPENDS:${PN}:class-target = " \
${PYTHON_PN}-cryptography \ python3-cryptography \
${PYTHON_PN}-six \ python3-six \
${PYTHON_PN}-threading \ python3-threading \
" "
RDEPENDS:${PN}-tests = "${PN}" RDEPENDS:${PN}-tests = "${PN}"

View File

@ -17,14 +17,14 @@ UPSTREAM_CHECK_REGEX = "pyparsing-(?P<pver>.*)\.tar"
inherit pypi python_flit_core inherit pypi python_flit_core
RDEPENDS:${PN} += " \ RDEPENDS:${PN} += " \
${PYTHON_PN}-datetime \ python3-datetime \
${PYTHON_PN}-debugger \ python3-debugger \
${PYTHON_PN}-html \ python3-html \
${PYTHON_PN}-json \ python3-json \
${PYTHON_PN}-netclient \ python3-netclient \
${PYTHON_PN}-pprint \ python3-pprint \
${PYTHON_PN}-stringold \ python3-stringold \
${PYTHON_PN}-threading \ python3-threading \
" "
BBCLASSEXTEND = "native nativesdk" BBCLASSEXTEND = "native nativesdk"

View File

@ -8,7 +8,7 @@ SRC_URI[sha256sum] = "4c48f78f62ab596c679086084d0dd13254ae4f3d6c72a83ffdf5ebdef8
inherit pypi python_setuptools_build_meta inherit pypi python_setuptools_build_meta
RDEPENDS:${PN} += " \ RDEPENDS:${PN} += " \
${PYTHON_PN}-numbers \ python3-numbers \
" "
BBCLASSEXTEND = "native nativesdk" BBCLASSEXTEND = "native nativesdk"

View File

@ -10,11 +10,11 @@ PYPI_PACKAGE = "PySocks"
inherit pypi setuptools3 inherit pypi setuptools3
RDEPENDS:${PN}:class-target += "\ RDEPENDS:${PN}:class-target += "\
${PYTHON_PN}-email \ python3-email \
${PYTHON_PN}-io \ python3-io \
${PYTHON_PN}-logging \ python3-logging \
${PYTHON_PN}-netclient \ python3-netclient \
${PYTHON_PN}-shell \ python3-shell \
" "
BBCLASSEXTEND = "native nativesdk" BBCLASSEXTEND = "native nativesdk"

View File

@ -8,9 +8,9 @@ SRC_URI[sha256sum] = "70d4739585a7008f37bf4933c013fdb327b8878a5a69fcbb3316c88882
inherit pypi python_setuptools_build_meta inherit pypi python_setuptools_build_meta
DEPENDS += " \ DEPENDS += " \
${PYTHON_PN}-setuptools-scm-native" python3-setuptools-scm-native"
RDEPENDS:${PN} = "${PYTHON_PN}-py ${PYTHON_PN}-setuptools ${PYTHON_PN}-debugger ${PYTHON_PN}-json \ RDEPENDS:${PN} = "python3-py python3-setuptools python3-debugger python3-json \
${PYTHON_PN}-io" python3-io"
BBCLASSEXTEND = "native nativesdk" BBCLASSEXTEND = "native nativesdk"

View File

@ -11,10 +11,10 @@ SRC_URI[sha256sum] = "51865c88457545f51fb72011942f0a3c6901ee9e24cbfb6d1b9dc1348b
inherit pypi python_setuptools_build_meta inherit pypi python_setuptools_build_meta
DEPENDS += "${PYTHON_PN}-setuptools-scm-native" DEPENDS += "python3-setuptools-scm-native"
RDEPENDS:${PN} += " \ RDEPENDS:${PN} += " \
${PYTHON_PN}-pytest \ python3-pytest \
" "
BBCLASSEXTEND = "native nativesdk" BBCLASSEXTEND = "native nativesdk"

View File

@ -12,22 +12,22 @@ DEPENDS += "python3-setuptools-scm-native"
inherit update-alternatives pypi python_setuptools_build_meta inherit update-alternatives pypi python_setuptools_build_meta
RDEPENDS:${PN} += " \ RDEPENDS:${PN} += " \
${PYTHON_PN}-atomicwrites \ python3-atomicwrites \
${PYTHON_PN}-attrs \ python3-attrs \
${PYTHON_PN}-debugger \ python3-debugger \
${PYTHON_PN}-doctest \ python3-doctest \
${PYTHON_PN}-importlib-metadata \ python3-importlib-metadata \
${PYTHON_PN}-iniconfig \ python3-iniconfig \
${PYTHON_PN}-json \ python3-json \
${PYTHON_PN}-more-itertools \ python3-more-itertools \
${PYTHON_PN}-packaging \ python3-packaging \
${PYTHON_PN}-pathlib2 \ python3-pathlib2 \
${PYTHON_PN}-pluggy \ python3-pluggy \
${PYTHON_PN}-py \ python3-py \
${PYTHON_PN}-setuptools \ python3-setuptools \
${PYTHON_PN}-six \ python3-six \
${PYTHON_PN}-tomllib \ python3-tomllib \
${PYTHON_PN}-wcwidth \ python3-wcwidth \
" "
ALTERNATIVE:${PN} += "py.test pytest" ALTERNATIVE:${PN} += "py.test pytest"

View File

@ -8,12 +8,12 @@ inherit pypi setuptools3 ptest
SRC_URI[sha256sum] = "31d4583c4ed539cd037956140d695e42c033a19e984bfce9964a3f7d59bc2b40" SRC_URI[sha256sum] = "31d4583c4ed539cd037956140d695e42c033a19e984bfce9964a3f7d59bc2b40"
RDEPENDS:${PN}:class-target += "\ RDEPENDS:${PN}:class-target += "\
${PYTHON_PN}-datetime \ python3-datetime \
${PYTHON_PN}-doctest \ python3-doctest \
${PYTHON_PN}-io \ python3-io \
${PYTHON_PN}-pickle \ python3-pickle \
${PYTHON_PN}-pprint \ python3-pprint \
${PYTHON_PN}-threading \ python3-threading \
" "
BBCLASSEXTEND = "native nativesdk" BBCLASSEXTEND = "native nativesdk"
@ -23,8 +23,8 @@ SRC_URI += " \
" "
RDEPENDS:${PN}-ptest += " \ RDEPENDS:${PN}-ptest += " \
${PYTHON_PN}-pytest \ python3-pytest \
${PYTHON_PN}-unittest-automake-output \ python3-unittest-automake-output \
" "
do_install_ptest() { do_install_ptest() {

View File

@ -1,5 +1,5 @@
SUMMARY = "Python support for YAML" SUMMARY = "Python support for YAML"
DEPENDS += "libyaml ${PYTHON_PN}-cython-native" DEPENDS += "libyaml python3-cython-native"
HOMEPAGE = "https://pyyaml.org/" HOMEPAGE = "https://pyyaml.org/"
LICENSE = "MIT" LICENSE = "MIT"
@ -16,8 +16,8 @@ PACKAGECONFIG ?= "libyaml"
PACKAGECONFIG[libyaml] = "--with-libyaml,--without-libyaml,libyaml" PACKAGECONFIG[libyaml] = "--with-libyaml,--without-libyaml,libyaml"
RDEPENDS:${PN} += "\ RDEPENDS:${PN} += "\
${PYTHON_PN}-datetime \ python3-datetime \
${PYTHON_PN}-netclient \ python3-netclient \
" "
inherit ptest inherit ptest
@ -28,8 +28,8 @@ SRC_URI += "\
SRC_URI[test.sha256sum] = "b6a8a2825d89fdc8aee226560f66b8196e872012a0ea7118cbef1a832359434a" SRC_URI[test.sha256sum] = "b6a8a2825d89fdc8aee226560f66b8196e872012a0ea7118cbef1a832359434a"
RDEPENDS:${PN}-ptest += " \ RDEPENDS:${PN}-ptest += " \
${PYTHON_PN}-pytest \ python3-pytest \
${PYTHON_PN}-unittest-automake-output \ python3-unittest-automake-output \
" "
do_install_ptest() { do_install_ptest() {

View File

@ -9,13 +9,13 @@ SRC_URI[sha256sum] = "9995eb8569428059b8c1affd26b25eac510d64f5043d9ce8c84e0d0036
inherit pypi python_poetry_core inherit pypi python_poetry_core
RDEPENDS:${PN} += " \ RDEPENDS:${PN} += " \
${PYTHON_PN}-isodate \ python3-isodate \
${PYTHON_PN}-pyparsing \ python3-pyparsing \
${PYTHON_PN}-logging \ python3-logging \
${PYTHON_PN}-numbers \ python3-numbers \
${PYTHON_PN}-xml \ python3-xml \
${PYTHON_PN}-compression \ python3-compression \
${PYTHON_PN}-core \ python3-core \
" "
BBCLASSEXTEND = "native nativesdk" BBCLASSEXTEND = "native nativesdk"

View File

@ -8,17 +8,17 @@ SRC_URI[sha256sum] = "942c5a758f98d790eaed1a29cb6eefc7ffb0d1cf7af05c3d2791656dbd
inherit pypi setuptools3 inherit pypi setuptools3
RDEPENDS:${PN} += " \ RDEPENDS:${PN} += " \
${PYTHON_PN}-email \ python3-email \
${PYTHON_PN}-json \ python3-json \
${PYTHON_PN}-ndg-httpsclient \ python3-ndg-httpsclient \
${PYTHON_PN}-netserver \ python3-netserver \
${PYTHON_PN}-pyasn1 \ python3-pyasn1 \
${PYTHON_PN}-pyopenssl \ python3-pyopenssl \
${PYTHON_PN}-pysocks \ python3-pysocks \
${PYTHON_PN}-urllib3 \ python3-urllib3 \
${PYTHON_PN}-chardet \ python3-chardet \
${PYTHON_PN}-idna \ python3-idna \
${PYTHON_PN}-compression \ python3-compression \
" "
CVE_PRODUCT = "requests" CVE_PRODUCT = "requests"

View File

@ -13,9 +13,9 @@ UPSTREAM_CHECK_REGEX = "/rfc3339-validator/(?P<pver>(\d+[\.\-_]*)+)/"
inherit pypi setuptools3 inherit pypi setuptools3
RDEPENDS:${PN} += "\ RDEPENDS:${PN} += "\
${PYTHON_PN}-core \ python3-core \
${PYTHON_PN}-datetime \ python3-datetime \
${PYTHON_PN}-six \ python3-six \
" "
BBCLASSEXTEND = "native nativesdk" BBCLASSEXTEND = "native nativesdk"

View File

@ -11,9 +11,9 @@ inherit pypi setuptools3
SRC_URI[sha256sum] = "801046a9caacb1b43acc118969b49b96b65e8847f29029563b29ac61d02db61b" SRC_URI[sha256sum] = "801046a9caacb1b43acc118969b49b96b65e8847f29029563b29ac61d02db61b"
RDEPENDS:${PN} += "\ RDEPENDS:${PN} += "\
${PYTHON_PN}-shell \ python3-shell \
${PYTHON_PN}-datetime \ python3-datetime \
${PYTHON_PN}-netclient \ python3-netclient \
" "
do_install:prepend() { do_install:prepend() {

View File

@ -10,7 +10,7 @@ PYPI_PACKAGE = "semantic_version"
inherit pypi setuptools3 inherit pypi setuptools3
RDEPENDS:${PN} += " \ RDEPENDS:${PN} += " \
${PYTHON_PN}-pkg-resources \ python3-pkg-resources \
" "
BBCLASSEXTEND = "native nativesdk" BBCLASSEXTEND = "native nativesdk"

View File

@ -15,17 +15,17 @@ UPSTREAM_CHECK_REGEX = "scm-(?P<pver>.*)\.tar"
DEPENDS += "python3-tomli-native python3-packaging-native python3-typing-extensions-native" DEPENDS += "python3-tomli-native python3-packaging-native python3-typing-extensions-native"
RDEPENDS:${PN} = "\ RDEPENDS:${PN} = "\
${PYTHON_PN}-packaging \ python3-packaging \
${PYTHON_PN}-pip \ python3-pip \
${PYTHON_PN}-pyparsing \ python3-pyparsing \
${PYTHON_PN}-setuptools \ python3-setuptools \
${PYTHON_PN}-tomli \ python3-tomli \
${PYTHON_PN}-typing-extensions \ python3-typing-extensions \
" "
RDEPENDS:${PN}:append:class-target = " \ RDEPENDS:${PN}:append:class-target = " \
${PYTHON_PN}-debugger \ python3-debugger \
${PYTHON_PN}-json \ python3-json \
" "
BBCLASSEXTEND = "native nativesdk" BBCLASSEXTEND = "native nativesdk"

View File

@ -13,27 +13,27 @@ SRC_URI += " \
SRC_URI[sha256sum] = "be1af57fc409f93647f2e8e4573a142ed38724b8cdd389706a867bb4efcf1e78" SRC_URI[sha256sum] = "be1af57fc409f93647f2e8e4573a142ed38724b8cdd389706a867bb4efcf1e78"
DEPENDS += "${PYTHON_PN}" DEPENDS += "python3"
RDEPENDS:${PN} = "\ RDEPENDS:${PN} = "\
${PYTHON_PN}-2to3 \ python3-2to3 \
${PYTHON_PN}-compile \ python3-compile \
${PYTHON_PN}-compression \ python3-compression \
${PYTHON_PN}-ctypes \ python3-ctypes \
${PYTHON_PN}-email \ python3-email \
${PYTHON_PN}-html \ python3-html \
${PYTHON_PN}-json \ python3-json \
${PYTHON_PN}-netserver \ python3-netserver \
${PYTHON_PN}-numbers \ python3-numbers \
${PYTHON_PN}-pickle \ python3-pickle \
${PYTHON_PN}-pkg-resources \ python3-pkg-resources \
${PYTHON_PN}-pkgutil \ python3-pkgutil \
${PYTHON_PN}-plistlib \ python3-plistlib \
${PYTHON_PN}-shell \ python3-shell \
${PYTHON_PN}-stringold \ python3-stringold \
${PYTHON_PN}-threading \ python3-threading \
${PYTHON_PN}-unittest \ python3-unittest \
${PYTHON_PN}-xml \ python3-xml \
" "
BBCLASSEXTEND = "native nativesdk" BBCLASSEXTEND = "native nativesdk"
@ -41,13 +41,13 @@ BBCLASSEXTEND = "native nativesdk"
# The pkg-resources module can be used by itself, without the package downloader # The pkg-resources module can be used by itself, without the package downloader
# and easy_install. Ship it in a separate package so that it can be used by # and easy_install. Ship it in a separate package so that it can be used by
# minimal distributions. # minimal distributions.
PACKAGES =+ "${PYTHON_PN}-pkg-resources " PACKAGES =+ "python3-pkg-resources "
FILES:${PYTHON_PN}-pkg-resources = "${PYTHON_SITEPACKAGES_DIR}/pkg_resources/*" FILES:python3-pkg-resources = "${PYTHON_SITEPACKAGES_DIR}/pkg_resources/*"
RDEPENDS:${PYTHON_PN}-pkg-resources = "\ RDEPENDS:python3-pkg-resources = "\
${PYTHON_PN}-compression \ python3-compression \
${PYTHON_PN}-email \ python3-email \
${PYTHON_PN}-plistlib \ python3-plistlib \
${PYTHON_PN}-pprint \ python3-pprint \
" "
# This used to use the bootstrap install which didn't compile. Until we bump the # This used to use the bootstrap install which didn't compile. Until we bump the

View File

@ -13,7 +13,7 @@ PYPI_PACKAGE = "smmap"
SRC_URI[sha256sum] = "8d79028ea6cc131da5eab099a5d95a998d43c6779956fffe3b455040911076da" SRC_URI[sha256sum] = "8d79028ea6cc131da5eab099a5d95a998d43c6779956fffe3b455040911076da"
RDEPENDS:${PN} += "${PYTHON_PN}-codecs \ RDEPENDS:${PN} += "python3-codecs \
${PYTHON_PN}-mmap \ python3-mmap \
" "
BBCLASSEXTEND = "native nativesdk" BBCLASSEXTEND = "native nativesdk"

View File

@ -11,5 +11,5 @@ inherit pypi setuptools3
BBCLASSEXTEND = "native nativesdk" BBCLASSEXTEND = "native nativesdk"
RDEPENDS:${PN} += " \ RDEPENDS:${PN} += " \
${PYTHON_PN}-misc \ python3-misc \
" "

View File

@ -14,8 +14,8 @@ SRC_URI += " \
" "
RDEPENDS:${PN}-ptest += " \ RDEPENDS:${PN}-ptest += " \
${PYTHON_PN}-pytest \ python3-pytest \
${PYTHON_PN}-unittest-automake-output \ python3-unittest-automake-output \
" "
do_install_ptest() { do_install_ptest() {

View File

@ -10,5 +10,5 @@ SRC_URI[sha256sum] = "8be4668cda434163ce229d87ca273a11922cb1614cb359970b7dc96eed
BBCLASSEXTEND = "native nativesdk" BBCLASSEXTEND = "native nativesdk"
RDEPENDS:${PN} += "${PYTHON_PN}-smartypants" RDEPENDS:${PN} += "python3-smartypants"

View File

@ -8,15 +8,15 @@ SRC_URI[sha256sum] = "df7aa8afb0148fa78488e7899b2c59b5f4ffcfa82e6c54ccb9dd37c1d7
inherit pypi python_hatchling inherit pypi python_hatchling
RDEPENDS:${PN} += "\ RDEPENDS:${PN} += "\
${PYTHON_PN}-certifi \ python3-certifi \
${PYTHON_PN}-cryptography \ python3-cryptography \
${PYTHON_PN}-email \ python3-email \
${PYTHON_PN}-idna \ python3-idna \
${PYTHON_PN}-json \ python3-json \
${PYTHON_PN}-netclient \ python3-netclient \
${PYTHON_PN}-pyopenssl \ python3-pyopenssl \
${PYTHON_PN}-threading \ python3-threading \
${PYTHON_PN}-logging \ python3-logging \
" "
CVE_PRODUCT = "urllib3" CVE_PRODUCT = "urllib3"

View File

@ -13,8 +13,8 @@ SRC_URI += " \
" "
RDEPENDS:${PN}-ptest += " \ RDEPENDS:${PN}-ptest += " \
${PYTHON_PN}-pytest \ python3-pytest \
${PYTHON_PN}-unittest-automake-output \ python3-unittest-automake-output \
" "
do_install_ptest() { do_install_ptest() {

View File

@ -8,7 +8,7 @@ SRC_URI[sha256sum] = "c225b674c83fa923be93d235330ce0300373d02885cef23238813b0d56
inherit pypi python_setuptools_build_meta ptest inherit pypi python_setuptools_build_meta ptest
RDEPENDS:${PN}:class-target = "\ RDEPENDS:${PN}:class-target = "\
${PYTHON_PN}-stringold \ python3-stringold \
" "
SRC_URI += " \ SRC_URI += " \
@ -16,8 +16,8 @@ SRC_URI += " \
" "
RDEPENDS:${PN}-ptest += " \ RDEPENDS:${PN}-ptest += " \
${PYTHON_PN}-pytest \ python3-pytest \
${PYTHON_PN}-unittest-automake-output \ python3-unittest-automake-output \
" "
do_install_ptest() { do_install_ptest() {

View File

@ -16,13 +16,13 @@ SRC_URI += " \
" "
RDEPENDS:${PN} += " \ RDEPENDS:${PN} += " \
${PYTHON_PN}-core \ python3-core \
${PYTHON_PN}-xml \ python3-xml \
${PYTHON_PN}-io \ python3-io \
" "
RDEPENDS:${PN}-ptest += " \ RDEPENDS:${PN}-ptest += " \
${PYTHON_PN}-pytest \ python3-pytest \
" "
do_install_ptest() { do_install_ptest() {

View File

@ -9,7 +9,7 @@ PYPI_PACKAGE = "yamllint"
SRC_URI[sha256sum] = "2dceab9ef2d99518a2fcf4ffc964d44250ac4459be1ba3ca315118e4a1a81f7d" SRC_URI[sha256sum] = "2dceab9ef2d99518a2fcf4ffc964d44250ac4459be1ba3ca315118e4a1a81f7d"
DEPENDS += "${PYTHON_PN}-setuptools-scm-native" DEPENDS += "python3-setuptools-scm-native"
RDEPENDS:${PN} += "${PYTHON_PN}-pathspec ${PYTHON_PN}-pyyaml" RDEPENDS:${PN} += "python3-pathspec python3-pyyaml"
BBCLASSEXTEND = "native nativesdk" BBCLASSEXTEND = "native nativesdk"

View File

@ -5,14 +5,14 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=141643e11c48898150daa83802dbc65f"
SRC_URI[sha256sum] = "84e64a1c28cf7e91ed2078bb8cc8c259cb19b76942096c8d7b84947690cabaf0" SRC_URI[sha256sum] = "84e64a1c28cf7e91ed2078bb8cc8c259cb19b76942096c8d7b84947690cabaf0"
DEPENDS += "${PYTHON_PN}-setuptools-scm-native" DEPENDS += "python3-setuptools-scm-native"
inherit pypi python_setuptools_build_meta inherit pypi python_setuptools_build_meta
DEPENDS += "${PYTHON_PN}-toml-native" DEPENDS += "python3-toml-native"
RDEPENDS:${PN} += "${PYTHON_PN}-compression \ RDEPENDS:${PN} += "python3-compression \
${PYTHON_PN}-math \ python3-math \
${PYTHON_PN}-more-itertools" python3-more-itertools"
BBCLASSEXTEND = "native nativesdk" BBCLASSEXTEND = "native nativesdk"