packagegroup-meta-python: add poetry-core and unattended-upgrade
PATCH 1/9 packagegroup-meta-python: add poetry-core and unattended-upgrade
These were missing from the packagegroup.
--- .../recipes-core/packagegroups/packagegroup-meta-python.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +2 -0
@@ -280,6 +280,7 @@ RDEPENDS:packagegroup-meta-python3 = "\ python3-pkcs11 \ python3-pkgconfig \ python3-ply \ + python3-poetry-core \ python3-pocketsphinx \ python3-polyline \ python3-portalocker \
@@ -475,6 +476,7 @@ RDEPENDS:packagegroup-meta-python3 = "\ python3-yarl \ python3-zopeinterface \ telepathy-python3 \ + unattended-upgrades \ " RDEPENDS:packagegroup-meta-python3:remove:libc-musl:powerpc64le = "python3-grpcio python3-grpcio-tools"
Signature · 1 line
2.25.1
PATCH 2/9 python3-pystache: remove, unmaintained
Pystache hasn't been maintained since 2014. One maintained alternative is https://github.com/noahmorrison/chevron.
--- .../packagegroups/packagegroup-meta-python.bb | 1 - ...-versions-remove-py2x-and-fix-tests-.patch | 4150 ----------------- .../python/python3-pystache_0.5.4.bb | 17 - 3 files changed, 4168 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-pystache/0001-Modernize-python-versions-remove-py2x-and-fix-tests-.patch delete mode 100644 meta-python/recipes-devtools/python/python3-pystache_0.5.4.bb
meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +0 -1
@@ -347,7 +347,6 @@ RDEPENDS:packagegroup-meta-python3 = "\ python3-pyserial \ python3-pysocks \ python3-pysonos \ - python3-pystache \ python3-pystemd \ python3-pytest-asyncio \ python3-pytest-benchmark \
meta-python/recipes-devtools/python/python3-pystache/0001-Modernize-python-versions-remove-py2x-and-fix-tests-.patch deleted +0 -4150
2,993 lines not on this page · raw message
meta-python/recipes-devtools/python/python3-pystache_0.5.4.bb deleted +0 -17
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.25.1
Part of the diff is not shown here. View the raw message.
PATCH 3/9 python3-configparser: remove, not needed for Python 3
In reply to Ross BurtonThis is a backport of the Python 3 configparser for Python 2 users, so obviously it makes no sense to have for Python 3.
--- .../packagegroups/packagegroup-meta-python.bb | 1 - .../python/python3-configparser_5.2.0.bb | 13 ------------- 2 files changed, 14 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-configparser_5.2.0.bb
meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +0 -1
@@ -82,7 +82,6 @@ RDEPENDS:packagegroup-meta-python3 = "\ python3-colorzero \ python3-configargparse \ python3-configobj \ - python3-configparser \ python3-configshell-fb \ python3-constantly \ python3-contextlib2 \
meta-python/recipes-devtools/python/python3-configparser_5.2.0.bb deleted +0 -13
@@ -1,13 +0,0 @@ -SUMMARY = "This module provides the ConfigParser class which implements a basic configuration language which provides a structure similar to what's found in Microsoft Windows INI files." -SECTION = "devel/python" -HOMEPAGE = "https://docs.python.org/3/library/configparser.html" -LICENSE = "MIT" - -LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=10;endline=10;md5=23f9ad5cad3d8cc0336e2a5d8a87e1fa" - -SRC_URI[sha256sum] = "1b35798fdf1713f1c3139016cfcbc461f09edbf099d1fb658d4b7479fcaa3daa" - -DEPENDS += "${PYTHON_PN}-setuptools-scm-native ${PYTHON_PN}-toml-native" -inherit pypi setuptools3 - -BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.25.1
PATCH 4/9 python3-backports-functional-lru-cache: remove, not needed for Python 3
In reply to Ross BurtonThis is a backport of the Python 3 lru_cache for Python 2 users, so obviously it makes no sense to have for Python 3.
--- .../packagegroups/packagegroup-meta-python.bb | 2 -- ...on3-backports-functools-lru-cache_1.6.4.bb | 31 ------------------- 2 files changed, 33 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-backports-functools-lru-cache_1.6.4.bb
meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +0 -2
@@ -46,7 +46,6 @@ RDEPENDS:packagegroup-meta-python3 = "\ python3-aws-iot-device-sdk-python \ python3-babel \ python3-backcall \ - python3-backports-functools-lru-cache \ python3-bandit \ python3-bcrypt \ python3-beautifulsoup4 \
@@ -484,7 +483,6 @@ RDEPENDS:packagegroup-meta-python3-ptest = "\ python3-markupsafe-ptest \ python3-ansicolors-ptest \ python3-appdirs-ptest \ - python3-backports-functools-lru-cache-ptest \ python3-bcrypt-ptest \ python3-betamax-ptest \ python3-blinker-ptest \
meta-python/recipes-devtools/python/python3-backports-functools-lru-cache_1.6.4.bb deleted +0 -31
@@ -1,31 +0,0 @@ -SUMMARY = "Backport of functools.lru_cache from Python 3.3" -HOMEPAGE = "https://github.com/jaraco/backports.functools_lru_cache" -SECTION = "devel/python" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=7a7126e068206290f3fe9f8d6c713ea6" - -PYPI_PACKAGE = "backports.functools_lru_cache" - -SRC_URI[sha256sum] = "d5ed2169378b67d3c545e5600d363a923b09c456dab1593914935a68ad478271" - -DEPENDS += "${PYTHON_PN}-setuptools-scm-native" - -inherit pypi setuptools3 ptest - -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - -RDEPENDS:${PN} += "\ - ${PYTHON_PN}-pickle \ - ${PYTHON_PN}-threading \ - "
Signature · 1 line
2.25.1
PATCH 5/9 python3-pyzmq: clean up recipe
In reply to Ross BurtonPut the patch into a directory named after PN to avoid needing to set FILESEXTRAPATHS.
Remove explicit FILES:${PN}-dbg, as these are packaged automatically.
---
.../{python-pyzmq => python3-pyzmq}/club-rpath-out.patch | 0
meta-python/recipes-devtools/python/python3-pyzmq_22.3.0.bb | 4 ----
2 files changed, 4 deletions(-)
rename meta-python/recipes-devtools/python/{python-pyzmq => python3-pyzmq}/club-rpath-out.patch (100%)meta-python/recipes-devtools/python/python3-pyzmq/club-rpath-out.patch renamed from meta-python/recipes-devtools/python/python-pyzmq/club-rpath-out.patch +0 -0
meta-python/recipes-devtools/python/python3-pyzmq_22.3.0.bb +0 -4
@@ -5,8 +5,6 @@ LIC_FILES_CHKSUM = "file://COPYING.BSD;md5=11c65680f637c3df7f58bbc8d133e96e \ file://COPYING.LESSER;md5=12c592fa0bcfff3fb0977b066e9cb69e" DEPENDS = "zeromq" -FILESEXTRAPATHS:prepend := "${THISDIR}/python-pyzmq:" - SRC_URI += "file://club-rpath-out.patch" SRC_URI[sha256sum] = "8eddc033e716f8c91c6a2112f0a8ebc5e00532b4a6ae1eb0ccc48e027f9c671c"
@@ -17,8 +15,6 @@ RDEPENDS:${PN} += " \ ${PYTHON_PN}-json \ " -FILES:${PN}-dbg =+ "${PYTHON_SITEPACKAGES_DIR}/zmq/backend/cython/.debug" - do_compile:prepend() { echo [global] > ${S}/setup.cfg echo zmq_prefix = ${STAGING_DIR_HOST} >> ${S}/setup.cfg
Signature · 1 line
2.25.1
PATCH 6/9 python3-pycurl: fix DEPENDS
In reply to Ross BurtonBy assigning directly to DEPENDS the dependencies in setuptools3 are overwritten, so python3-setuptools-native is present to let the build succeed entirely through luck.
--- .../recipes-devtools/python/python3-pycurl_7.44.1.bb | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)
meta-python/recipes-devtools/python/python3-pycurl_7.44.1.bb +2 -5
@@ -14,9 +14,6 @@ LIC_FILES_CHKSUM = "file://COPYING-LGPL;md5=4fbd65380cdd255951079008b364516c \ SRC_URI[sha256sum] = "5bcef4d988b74b99653602101e17d8401338d596b9234d263c728a0c3df003e8" -inherit pypi setuptools3 +DEPENDS = "curl" -DEPENDS = "\ - curl \ - ${PYTHON_PN}\ -" +inherit pypi setuptools3
Signature · 1 line
2.25.1
PATCH 7/9 python3-twisted: remove empty PN-src and PN-dbg
In reply to Ross BurtonNothing is packaged in these, there are no debug symbols and the sources are packaged into the regular packages.
--- .../python/python3-twisted_22.2.0.bb | 13 ------------- 1 file changed, 13 deletions(-)
meta-python/recipes-devtools/python/python3-twisted_22.2.0.bb +0 -13
@@ -78,7 +78,6 @@ RDEPENDS:${PN}-web += "${PN}-core ${PN}-protocols" RDEPENDS:${PN}-words += "${PN}-core" RDEPENDS:${PN}-flow += "${PN}-core" RDEPENDS:${PN}-pair += "${PN}-core" -RDEPENDS:${PN}-dbg = "${PN}" FILES:${PN} = "${PYTHON_SITEPACKAGES_DIR}/${PYPI_PACKAGE}-${PV}.dist-info/*"
@@ -243,22 +242,10 @@ ${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_pair.py* \ ${libdir}/${PYTHON_DIR}/site-packages/twisted/pair \ " -FILES:${PN}-dbg += " \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/*/.debug \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/*/*/.debug \ -" - FILES:${PN}-doc += " \ ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/_pydoctortemplates/ \ " -RDEPENDS:${PN}-src = "${PN}" -FILES:${PN}-src = " \ - ${libdir}/${PYTHON_DIR}/site-packages/twisted/*.py \ - ${libdir}/${PYTHON_DIR}/site-packages/twisted/*/*.py \ - ${libdir}/${PYTHON_DIR}/site-packages/twisted/*/*/*.py \ -" - FILES:${PN}-core:append = " \ ${libdir}/${PYTHON_DIR}/site-packages/twisted/__pycache__ \ ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/__pycache__/*pyc \
Signature · 1 line
2.25.1
PATCH 8/9 python3-pylint: upgrade to 2.12.2
In reply to Ross BurtonThe test suite is no longer shipped in the sources, so remove PN-tests.
--- .../python/python3-pylint_1.8.3.bb | 38 ------------------- .../python/python3-pylint_2.12.2.bb | 18 +++++++++ 2 files changed, 18 insertions(+), 38 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-pylint_1.8.3.bb create mode 100644 meta-python/recipes-devtools/python/python3-pylint_2.12.2.bb
meta-python/recipes-devtools/python/python3-pylint_1.8.3.bb deleted +0 -38
@@ -1,38 +0,0 @@ -SUMMARY="Pylint is a Python source code analyzer" -HOMEPAGE= "http://www.pylint.org/" -LICENSE = "GPL-2.0-only" -LIC_FILES_CHKSUM = "file://COPYING;md5=4325afd396febcb659c36b49533135d4" - -SRC_URI[md5sum] = "2eb5f3cb8fe567eaf5420dd415012202" -SRC_URI[sha256sum] = "c77311859e0c2d7932095f30d2b1bfdc4b6fe111f534450ba727a52eae330ef2" - -inherit pypi setuptools3 python3-dir - -DEPENDS += "${PYTHON_PN}-pytest-runner-native" - -do_install:append(){ - rm ${D}${bindir}/pylint - cat >> ${D}${bindir}/pylint <<EOF -#!/usr/bin/env ${PYTHON_PN} -from pylint import run_pylint -run_pylint() -EOF - chmod 755 ${D}${bindir}/pylint - sed -i -e 's:^#!/usr/bin/python:#!/usr/bin/env\ ${PYTHON_PN}:g' ${D}/${PYTHON_SITEPACKAGES_DIR}/pylint/test/data/ascript -} - -PACKAGES =+ "${PN}-tests" -FILES:${PN}-tests+= " \ - ${PYTHON_SITEPACKAGES_DIR}/pylint/test/ \ - ${PYTHON_SITEPACKAGES_DIR}/pylint/testutils.py \ -" - -RDEPENDS:${PN} += "${PYTHON_PN}-astroid \ - ${PYTHON_PN}-isort \ - ${PYTHON_PN}-numbers \ - ${PYTHON_PN}-shell \ - ${PYTHON_PN}-json \ - ${PYTHON_PN}-pkgutil \ - ${PYTHON_PN}-difflib \ - ${PYTHON_PN}-netserver \ - "
meta-python/recipes-devtools/python/python3-pylint_2.12.2.bb new file +18 -0
@@ -0,0 +1,18 @@ +SUMMARY="Pylint is a Python source code analyzer" +HOMEPAGE= "http://www.pylint.org/" +LICENSE = "GPL-2.0-only" +LIC_FILES_CHKSUM = "file://LICENSE;md5=c107cf754550e65755c42985a5d4e9c9" + +SRC_URI[sha256sum] = "9d945a73640e1fec07ee34b42f5669b770c759acd536ec7b16d7e4b87a9c9ff9" + +inherit pypi setuptools3 + +RDEPENDS:${PN} += "${PYTHON_PN}-astroid \ + ${PYTHON_PN}-isort \ + ${PYTHON_PN}-numbers \ + ${PYTHON_PN}-shell \ + ${PYTHON_PN}-json \ + ${PYTHON_PN}-pkgutil \ + ${PYTHON_PN}-difflib \ + ${PYTHON_PN}-netserver \ + "
Signature · 1 line
2.25.1
PATCH 9/9 meta-python: migrate away from setuptool3 where possible
In reply to Ross BurtonMany recipes are currently building with setuptools3 but can use a more modern tool: typically setuptools_build_meta but ordered-set can use flit_core and pyrad can use poetry_core.
--- .../recipes-devtools/python/python3-aiohttp_3.8.1.bb | 3 ++- .../python/python3-ansi2html_1.7.0.bb | 7 +------ .../python/python3-asttokens_2.0.5.bb | 7 ++----- .../python/python3-async-timeout_4.0.2.bb | 2 +- .../recipes-devtools/python/python3-bcrypt_3.2.0.bb | 2 +- .../recipes-devtools/python/python3-bidict_0.21.4.bb | 2 +- .../python/python3-cachetools_4.2.4.bb | 2 +- .../recipes-devtools/python/python3-cbor2_5.4.2.bb | 2 +- .../python/python3-dateutil_2.8.2.bb | 2 +- .../python/python3-engineio_4.3.1.bb | 2 +- .../python/python3-fasteners_0.17.3.bb | 7 +------ .../python/python3-flask-migrate_3.1.0.bb | 2 +- .../python/python3-flask-socketio_5.1.1.bb | 2 +- .../python/python3-frozenlist_1.3.0.bb | 2 +- .../python/python3-httplib2_0.20.4.bb | 2 +- .../python/python3-humanize_4.0.0.bb | 2 +- .../python/python3-hyperlink_21.0.0.bb | 2 +- .../recipes-devtools/python/python3-icu_2.8.1.bb | 2 +- .../recipes-devtools/python/python3-iso3166_2.0.2.bb | 2 +- .../python/python3-license-expression_21.6.14.bb | 7 ++----- .../python/python3-luma-core_2.3.1.bb | 4 +--- .../recipes-devtools/python/python3-lz4_4.0.0.bb | 2 +- .../recipes-devtools/python/python3-mypy_0.910.bb | 2 +- .../python/python3-ordered-set_4.1.0.bb | 2 +- .../recipes-devtools/python/python3-pint_0.18.bb | 2 +- .../python/python3-pyhamcrest_2.0.3.bb | 2 +- .../recipes-devtools/python/python3-pynacl_1.5.0.bb | 3 +-- .../recipes-devtools/python/python3-pyrad_2.4.bb | 2 +- .../python/python3-pyscaffold_4.1.5.bb | 2 +- .../python/python3-pytest-forked_1.4.0.bb | 2 +- .../python3-pytest-helpers-namespace_2021.4.29.bb | 12 +----------- .../python/python3-pytest-html_3.1.1.bb | 3 +-- .../python/python3-pytest-runner_5.3.1.bb | 4 ++-- .../python/python3-pytest-xdist_2.5.0.bb | 2 +- .../python3-pytz-deprecation-shim_0.1.0.post0.bb | 7 +------ .../recipes-devtools/python/python3-pyzmq_22.3.0.bb | 2 +- .../python/python3-simpleeval_0.9.12.bb | 6 +----- .../python/python3-socketio_5.5.2.bb | 2 +- .../python/python3-soupsieve_2.3.1.bb | 2 +- .../recipes-devtools/python/python3-tqdm_4.63.0.bb | 2 +- .../python/python3-traitlets_5.1.1.bb | 2 +- .../recipes-devtools/python/python3-twine_3.8.0.bb | 7 +------ .../python/python3-twisted_22.2.0.bb | 2 +- .../python/python3-typeguard_2.13.3.bb | 2 +- .../recipes-devtools/python/python3-tzlocal_4.1.bb | 2 +- .../python/python3-waitress_2.1.0.bb | 2 +- .../python/python3-yamlloader_1.1.0.bb | 2 +- 47 files changed, 51 insertions(+), 94 deletions(-)
meta-python/recipes-devtools/python/python3-aiohttp_3.8.1.bb +2 -1
@@ -7,7 +7,8 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=8074d6c6e217873b2a018a4522243ea3" SRC_URI[sha256sum] = "fc5471e1a54de15ef71c1bc6ebe80d4dc681ea600e68bfd1cbce40427f0b7578" PYPI_PACKAGE = "aiohttp" -inherit setuptools3 pypi +inherit setuptools_build_meta pypi + RDEPENDS:${PN} = "\ ${PYTHON_PN}-async-timeout \ ${PYTHON_PN}-attrs \
meta-python/recipes-devtools/python/python3-ansi2html_1.7.0.bb +1 -6
@@ -7,7 +7,7 @@ PYPI_PACKAGE = "ansi2html" SRC_URI[sha256sum] = "69316be8c68ac91c5582d397c2890e69c993cc7cda52062ac7e45fcb660d8edc" -inherit pypi setuptools3 +inherit pypi setuptools_build_meta DEPENDS += " \ ${PYTHON_PN}-setuptools-scm-native \
@@ -18,8 +18,3 @@ RDEPENDS:${PN} = " \ ${PYTHON_PN}-six \ ${PYTHON_PN}-compression \ " - -do_compile:prepend() { - echo "from setuptools import setup" > ${S}/setup.py - echo "setup()" >> ${S}/setup.py -}
meta-python/recipes-devtools/python/python3-asttokens_2.0.5.bb +2 -5
@@ -5,13 +5,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" PYPI_PACKAGE = "asttokens" -inherit pypi setuptools3 +inherit pypi setuptools_build_meta SRC_URI[sha256sum] = "9a54c114f02c7a9480d56550932546a3f1fe71d8a02f1bc7ccd0ee3ee35cf4d5" -DEPENDS += "\ - python3-setuptools-scm-native \ - python3-wheel-native \ -" +DEPENDS += "python3-setuptools-scm-native" BBCLASSEXTEND = "native"
meta-python/recipes-devtools/python/python3-async-timeout_4.0.2.bb +1 -1
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=4fa41f15bb5f23b6d3560c5845eb8d57" SRC_URI[sha256sum] = "2163e1640ddb52b7a8c80d0a67a08587e5d245cc9c553a74a847056bc2976b15" PYPI_PACKAGE = "async-timeout" -inherit pypi setuptools3 +inherit pypi setuptools_build_meta RDEPENDS:${PN} = "\ ${PYTHON_PN}-asyncio \
meta-python/recipes-devtools/python/python3-bcrypt_3.2.0.bb +1 -1
@@ -7,7 +7,7 @@ DEPENDS += "${PYTHON_PN}-cffi-native" SRC_URI[md5sum] = "fe31390dab603728f756cd3d6830c80a" SRC_URI[sha256sum] = "5b93c1726e50a93a033c36e5ca7fdcd29a5c7395af50a6892f5d9e7c6cfbfb29" -inherit pypi setuptools3 ptest +inherit pypi setuptools_build_meta ptest SRC_URI += " \ file://run-ptest \
meta-python/recipes-devtools/python/python3-bidict_0.21.4.bb +1 -1
@@ -6,6 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=9741c346eef56131163e13b9db1241b3" SRC_URI[sha256sum] = "42c84ffbe6f8de898af6073b4be9ea7ccedcd78d3474aa844c54e49d5a079f6f" -inherit pypi setuptools3 +inherit pypi setuptools_build_meta DEPENDS += "python3-setuptools-scm-native"
meta-python/recipes-devtools/python/python3-cachetools_4.2.4.bb +1 -1
@@ -8,7 +8,7 @@ SECTION = "devel/python" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=439a07e400525964c3c82684146e46eb" -inherit pypi setuptools3 ptest +inherit pypi setuptools_build_meta ptest SRC_URI += " \ file://run-ptest \
meta-python/recipes-devtools/python/python3-cbor2_5.4.2.bb +1 -1
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7ca SRC_URI[sha256sum] = "e283e70b55a049ff364cc5e648fde587e4d9b0e87e4b2664c69e639135e6b3b8" -inherit pypi setuptools3 ptest +inherit pypi setuptools_build_meta ptest SRC_URI += " \ file://run-ptest \
meta-python/recipes-devtools/python/python3-dateutil_2.8.2.bb +1 -1
@@ -8,7 +8,7 @@ SRC_URI[sha256sum] = "0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb48 PYPI_PACKAGE = "python-dateutil" PIP_INSTALL_PACKAGE = "python_dateutil" -inherit pypi setuptools3 +inherit pypi setuptools_build_meta PACKAGES =+ "${PN}-zoneinfo" FILES:${PN}-zoneinfo = "${libdir}/${PYTHON_DIR}/site-packages/dateutil/zoneinfo"
meta-python/recipes-devtools/python/python3-engineio_4.3.1.bb +1 -1
@@ -5,7 +5,7 @@ SECTION = "devel/python" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=42d0a9e728978f0eeb759c3be91536b8" -inherit pypi setuptools3 +inherit pypi setuptools_build_meta PYPI_PACKAGE = "python-engineio"
meta-python/recipes-devtools/python/python3-fasteners_0.17.3.bb +1 -6
@@ -5,14 +5,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=4476c4be31402271e101d9a4a3430d52" SRC_URI[sha256sum] = "a9a42a208573d4074c77d041447336cf4e3c1389a256fd3e113ef59cf29b7980" -inherit pypi setuptools3 +inherit pypi setuptools_build_meta RDEPENDS:${PN} += "\ ${PYTHON_PN}-logging \ ${PYTHON_PN}-fcntl \ " - -do_compile:prepend() { - echo "from setuptools import setup" > ${S}/setup.py - echo "setup()" >> ${S}/setup.py -}
meta-python/recipes-devtools/python/python3-flask-migrate_3.1.0.bb +1 -1
@@ -6,7 +6,7 @@ SRC_URI[sha256sum] = "57d6060839e3a7f150eaab6fe4e726d9e3e7cffe2150fb223d73f92421 PYPI_PACKAGE = "Flask-Migrate" -inherit pypi setuptools3 +inherit pypi setuptools_build_meta RDEPENDS:${PN} += "\ ${PYTHON_PN}-flask-sqlalchemy \
meta-python/recipes-devtools/python/python3-flask-socketio_5.1.1.bb +1 -1
@@ -5,7 +5,7 @@ SECTION = "devel/python" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=38cc21254909604298ce763a6e4440a0" -inherit pypi setuptools3 +inherit pypi setuptools_build_meta PYPI_PACKAGE = "Flask-SocketIO"
meta-python/recipes-devtools/python/python3-frozenlist_1.3.0.bb +1 -1
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=cf056e8e7a0a5477451af18b7b5aa98c" SRC_URI[sha256sum] = "ce6f2ba0edb7b0c1d8976565298ad2deba6f8064d2bebb6ffce2ca896eb35b0b" -inherit pypi setuptools3 +inherit pypi setuptools_build_meta BBCLASSEXTEND = "native nativesdk"
meta-python/recipes-devtools/python/python3-httplib2_0.20.4.bb +1 -1
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=56e5e931172b6164b62dc7c4aba6c8cf" SRC_URI[sha256sum] = "58a98e45b4b1a48273073f905d2961666ecf0fbac4250ea5b47aef259eb5c585" -inherit pypi setuptools3 +inherit pypi setuptools_build_meta RDEPENDS:${PN} += "\ ${PYTHON_PN}-compression \
meta-python/recipes-devtools/python/python3-humanize_4.0.0.bb +1 -1
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENCE;md5=4ecc42519e84f6f3e23529464df7bd1d" SRC_URI[sha256sum] = "ee1f872fdfc7d2ef4a28d4f80ddde9f96d36955b5d6b0dac4bdeb99502bddb00" -inherit pypi setuptools3 +inherit pypi setuptools_build_meta DEPENDS += "\ ${PYTHON_PN}-setuptools-scm-native \
meta-python/recipes-devtools/python/python3-hyperlink_21.0.0.bb +1 -1
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=6dc5b4bd3d02faedf08461621aa2aeca" SRC_URI[sha256sum] = "427af957daa58bc909471c6c40f74c5450fa123dd093fc53efd2e91d2705a56b" -inherit pypi setuptools3 +inherit pypi setuptools_build_meta RDEPENDS:${PN} += "${PYTHON_PN}-stringold ${PYTHON_PN}-netclient ${PYTHON_PN}-idna"
meta-python/recipes-devtools/python/python3-icu_2.8.1.bb +1 -1
@@ -12,4 +12,4 @@ SRC_URI[sha256sum] = "f0b9549a87f87ba7c413f13679d137271e0b37f1f39b0109ace38257d4 SRC_URI += "file://0001-Fix-host-contamination-of-include-files.patch" -inherit pkgconfig pypi setuptools3 +inherit pkgconfig pypi setuptools_build_meta
meta-python/recipes-devtools/python/python3-iso3166_2.0.2.bb +1 -1
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=5e2f4edc7e7408a82e4a1d05f229b695" SRC_URI[sha256sum] = "04d02cfcfc18a6f8a9a4edb4d0a55e2e4fc575626c29d702f750de415e88d372" -inherit pypi setuptools3 ptest +inherit pypi setuptools_build_meta ptest SRC_URI += " \ file://run-ptest \
meta-python/recipes-devtools/python/python3-license-expression_21.6.14.bb +2 -5
@@ -6,12 +6,9 @@ LIC_FILES_CHKSUM = "file://apache-2.0.LICENSE;md5=9429839cdc4b292ff46e88b524c6e0 SRC_URI[sha256sum] = "9de87a427c9a449eee7913472fb9ed03b63036295547369fdbf95f76a8b924b2" -inherit pypi ptest setuptools3 +inherit pypi ptest setuptools_build_meta -DEPENDS += "\ - ${PYTHON_PN}-setuptools-scm-native \ - ${PYTHON_PN}-wheel-native \ -" +DEPENDS += "${PYTHON_PN}-setuptools-scm-native" RDEPENDS:${PN} += "\ ${PYTHON_PN}-booleanpy \
meta-python/recipes-devtools/python/python3-luma-core_2.3.1.bb +1 -3
@@ -4,12 +4,10 @@ HOMEPAGE = "https://github.com/rm-hull/luma.core" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=3b1d500f5911ec7522f1f790d616e0ee" -inherit pypi setuptools3 +inherit pypi setuptools_build_meta SRC_URI[sha256sum] = "f293f5fff8946eea62af3a5d5d7da55c37d2b64aac6c9c90180a385da9f7d003" -CLEANBROKEN = "1" - PYPI_PACKAGE = "luma.core" RDEPENDS:${PN} += " \
meta-python/recipes-devtools/python/python3-lz4_4.0.0.bb +1 -1
@@ -10,6 +10,6 @@ DEPENDS += " \ SRC_URI[sha256sum] = "57c5dfd3b7dae833b0d2b2c1aafd7f9d0dfcab40683d183d010c67c9fd1beca3" -inherit pypi setuptools3 +inherit pypi setuptools_build_meta BBCLASSEXTEND = "native nativesdk"
meta-python/recipes-devtools/python/python3-mypy_0.910.bb +1 -1
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=17b7180fcfc43c4e70c07c71588604c4" PYPI_PACKAGE = "mypy" -inherit pypi setuptools3 +inherit pypi setuptools_build_meta SRC_URI[sha256sum] = "704098302473cb31a218f1775a873b376b30b4c18229421e9e9dc8916fd16150"
meta-python/recipes-devtools/python/python3-ordered-set_4.1.0.bb +1 -1
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://MIT-LICENSE;md5=3bf5e1ad64c0d99032c3143361fa234e" SRC_URI[sha256sum] = "694a8e44c87657c59292ede72891eb91d34131f6531463aab3009191c77364a8" -inherit pypi setuptools3 ptest +inherit pypi flit_core ptest DEPENDS += "python3-pytest-runner-native"
meta-python/recipes-devtools/python/python3-pint_0.18.bb +1 -1
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=bccf824202692270a1e0829a62e3f47b" PYPI_PACKAGE := "Pint" -inherit pypi ptest setuptools3 +inherit pypi ptest setuptools_build_meta SRC_URI[sha256sum] = "8c4bce884c269051feb7abc69dbfd18403c0c764abc83da132e8a7222f8ba801"
meta-python/recipes-devtools/python/python3-pyhamcrest_2.0.3.bb +1 -1
@@ -7,6 +7,6 @@ PYPI_PACKAGE = "PyHamcrest" SRC_URI[sha256sum] = "dfb19cf6d71743e086fbb761ed7faea5aacbc8ec10c17a08b93ecde39192a3db" -inherit pypi setuptools3 +inherit pypi setuptools_build_meta RDEPENDS:${PN} += "${PYTHON_PN}-six"
meta-python/recipes-devtools/python/python3-pynacl_1.5.0.bb +1 -2
@@ -8,10 +8,9 @@ SRC_URI[sha256sum] = "8ac7448f09ab85811607bdd21ec2464495ac8b7c66d146bf545b0f08fb PYPI_PACKAGE = "PyNaCl" -inherit pypi setuptools3 +inherit pypi setuptools_build_meta DEPENDS += "\ - ${PYTHON_PN}-wheel-native \ ${PYTHON_PN}-cffi-native \ libsodium \ "
meta-python/recipes-devtools/python/python3-pyrad_2.4.bb +1 -1
@@ -6,4 +6,4 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e910b35b0ef4e1f665 PYPI_PACKAGE = "pyrad" SRC_URI[sha256sum] = "057de4b7e89d8da57ba782c1bde45c63ebee720ae2c0b0a69beaff15c47e30d9" -inherit pypi setuptools3 +inherit pypi poetry_core
meta-python/recipes-devtools/python/python3-pyscaffold_4.1.5.bb +1 -1
@@ -11,7 +11,7 @@ DEPENDS += "python3-setuptools-scm-native" SRC_URI[sha256sum] = "55f6532fd6d62b3b698d604257f7a7eda6a87557bbec22760f8c0d9549454802" -inherit pypi setuptools3 +inherit pypi setuptools_build_meta PYPI_PACKAGE = "PyScaffold" RDEPENDS:${PN} += " \
meta-python/recipes-devtools/python/python3-pytest-forked_1.4.0.bb +1 -1
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=772fcdaca14b378878d05c7d857e6c3e" SRC_URI[sha256sum] = "8b67587c8f98cbbadfdd804539ed5455b6ed03802203485dd2f53c1422d7440e" -inherit pypi setuptools3 +inherit pypi setuptools_build_meta DEPENDS += "python3-setuptools-scm-native"
meta-python/recipes-devtools/python/python3-pytest-helpers-namespace_2021.4.29.bb +1 -11
@@ -6,17 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=440a4cdb311cd7ad181efb4cba06d562" SRC_URI[sha256sum] = "183524e3db4e2a1fea92e0ca3662a624ba44c9f3568da15679d7535ba6838a6a" -inherit pypi setuptools3 - -# Workaround for network access issue during compile step -# this needs to be fixed in the recipes buildsystem to move -# this such that it can be accomplished during do_fetch task -do_compile[network] = "1" - -DEPENDS += "\ - ${PYTHON_PN}-wheel-native \ - ${PYTHON_PN}-pip-native \ -" +inherit pypi setuptools_build_meta RDEPENDS:${PN} += " \ ${PYTHON_PN}-pytest \
meta-python/recipes-devtools/python/python3-pytest-html_3.1.1.bb +1 -2
@@ -6,10 +6,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=5d425c8f3157dbf212db2ec53d9e5132" SRC_URI[sha256sum] = "3ee1cf319c913d19fe53aeb0bc400e7b0bc2dbeb477553733db1dad12eb75ee3" - PYPI_PACKAGE = "pytest-html" -inherit pypi setuptools3 +inherit pypi setuptools_build_meta RDEPENDS:${PN} += " \ ${PYTHON_PN}-pytest \
meta-python/recipes-devtools/python/python3-pytest-runner_5.3.1.bb +2 -2
@@ -4,8 +4,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=7a7126e068206290f3fe9f8d6c713ea6" SRC_URI[sha256sum] = "0fce5b8dc68760f353979d99fdd6b3ad46330b6b1837e2077a89ebcf204aac91" -inherit pypi setuptools3 -PIP_INSTALL_PACKAGE = "pytest_runner" +inherit pypi setuptools_build_meta + DEPENDS += " \ ${PYTHON_PN}-setuptools-scm-native"
meta-python/recipes-devtools/python/python3-pytest-xdist_2.5.0.bb +1 -1
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=772fcdaca14b378878d05c7d857e6c3e" SRC_URI[sha256sum] = "4580deca3ff04ddb2ac53eba39d76cb5dd5edeac050cb6fbc768b0dd712b4edf" -inherit pypi setuptools3 +inherit pypi setuptools_build_meta DEPENDS += "python3-setuptools-scm-native"
meta-python/recipes-devtools/python/python3-pytz-deprecation-shim_0.1.0.post0.bb +1 -6
@@ -8,9 +8,4 @@ SRC_URI[sha256sum] = "af097bae1b616dde5c5744441e2ddc69e74dfdcb0c263129610d85b874 PYPI_PACKAGE = "pytz_deprecation_shim" PYPI_SRC_URI = "https://files.pythonhosted.org/packages/94/f0/909f94fea74759654390a3e1a9e4e185b6cd9aa810e533e3586f39da3097/${PYPI_PACKAGE}-${PV}.tar.gz" -inherit pypi setuptools3 - -do_compile:prepend() { - echo "from setuptools import setup" > ${S}/setup.py - echo "setup()" >> ${S}/setup.py -} +inherit pypi setuptools_build_meta
meta-python/recipes-devtools/python/python3-pyzmq_22.3.0.bb +1 -1
@@ -8,7 +8,7 @@ DEPENDS = "zeromq" SRC_URI += "file://club-rpath-out.patch" SRC_URI[sha256sum] = "8eddc033e716f8c91c6a2112f0a8ebc5e00532b4a6ae1eb0ccc48e027f9c671c" -inherit pypi pkgconfig setuptools3 +inherit pypi pkgconfig setuptools_build_meta RDEPENDS:${PN} += " \ ${PYTHON_PN}-multiprocessing \
meta-python/recipes-devtools/python/python3-simpleeval_0.9.12.bb +1 -5
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENCE;md5=dc9277482effe59b734b004cbcc1fee7" SRC_URI[sha256sum] = "3e0be507486d4e21cf9d08847c7e57dd61a1603950399985f7c5a0be7fd33e36" -inherit pypi setuptools3 ptest +inherit pypi setuptools_build_meta ptest BBCLASSEXTEND = "native nativesdk"
@@ -21,10 +21,6 @@ RDEPENDS:${PN}-ptest += " \ ${PYTHON_PN}-pytest \ " -do_configure:prepend() { - sed -i -e "/use_2to3=True,/d" ${S}/setup.py -} - do_install_ptest() { cp -f ${S}/test_simpleeval.py ${D}${PTEST_PATH}/ }
meta-python/recipes-devtools/python/python3-socketio_5.5.2.bb +1 -1
@@ -5,7 +5,7 @@ SECTION = "devel/python" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=42d0a9e728978f0eeb759c3be91536b8" -inherit pypi setuptools3 +inherit pypi setuptools_build_meta PYPI_PACKAGE = "python-socketio"
meta-python/recipes-devtools/python/python3-soupsieve_2.3.1.bb +1 -1
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.md;md5=33c3a77def9b3ad83e01c65bdcc1af67" SRC_URI[sha256sum] = "b8d49b1cd4f037c7082a9683dfa1801aa2597fb11c3a1155b7a5b94829b4f1f9" -inherit pypi setuptools3 ptest +inherit pypi setuptools_build_meta ptest SRC_URI += " \ file://run-ptest \
meta-python/recipes-devtools/python/python3-tqdm_4.63.0.bb +1 -1
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENCE;md5=1672e2674934fd93a31c09cf17f34100" SRC_URI[sha256sum] = "1d9835ede8e394bb8c9dcbffbca02d717217113adc679236873eeaac5bc0b3cd" -inherit pypi setuptools3 +inherit pypi setuptools_build_meta DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
meta-python/recipes-devtools/python/python3-traitlets_5.1.1.bb +1 -1
@@ -13,4 +13,4 @@ RDEPENDS:${PN} = "\ ${PYTHON_PN}-decorator \ " -inherit setuptools3 pypi +inherit pypi setuptools_build_meta
meta-python/recipes-devtools/python/python3-twine_3.8.0.bb +1 -6
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=a3d1106b253a8d50dd82a4202a045b4c" SRC_URI[sha256sum] = "8efa52658e0ae770686a13b675569328f1fba9837e5de1867bfe5f46a9aefe19" -inherit pypi setuptools3 +inherit pypi setuptools_build_meta DEPENDS += "\ ${PYTHON_PN}-setuptools-scm-native \
@@ -15,9 +15,4 @@ RDEPENDS:${PN} += " \ ${PYTHON_PN}-importlib-metadata \ " -do_compile:prepend() { - echo "from setuptools import setup" > ${S}/setup.py - echo "setup()" >> ${S}/setup.py -} - BBCLASSEXTEND = "native"
meta-python/recipes-devtools/python/python3-twisted_22.2.0.bb +1 -1
@@ -11,7 +11,7 @@ SRC_URI[sha256sum] = "57f32b1f6838facb8c004c89467840367ad38e9e535f8252091345dba5 PYPI_PACKAGE = "Twisted" -inherit pypi setuptools3 +inherit pypi setuptools_build_meta do_install:append() { # remove some useless files before packaging
meta-python/recipes-devtools/python/python3-typeguard_2.13.3.bb +1 -1
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=f0e423eea5c91e7aa21bdb70184b3e53" SRC_URI[sha256sum] = "00edaa8da3a133674796cf5ea87d9f4b4c367d77476e185e80251cc13dfbb8c4" -inherit pypi setuptools3 ptest +inherit pypi setuptools_build_meta ptest SRC_URI += " \ file://run-ptest \
meta-python/recipes-devtools/python/python3-tzlocal_4.1.bb +1 -1
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=57e0bd61643d81d05683cdce65b11d10" SRC_URI[sha256sum] = "0f28015ac68a5c067210400a9197fc5d36ba9bc3f8eaf1da3cbd59acdfed9e09" -inherit pypi setuptools3 +inherit pypi setuptools_build_meta RDEPENDS:${PN} += "\ ${PYTHON_PN}-pytz-deprecation-shim \
meta-python/recipes-devtools/python/python3-waitress_2.1.0.bb +1 -1
@@ -8,4 +8,4 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=78ccb3640dc841e1baecb3e27a6966b2" SRC_URI[sha256sum] = "ec8a8d9b6b15f3bb2c1a82b8f3929a029c333c35fcafb08c185a9e562d8cc9c2" -inherit setuptools3 pypi +inherit setuptools_build_meta pypi
meta-python/recipes-devtools/python/python3-yamlloader_1.1.0.bb +1 -1
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=6831ef36faa29329bce2420c5356f97e" SRC_URI[sha256sum] = "8a297c7a197683ba02e5e2b882ffd6c6180d01bdefb534b69cd3962df020bfe6" -inherit pypi setuptools3 +inherit pypi setuptools_build_meta RDEPENDS:${PN}:class-target += "\ ${PYTHON_PN}-pyyaml \
Signature · 1 line
2.25.1