diff options
author | Derek Straka <derek@asterius.io> | 2025-01-17 22:59:01 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-01-17 16:39:42 -0800 |
commit | 4ede2afe4ecb628078f69ba015bb43cfa214b076 (patch) | |
tree | 91023ecf3beb441935997e15bd2931076b25e472 /meta-python/recipes-devtools/python | |
parent | cebf92f51a61a40729bf608e06140c89693278e9 (diff) | |
download | meta-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-ptest | 3 | ||||
-rw-r--r-- | meta-python/recipes-devtools/python/python3-pint_0.24.4.bb | 12 |
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 | |||
3 | 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" | |||
6 | LICENSE = "BSD-3-Clause" | 6 | LICENSE = "BSD-3-Clause" |
7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=bccf824202692270a1e0829a62e3f47b" | 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=bccf824202692270a1e0829a62e3f47b" |
8 | 8 | ||
9 | inherit pypi ptest python_setuptools_build_meta | 9 | inherit pypi ptest-python-pytest python_setuptools_build_meta |
10 | 10 | ||
11 | SRC_URI[sha256sum] = "35275439b574837a6cd3020a5a4a73645eb125ce4152a73a2f126bf164b91b80" | 11 | SRC_URI[sha256sum] = "35275439b574837a6cd3020a5a4a73645eb125ce4152a73a2f126bf164b91b80" |
12 | 12 | ||
@@ -14,9 +14,7 @@ DEPENDS += "python3-setuptools-scm-native" | |||
14 | 14 | ||
15 | BBCLASSEXTEND = "native nativesdk" | 15 | BBCLASSEXTEND = "native nativesdk" |
16 | 16 | ||
17 | SRC_URI += " \ | 17 | PTEST_PYTEST_DIR = "pint" |
18 | file://run-ptest \ | ||
19 | " | ||
20 | 18 | ||
21 | RDEPENDS:${PN} += " \ | 19 | RDEPENDS:${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 | ||
40 | do_install_ptest() { | ||
41 | install -d ${D}${PTEST_PATH}/testsuite | ||
42 | cp -rf ${S}/pint/* ${D}${PTEST_PATH}/ | ||
43 | } | ||