diff --git a/meta-python/recipes-devtools/python/python3-pint/run-ptest b/meta-python/recipes-devtools/python/python3-pint/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-pint/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-pint_0.24.4.bb b/meta-python/recipes-devtools/python/python3-pint_0.24.4.bb index 88efefff58..1bf62ca729 100644 --- a/meta-python/recipes-devtools/python/python3-pint_0.24.4.bb +++ b/meta-python/recipes-devtools/python/python3-pint_0.24.4.bb @@ -6,7 +6,7 @@ SECTION = "devel/python" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=bccf824202692270a1e0829a62e3f47b" -inherit pypi ptest python_setuptools_build_meta +inherit pypi ptest-python-pytest python_setuptools_build_meta SRC_URI[sha256sum] = "35275439b574837a6cd3020a5a4a73645eb125ce4152a73a2f126bf164b91b80" @@ -14,9 +14,7 @@ DEPENDS += "python3-setuptools-scm-native" BBCLASSEXTEND = "native nativesdk" -SRC_URI += " \ - file://run-ptest \ -" +PTEST_PYTEST_DIR = "pint" RDEPENDS:${PN} += " \ python3-setuptools \ @@ -30,14 +28,8 @@ RDEPENDS:${PN}-ptest += " \ python3-flexcache \ python3-flexparser \ python3-misc \ - python3-pytest \ python3-pytest-benchmark \ python3-pytest-subtests \ python3-statistics \ - python3-unittest-automake-output \ " -do_install_ptest() { - install -d ${D}${PTEST_PATH}/testsuite - cp -rf ${S}/pint/* ${D}${PTEST_PATH}/ -}