python3-dasbus: update recipe to use the ptest-python-pytest class
PATCH 1/11 python3-dasbus: update recipe to use the ptest-python-pytest class
--- .../python/python3-dasbus/run-ptest | 3 --- .../recipes-devtools/python/python3-dasbus_1.7.bb | 13 ++----------- 2 files changed, 2 insertions(+), 14 deletions(-) delete mode 100755 meta-python/recipes-devtools/python/python3-dasbus/run-ptest
meta-python/recipes-devtools/python/python3-dasbus/run-ptest deleted +0 -3
@@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake
meta-python/recipes-devtools/python/python3-dasbus_1.7.bb +2 -11
@@ -5,18 +5,14 @@ LICENSE = "LGPL-2.1-or-later" LIC_FILES_CHKSUM = "file://LICENSE;md5=1803fa9c2c3ce8cb06b4861d75310742" SRC_URI = "git://github.com/dasbus-project/dasbus.git;protocol=https;branch=master \ - file://run-ptest \ " SRCREV = "413cf9a0b7c231468f1d28d9a29dd8dd8bda15c5" S = "${WORKDIR}/git" -inherit setuptools3 ptest - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +inherit setuptools3 ptest-python-pytest +do_install_ptest:append () { # Remove the problematic cases # https://github.com/dasbus-project/dasbus/issues/128 rm -rf ${D}${PTEST_PATH}/tests/lib_dbus.py
@@ -25,8 +21,3 @@ do_install_ptest() { } RDEPENDS:${PN} = "python3-pygobject" - -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -"
Signature · 1 line
2.34.1
PATCH 2/11 python3-bleak: update recipe to use the ptest-python-pytest class
--- .../recipes-devtools/python/python3-bleak/run-ptest | 3 --- .../recipes-devtools/python/python3-bleak_0.22.3.bb | 13 +------------ 2 files changed, 1 insertion(+), 15 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-bleak/run-ptest
meta-python/recipes-devtools/python/python3-bleak/run-ptest deleted +0 -3
@@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake
meta-python/recipes-devtools/python/python3-bleak_0.22.3.bb +1 -12
@@ -6,25 +6,14 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=bcbc2069a86cba1b5e47253679f66ed7" SRCREV = "2e6890f68f6718b4f92e602b9b926aa3d107b556" PYPI_SRC_URI = "git://github.com/hbldh/bleak.git;protocol=https;branch=develop" -inherit pypi python_poetry_core ptest +inherit pypi python_poetry_core ptest-python-pytest S = "${WORKDIR}/git" -SRC_URI += " \ - file://run-ptest \ -" - RDEPENDS:${PN}-ptest += " \ - python3-pytest \ python3-pytest-asyncio \ - python3-unittest-automake-output \ " -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - RDEPENDS:${PN} += " \ python3-core (>3.8) \ python3-dbus-fast \
Signature · 1 line
2.34.1
PATCH 3/11 python3-arrow: update recipe to use the ptest-python-pytest class
In reply to Derek Straka--- .../recipes-devtools/python/python3-arrow/run-ptest | 3 --- .../recipes-devtools/python/python3-arrow_1.3.0.bb | 13 +------------ 2 files changed, 1 insertion(+), 15 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-arrow/run-ptest
meta-python/recipes-devtools/python/python3-arrow/run-ptest deleted +0 -3
@@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake
meta-python/recipes-devtools/python/python3-arrow_1.3.0.bb +1 -12
@@ -6,26 +6,15 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=14a2e29a9d542fb9052d75344d67619d" SRC_URI[sha256sum] = "d4540617648cb5f895730f1ad8c82a65f2dad0166f57b75f3ca54759c4d67a85" -inherit pypi python_flit_core ptest - -SRC_URI += " \ - file://run-ptest \ -" +inherit pypi python_flit_core ptest-python-pytest RDEPENDS:${PN}-ptest += " \ python3-dateutil-zoneinfo \ - python3-pytest \ python3-pytest-mock \ python3-pytz \ python3-simplejson \ - python3-unittest-automake-output \ " -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - RDEPENDS:${PN} += " \ python3-compression \ python3-dateutil \
Signature · 1 line
2.34.1
PATCH 4/11 python3-aspectlib: update recipe to use the ptest-python-pytest class
In reply to Derek Straka--- .../python/python3-aspectlib/run-ptest | 3 --- .../python/python3-aspectlib_2.0.0.bb | 12 +----------- 2 files changed, 1 insertion(+), 14 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-aspectlib/run-ptest
meta-python/recipes-devtools/python/python3-aspectlib/run-ptest deleted +0 -3
@@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake
meta-python/recipes-devtools/python/python3-aspectlib_2.0.0.bb +1 -11
@@ -10,21 +10,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=80721ace117fd1f814049ecb81c6be76" SRC_URI[sha256sum] = "a4b461b9da0b531aebcb93efcde3de808a72c60226dd8d902c467d13faf7ce92" -inherit ptest pypi setuptools3 - -SRC_URI += "file://run-ptest \ - " - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} +inherit ptest-python-pytest pypi setuptools3 RDEPENDS:${PN}-ptest += "\ python3-process-tests \ - python3-pytest \ python3-tornado \ - python3-unittest-automake-output \ " RDEPENDS:${PN} += " \
Signature · 1 line
2.34.1
PATCH 5/11 python3-configobj: update recipe to use the ptest-python-pytest class
In reply to Derek Straka--- .../python/python3-configobj/run-ptest | 3 --- .../python/python3-configobj_5.0.9.bb | 16 ++-------------- 2 files changed, 2 insertions(+), 17 deletions(-) delete mode 100755 meta-python/recipes-devtools/python/python3-configobj/run-ptest
meta-python/recipes-devtools/python/python3-configobj/run-ptest deleted +0 -3
@@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake
meta-python/recipes-devtools/python/python3-configobj_5.0.9.bb +2 -14
@@ -5,23 +5,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=e2df3cb285297a24cd1097dfe6e96f95" SRC_URI[sha256sum] = "03c881bbf23aa07bccf1b837005975993c4ab4427ba57f959afdd9d1a2386848" -inherit pypi python_setuptools_build_meta ptest +inherit pypi python_setuptools_build_meta ptest-python-pytest -SRC_URI += " \ - file://run-ptest \ -" +PTEST_PYTEST_DIR = "src/tests" RDEPENDS:${PN} += " \ python3-pprint \ python3-six \ " - -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/src/tests/* ${D}${PTEST_PATH}/tests/ -}
Signature · 1 line
2.34.1
PATCH 6/11 python3-blinker: update recipe to use the ptest-python-pytest class
In reply to Derek Straka--- .../python/python3-blinker/run-ptest | 3 --- .../python/python3-blinker_1.9.0.bb | 14 +------------- 2 files changed, 1 insertion(+), 16 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-blinker/run-ptest
meta-python/recipes-devtools/python/python3-blinker/run-ptest deleted +0 -3
@@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake
meta-python/recipes-devtools/python/python3-blinker_1.9.0.bb +1 -13
@@ -4,20 +4,8 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=42cd19c88fc13d1307a4efd64ee90e4e" SRC_URI[sha256sum] = "b4ce2265a7abece45e7cc896e98dbebe6cead56bcf805a3d23136d145f5445bf" -inherit pypi python_setuptools_build_meta ptest - -SRC_URI += "file://run-ptest" +inherit pypi python_setuptools_build_meta ptest-python-pytest RDEPENDS:${PN} += "\ python3-asyncio \ " - -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/ -}
Signature · 1 line
2.34.1
PATCH 7/11 python3-cachetools: update recipe to use the ptest-python-pytest class
In reply to Derek Straka--- .../python/python3-cachetools/run-ptest | 3 --- .../python/python3-cachetools_5.5.1.bb | 16 +--------------- 2 files changed, 1 insertion(+), 18 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-cachetools/run-ptest
meta-python/recipes-devtools/python/python3-cachetools/run-ptest deleted +0 -3
@@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake
meta-python/recipes-devtools/python/python3-cachetools_5.5.1.bb +1 -15
@@ -8,26 +8,12 @@ SECTION = "devel/python" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=539275e657c6b7af026bb908356f7541" -inherit pypi python_setuptools_build_meta ptest - -SRC_URI += " \ - file://run-ptest \ -" +inherit pypi python_setuptools_build_meta ptest-python-pytest RDEPENDS:${PN} += " \ python3-math \ " -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/ -} - SRC_URI[sha256sum] = "70f238fbba50383ef62e55c6aff6d9673175fe59f7c6782c7a0b9e38f4a9df95" BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.34.1
PATCH 8/11 python3-cbor2: update recipe to use the ptest-python-pytest class
In reply to Derek Straka--- .../recipes-devtools/python/python3-cbor2/run-ptest | 3 --- .../recipes-devtools/python/python3-cbor2_5.6.5.bb | 12 +----------- 2 files changed, 1 insertion(+), 14 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-cbor2/run-ptest
meta-python/recipes-devtools/python/python3-cbor2/run-ptest deleted +0 -3
@@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake
meta-python/recipes-devtools/python/python3-cbor2_5.6.5.bb +1 -11
@@ -4,21 +4,11 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a79e64179819c7ce293372c059f1dbd8" DEPENDS += "python3-setuptools-scm-native" SRC_URI[sha256sum] = "b682820677ee1dbba45f7da11898d2720f92e06be36acec290867d5ebf3d7e09" -SRC_URI += " \ - file://run-ptest \ -" - -inherit pypi python_setuptools_build_meta ptest -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} +inherit pypi python_setuptools_build_meta ptest-python-pytest RDEPENDS:${PN}-ptest += " \ python3-hypothesis \ - python3-pytest \ - python3-unittest-automake-output \ python3-unixadmin \ " RDEPENDS:${PN} += " \
Signature · 1 line
2.34.1
PATCH 9/11 python3-inotify: update recipe to use the ptest-python-pytest class
In reply to Derek Straka--- .../python/python3-inotify/run-ptest | 3 --- .../recipes-devtools/python/python3-inotify_git.bb | 13 +------------ 2 files changed, 1 insertion(+), 15 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-inotify/run-ptest
meta-python/recipes-devtools/python/python3-inotify/run-ptest deleted +0 -3
@@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake
meta-python/recipes-devtools/python/python3-inotify_git.bb +1 -12
@@ -8,26 +8,15 @@ SRC_URI[sha256sum] = "974a623a338482b62e16d4eb705fb863ed33ec178680fc3e96ccdf0df6 SRC_URI = " \ git://github.com/dsoprea/pyinotify.git;branch=master;protocol=https \ file://new-test-inotify.patch \ - file://run-ptest \ " SRCREV = "9be6a51d1660991562eefaaddefa757ca0e0e00f" S = "${WORKDIR}/git" -inherit setuptools3 ptest +inherit setuptools3 ptest-python-pytest RDEPENDS:${PN} += " \ python3-ctypes \ python3-logging \ " - -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/ -}
Signature · 1 line
2.34.1
PATCH 10/11 python3-appdirs: update recipe to use the ptest-python-pytest class
In reply to Derek Straka--- .../python/python3-appdirs/run-ptest | 3 --- .../python/python3-appdirs_1.4.4.bb | 16 ++-------------- 2 files changed, 2 insertions(+), 17 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-appdirs/run-ptest
meta-python/recipes-devtools/python/python3-appdirs/run-ptest deleted +0 -3
@@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake
meta-python/recipes-devtools/python/python3-appdirs_1.4.4.bb +2 -14
@@ -2,22 +2,10 @@ SUMMARY = "A small Python module for determining appropriate + platform-specific LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=31625363c45eb0c67c630a2f73e438e4" -SRC_URI += " \ - file://run-ptest \ -" - SRC_URI[sha256sum] = "7d5d0167b2b1ba821647616af46a749d1c653740dd0d2415100fe26e27afdf41" -inherit pypi setuptools3 ptest - -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" +inherit pypi setuptools3 ptest-python-pytest -do_install_ptest() { - install -d ${D}${PTEST_PATH}/test - cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/ -} +PTEST_PYTEST_DIR = "test" BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.34.1
PATCH 11/11 python3-asgiref: update recipe to use the ptest-python-pytest class
In reply to Derek Straka--- .../python/python3-asgiref/run-ptest | 3 --- .../recipes-devtools/python/python3-asgiref_3.8.1.bb | 12 ++---------- 2 files changed, 2 insertions(+), 13 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-asgiref/run-ptest
meta-python/recipes-devtools/python/python3-asgiref/run-ptest deleted +0 -3
@@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake
meta-python/recipes-devtools/python/python3-asgiref_3.8.1.bb +2 -10
@@ -4,27 +4,19 @@ SECTION = "devel/python" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=f09eb47206614a4954c51db8a94840fa" -SRC_URI += "file://run-ptest \ - " SRC_URI[sha256sum] = "c343bd80a0bec947a9860adb4c432ffa7db769836c64238fc34bdc3fec84d590" export BUILD_SYS export HOST_SYS -inherit pypi ptest setuptools3 +inherit pypi ptest-python-pytest setuptools3 RDEPENDS:${PN}-ptest += " \ python3-asyncio \ python3-io \ python3-multiprocessing \ - python3-pytest \ - python3-unittest-automake-output \ + python3-pytest-asyncio \ " -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