summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python
diff options
context:
space:
mode:
authorDerek Straka <derek@asterius.io>2025-01-17 22:59:01 +0000
committerKhem Raj <raj.khem@gmail.com>2025-01-17 16:39:42 -0800
commit4ede2afe4ecb628078f69ba015bb43cfa214b076 (patch)
tree91023ecf3beb441935997e15bd2931076b25e472 /meta-python/recipes-devtools/python
parentcebf92f51a61a40729bf608e06140c89693278e9 (diff)
downloadmeta-openembedded-4ede2afe4ecb628078f69ba015bb43cfa214b076.tar.gz
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>
Diffstat (limited to 'meta-python/recipes-devtools/python')
-rw-r--r--meta-python/recipes-devtools/python/python3-pint/run-ptest3
-rw-r--r--meta-python/recipes-devtools/python/python3-pint_0.24.4.bb12
2 files changed, 2 insertions, 13 deletions
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 @@
1#!/bin/sh
2
3pytest --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"
6LICENSE = "BSD-3-Clause" 6LICENSE = "BSD-3-Clause"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=bccf824202692270a1e0829a62e3f47b" 7LIC_FILES_CHKSUM = "file://LICENSE;md5=bccf824202692270a1e0829a62e3f47b"
8 8
9inherit pypi ptest python_setuptools_build_meta 9inherit pypi ptest-python-pytest python_setuptools_build_meta
10 10
11SRC_URI[sha256sum] = "35275439b574837a6cd3020a5a4a73645eb125ce4152a73a2f126bf164b91b80" 11SRC_URI[sha256sum] = "35275439b574837a6cd3020a5a4a73645eb125ce4152a73a2f126bf164b91b80"
12 12
@@ -14,9 +14,7 @@ DEPENDS += "python3-setuptools-scm-native"
14 14
15BBCLASSEXTEND = "native nativesdk" 15BBCLASSEXTEND = "native nativesdk"
16 16
17SRC_URI += " \ 17PTEST_PYTEST_DIR = "pint"
18 file://run-ptest \
19"
20 18
21RDEPENDS:${PN} += " \ 19RDEPENDS:${PN} += " \
22 python3-setuptools \ 20 python3-setuptools \
@@ -30,14 +28,8 @@ RDEPENDS:${PN}-ptest += " \
30 python3-flexcache \ 28 python3-flexcache \
31 python3-flexparser \ 29 python3-flexparser \
32 python3-misc \ 30 python3-misc \
33 python3-pytest \
34 python3-pytest-benchmark \ 31 python3-pytest-benchmark \
35 python3-pytest-subtests \ 32 python3-pytest-subtests \
36 python3-statistics \ 33 python3-statistics \
37 python3-unittest-automake-output \
38" 34"
39 35
40do_install_ptest() {
41 install -d ${D}${PTEST_PATH}/testsuite
42 cp -rf ${S}/pint/* ${D}${PTEST_PATH}/
43}