mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
python3-pint: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
pytest --automake
|
|
||||||
@@ -6,7 +6,7 @@ SECTION = "devel/python"
|
|||||||
LICENSE = "BSD-3-Clause"
|
LICENSE = "BSD-3-Clause"
|
||||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=bccf824202692270a1e0829a62e3f47b"
|
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"
|
SRC_URI[sha256sum] = "35275439b574837a6cd3020a5a4a73645eb125ce4152a73a2f126bf164b91b80"
|
||||||
|
|
||||||
@@ -14,9 +14,7 @@ DEPENDS += "python3-setuptools-scm-native"
|
|||||||
|
|
||||||
BBCLASSEXTEND = "native nativesdk"
|
BBCLASSEXTEND = "native nativesdk"
|
||||||
|
|
||||||
SRC_URI += " \
|
PTEST_PYTEST_DIR = "pint"
|
||||||
file://run-ptest \
|
|
||||||
"
|
|
||||||
|
|
||||||
RDEPENDS:${PN} += " \
|
RDEPENDS:${PN} += " \
|
||||||
python3-setuptools \
|
python3-setuptools \
|
||||||
@@ -30,14 +28,8 @@ RDEPENDS:${PN}-ptest += " \
|
|||||||
python3-flexcache \
|
python3-flexcache \
|
||||||
python3-flexparser \
|
python3-flexparser \
|
||||||
python3-misc \
|
python3-misc \
|
||||||
python3-pytest \
|
|
||||||
python3-pytest-benchmark \
|
python3-pytest-benchmark \
|
||||||
python3-pytest-subtests \
|
python3-pytest-subtests \
|
||||||
python3-statistics \
|
python3-statistics \
|
||||||
python3-unittest-automake-output \
|
|
||||||
"
|
"
|
||||||
|
|
||||||
do_install_ptest() {
|
|
||||||
install -d ${D}${PTEST_PATH}/testsuite
|
|
||||||
cp -rf ${S}/pint/* ${D}${PTEST_PATH}/
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user