python3-yarl: update recipe to use the ptest-python-pytest class
PATCH 1/13 python3-yarl: update recipe to use the ptest-python-pytest class
--- .../recipes-devtools/python/python3-yarl/run-ptest | 3 --- .../recipes-devtools/python/python3-yarl_1.18.3.bb | 8 +------- 2 files changed, 1 insertion(+), 10 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-yarl/run-ptest
meta-python/recipes-devtools/python/python3-yarl/run-ptest deleted +0 -3
@@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake
meta-python/recipes-devtools/python/python3-yarl_1.18.3.bb +1 -7
@@ -5,11 +5,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" SRC_URI[sha256sum] = "ac1801c45cbf77b6c99242eeff4fffb5e4e73a800b5c4ad4fc0be5def634d2e1" -SRC_URI += "file://run-ptest" - PYPI_PACKAGE = "yarl" -inherit pypi ptest python_setuptools_build_meta cython +inherit pypi ptest-python-pytest python_setuptools_build_meta cython DEPENDS += " \ python3-expandvars-native \
@@ -31,7 +29,3 @@ RDEPENDS:${PN}-ptest += " \ python3-unittest-automake-output \ " -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -}
Signature · 1 line
2.34.1
PATCH 2/13 python3-yappi: update recipe to use the ptest-python-pytest class
--- .../recipes-devtools/python/python3-yappi/run-ptest | 3 --- .../recipes-devtools/python/python3-yappi_1.6.10.bb | 8 +++----- 2 files changed, 3 insertions(+), 8 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-yappi/run-ptest
meta-python/recipes-devtools/python/python3-yappi/run-ptest deleted +0 -3
@@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake
meta-python/recipes-devtools/python/python3-yappi_1.6.10.bb +3 -5
@@ -6,12 +6,12 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=71c208c9a4fd864385eb69ad4caa3bee" SRC_URI[sha256sum] = "463b822727658937bd95a7d80ca9758605b8cd0014e004e9e520ec9cb4db0c92" -SRC_URI += "file://run-ptest \ +SRC_URI += " \ file://0001-test_functionality-convert-line-endings-to-Unix.patch \ file://0002-Fix-import-of-tests.utils-to-enable-pytest.patch \ " -inherit pypi python_setuptools_build_meta ptest +inherit pypi python_setuptools_build_meta ptest-python-pytest RDEPENDS:${PN} += "\ python3-datetime \
@@ -28,9 +28,7 @@ RDEPENDS:${PN}-ptest += " \ python3-zopeinterface \ " -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests ${D}${PTEST_PATH} +do_install_ptest:append() { cp -f ${S}/run_tests.py ${D}${PTEST_PATH} }
Signature · 1 line
2.34.1
PATCH 3/13 python3-xlrd: update recipe to use the ptest-python-pytest class
In reply to Derek Straka--- .../recipes-devtools/python/python3-xlrd/run-ptest | 3 --- meta-python/recipes-devtools/python/python3-xlrd_2.0.1.bb | 8 +------- 2 files changed, 1 insertion(+), 10 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-xlrd/run-ptest
meta-python/recipes-devtools/python/python3-xlrd/run-ptest deleted +0 -3
@@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake
meta-python/recipes-devtools/python/python3-xlrd_2.0.1.bb +1 -7
@@ -10,13 +10,12 @@ SRC_URI[sha256sum] = "f72f148f54442c6b056bf931dbc34f986fd0c3b0b6b5a58d013c9aef27 SRC_URI = "git://github.com/python-excel/xlrd.git;branch=master;protocol=https \ - file://run-ptest \ " SRCREV = "b8d573e11ec149da695d695c81a156232b89a949" S = "${WORKDIR}/git" -inherit ptest setuptools3 +inherit ptest-python-pytest setuptools3 RDEPENDS:${PN} += " \ python3-compression \
@@ -31,9 +30,4 @@ RDEPENDS:${PN}-ptest += " \ python3-unittest-automake-output \ " -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.34.1
PATCH 4/13 python3-wsproto: update recipe to use the ptest-python-pytest class
In reply to Derek Straka--- .../python/python3-wsproto/run-ptest | 3 --- .../python/python3-wsproto_1.2.0.bb | 18 +++--------------- 2 files changed, 3 insertions(+), 18 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-wsproto/run-ptest
meta-python/recipes-devtools/python/python3-wsproto/run-ptest deleted +0 -3
@@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake
meta-python/recipes-devtools/python/python3-wsproto_1.2.0.bb +3 -15
@@ -3,23 +3,11 @@ HOMEPAGE = "https://github.com/python-hyper/wsproto/" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=69fabf732409f4ac61875827b258caaf" -inherit pypi setuptools3 ptest +inherit pypi setuptools3 ptest-python-pytest -SRC_URI[sha256sum] = "ad565f26ecb92588a3e43bc3d96164de84cd9902482b130d0ddbaa9664a85065" - -SRC_URI += " \ - file://run-ptest \ -" +PTEST_PYTEST_DIR = "test" -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/test/* ${D}${PTEST_PATH}/tests/ -} +SRC_URI[sha256sum] = "ad565f26ecb92588a3e43bc3d96164de84cd9902482b130d0ddbaa9664a85065" RDEPENDS:${PN} += " \ python3-h11 \
Signature · 1 line
2.34.1
PATCH 5/13 python3-wrapt: update recipe to use the ptest-python-pytest class
In reply to Derek Straka--- .../recipes-devtools/python/python3-wrapt/run-ptest | 3 --- .../recipes-devtools/python/python3-wrapt_1.17.0.bb | 10 +--------- 2 files changed, 1 insertion(+), 12 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-wrapt/run-ptest
meta-python/recipes-devtools/python/python3-wrapt/run-ptest deleted +0 -3
@@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake
meta-python/recipes-devtools/python/python3-wrapt_1.17.0.bb +1 -9
@@ -6,11 +6,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=dc34cbad60bc961452eb7ade801d25f7" SRC_URI[sha256sum] = "5f370f952971e7d17c7d1ead40e49f32345a7f7a5373571ef44d800d06b1899d" -inherit setuptools3 ptest +inherit setuptools3 ptest-python-pytest SRCREV = "e663d4910a81d666786ac773ad7c16199b01d31b" SRC_URI += "git://github.com/GrahamDumpleton/wrapt;protocol=https;branch=develop \ - file://run-ptest \ " S = "${WORKDIR}/git"
@@ -18,15 +17,8 @@ S = "${WORKDIR}/git" # python3-misc for 'this' module RDEPENDS:${PN}-ptest += " \ python3-misc \ - python3-pytest \ - python3-unittest-automake-output \ " -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - RDEPENDS:${PN}:class-target += "\ python3-stringold \ python3-threading \
Signature · 1 line
2.34.1
PATCH 6/13 python3-validators: update recipe to use the ptest-python-pytest class
In reply to Derek Straka--- .../python/python3-validators/run-ptest | 3 --- .../python/python3-validators_0.34.0.bb | 13 +------------ 2 files changed, 1 insertion(+), 15 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-validators/run-ptest
meta-python/recipes-devtools/python/python3-validators/run-ptest deleted +0 -3
@@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake
meta-python/recipes-devtools/python/python3-validators_0.34.0.bb +1 -12
@@ -5,26 +5,15 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b3fb4b9e6db86c69a33d5e3ee013ab59" SRC_URI[sha256sum] = "647fe407b45af9a74d245b943b18e6a816acf4926974278f6dd617778e1e781f" -inherit pypi python_setuptools_build_meta ptest - -SRC_URI += " \ - file://run-ptest \ -" +inherit pypi python_setuptools_build_meta ptest-python-pytest RDEPENDS:${PN}-ptest += " \ python3-decorator \ python3-eth-hash \ python3-isort \ python3-pycryptodome \ - python3-pytest \ - python3-unittest-automake-output \ " -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - RDEPENDS:${PN} += " \ python3-crypt \ python3-datetime \
Signature · 1 line
2.34.1
PATCH 7/13 python3-uritemplate: update recipe to use the ptest-python-pytest class
In reply to Derek Straka--- .../python/python3-uritemplate/run-ptest | 3 --- .../python/python3-uritemplate_4.1.1.bb | 16 +--------------- 2 files changed, 1 insertion(+), 18 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-uritemplate/run-ptest
meta-python/recipes-devtools/python/python3-uritemplate/run-ptest deleted +0 -3
@@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake
meta-python/recipes-devtools/python/python3-uritemplate_4.1.1.bb +1 -15
@@ -7,20 +7,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=0f6d769bdcfacac3c1a1ffa568937fe0" SRC_URI[sha256sum] = "4346edfc5c3b79f694bccd6d6099a322bbeb628dbf2cd86eea55a456ce5124f0" -inherit pypi setuptools3 ptest - -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} +inherit pypi setuptools3 ptest-python-pytest BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.34.1
PATCH 8/13 python3-unidiff: update recipe to use the ptest-python-pytest class
In reply to Derek Straka--- .../python/python3-unidiff/run-ptest | 3 --- .../python/python3-unidiff_0.7.5.bb | 16 +--------------- 2 files changed, 1 insertion(+), 18 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-unidiff/run-ptest
meta-python/recipes-devtools/python/python3-unidiff/run-ptest deleted +0 -3
@@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake
meta-python/recipes-devtools/python/python3-unidiff_0.7.5.bb +1 -15
@@ -5,21 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=4c434b08ef42fea235bb019b5e5a97b3" SRC_URI[sha256sum] = "2e5f0162052248946b9f0970a40e9e124236bf86c82b70821143a6fc1dea2574" -inherit pypi setuptools3 ptest - -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} +inherit pypi setuptools3 ptest-python-pytest RDEPENDS:${PN} += " \ python3-codecs \
Signature · 1 line
2.34.1
PATCH 9/13 python3-ujson: update recipe to use the ptest-python-pytest class
In reply to Derek Straka--- .../recipes-devtools/python/python3-ujson/run-ptest | 3 --- .../recipes-devtools/python/python3-ujson_5.10.0.bb | 13 +------------ 2 files changed, 1 insertion(+), 15 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-ujson/run-ptest
meta-python/recipes-devtools/python/python3-ujson/run-ptest deleted +0 -3
@@ -1,3 +0,0 @@ -#!/bin/sh - -FORCE_COLOR=1 pytest --automake --capture=no
meta-python/recipes-devtools/python/python3-ujson_5.10.0.bb +1 -12
@@ -6,17 +6,13 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e0039a83d8a99726b5 SRC_URI[sha256sum] = "b3cd8f3c5d8c7738257f1018880444f7b7d9b66232c64649f562d7ba86ad4bc1" -inherit pypi ptest python_setuptools_build_meta +inherit pypi ptest-python-pytest python_setuptools_build_meta # let OE do the strip operation export UJSON_BUILD_NO_STRIP = "1" DEPENDS += "python3-setuptools-scm-native" -SRC_URI += " \ - file://run-ptest \ -" - RDEPENDS:${PN} += "\ python3-datetime \ python3-numbers \
@@ -25,14 +21,7 @@ RDEPENDS:${PN} += "\ RDEPENDS:${PN}-ptest += " \ python3-json \ python3-misc \ - python3-pytest \ python3-pytz \ - python3-unittest-automake-output \ " -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.34.1
PATCH 10/13 python3-u-msgpack-python: update recipe to use the ptest-python-pytest class
In reply to Derek Straka--- .../python/python3-u-msgpack-python/run-ptest | 3 --- .../python/python3-u-msgpack-python_2.8.0.bb | 13 ++----------- 2 files changed, 2 insertions(+), 14 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-u-msgpack-python/run-ptest
meta-python/recipes-devtools/python/python3-u-msgpack-python/run-ptest deleted +0 -3
@@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake
meta-python/recipes-devtools/python/python3-u-msgpack-python_2.8.0.bb +2 -11
@@ -5,18 +5,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=17df11353545c53a2df0ce7655859306" SRC_URI[sha256sum] = "b801a83d6ed75e6df41e44518b4f2a9c221dc2da4bcd5380e3a0feda520bc61a" -inherit pypi setuptools3 ptest +inherit pypi setuptools3 ptest-python-pytest -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" - -do_install_ptest() { +do_install_ptest:append() { cp -f ${S}/test_umsgpack.py ${D}${PTEST_PATH}/ }
Signature · 1 line
2.34.1
PATCH 11/13 python3-tzdata: update recipe to use the ptest-python-pytest class
In reply to Derek Straka--- .../recipes-devtools/python/python3-tzdata/run-ptest | 3 --- .../recipes-devtools/python/python3-tzdata_2024.2.bb | 11 ++--------- 2 files changed, 2 insertions(+), 12 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-tzdata/run-ptest
meta-python/recipes-devtools/python/python3-tzdata/run-ptest deleted +0 -3
@@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake
meta-python/recipes-devtools/python/python3-tzdata_2024.2.bb +2 -9
@@ -6,20 +6,13 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=fca9fd5c15a28eb874ba38577a585d48 \ SRC_URI[sha256sum] = "7d85cc416e9382e69095b7bdf4afd9e3880418a2413feec7069d533d6b4e31cc" -inherit pypi python_setuptools_build_meta - -inherit ptest - -SRC_URI += "file://run-ptest" +inherit pypi python_setuptools_build_meta ptest-python-pytest RDEPENDS:${PN}-ptest += "\ python3-attrs \ - python3-pytest \ python3-pytest-subtests \ - python3-unittest-automake-output \ " -do_install_ptest() { - cp -rf ${S}/tests/ ${D}${PTEST_PATH}/ +do_install_ptest:append() { install ${S}/VERSION ${D}${PTEST_PATH}/ }
Signature · 1 line
2.34.1
PATCH 12/13 python3-typeguard: update recipe to use the ptest-python-pytest class
In reply to Derek Straka--- .../python/python3-typeguard/run-ptest | 3 --- .../python/python3-typeguard_4.4.1.bb | 13 +------------ 2 files changed, 1 insertion(+), 15 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-typeguard/run-ptest
meta-python/recipes-devtools/python/python3-typeguard/run-ptest deleted +0 -3
@@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake
meta-python/recipes-devtools/python/python3-typeguard_4.4.1.bb +1 -12
@@ -5,11 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=f0e423eea5c91e7aa21bdb70184b3e53" SRC_URI[sha256sum] = "0d22a89d00b453b47c49875f42b6601b961757541a2e1e0ef517b6e24213c21b" -inherit pypi python_setuptools_build_meta ptest - -SRC_URI += " \ - file://run-ptest \ -" +inherit pypi python_setuptools_build_meta ptest-python-pytest RDEPENDS:${PN} += " \ python3-core \
@@ -19,18 +15,11 @@ RDEPENDS:${PN} += " \ " RDEPENDS:${PN}-ptest += " \ - python3-pytest \ python3-typing-extensions \ - python3-unittest-automake-output \ python3-unixadmin \ python3-mypy \ " -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - DEPENDS += "\ python3-distutils-extra-native \ python3-setuptools-scm-native \
Signature · 1 line
2.34.1
PATCH 13/13 python3-trustme: update recipe to use the ptest-python-pytest class
In reply to Derek Straka--- .../python/python3-trustme/run-ptest | 3 --- .../python/python3-trustme_1.2.0.bb | 13 +------------ 2 files changed, 1 insertion(+), 15 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-trustme/run-ptest
meta-python/recipes-devtools/python/python3-trustme/run-ptest deleted +0 -3
@@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake
meta-python/recipes-devtools/python/python3-trustme_1.2.0.bb +1 -12
@@ -6,11 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=d5a7af1a4b73e57431e25d15a2da745a" SRC_URI[sha256sum] = "ed2264fb46c35459e6de9e454ed4bab73be44b6a2a26ad417f9b6854aebb644a" -inherit pypi python_hatchling python_setuptools_build_meta ptest - -SRC_URI += " \ - file://run-ptest \ -" +inherit pypi python_hatchling python_setuptools_build_meta ptest-python-pytest RDEPENDS:${PN} += " \ python3-cryptography \
@@ -23,13 +19,6 @@ RDEPENDS:${PN}-ptest += " \ python3-attrs \ python3-pyopenssl \ python3-pyasn1-modules \ - python3-pytest \ python3-service-identity \ python3-six \ - python3-unittest-automake-output \ " - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -}
Signature · 1 line
2.34.1