summaryrefslogtreecommitdiffstats
path: root/meta-python
diff options
context:
space:
mode:
authorDerek Straka <derek@asterius.io>2025-01-30 21:57:27 +0000
committerKhem Raj <raj.khem@gmail.com>2025-01-30 14:15:35 -0800
commitcfaeb648d0f6dbee1f58c25402de8f9d72c1e305 (patch)
treef575e608446dac9a85cec8de96cec31633e2790d /meta-python
parent97db0edb4ba6ca9f7a419d23a63b166763b0f07e (diff)
downloadmeta-openembedded-cfaeb648d0f6dbee1f58c25402de8f9d72c1e305.tar.gz
python3-intervals: 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')
-rw-r--r--meta-python/recipes-devtools/python/python3-intervals/run-ptest3
-rw-r--r--meta-python/recipes-devtools/python/python3-intervals_1.10.0.bb13
2 files changed, 2 insertions, 14 deletions
diff --git a/meta-python/recipes-devtools/python/python3-intervals/run-ptest b/meta-python/recipes-devtools/python/python3-intervals/run-ptest
deleted file mode 100644
index 8d2017d39c..0000000000
--- a/meta-python/recipes-devtools/python/python3-intervals/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@
1#!/bin/sh
2
3pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-intervals_1.10.0.bb b/meta-python/recipes-devtools/python/python3-intervals_1.10.0.bb
index 3c5be47806..dd9f88748b 100644
--- a/meta-python/recipes-devtools/python/python3-intervals_1.10.0.bb
+++ b/meta-python/recipes-devtools/python/python3-intervals_1.10.0.bb
@@ -7,18 +7,9 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=05f1e16a8e59ce3e9a979e881816c2ab"
7 7
8PYPI_PACKAGE := "python-intervals" 8PYPI_PACKAGE := "python-intervals"
9 9
10SRC_URI += " \ 10inherit pypi setuptools3 ptest-python-pytest
11 file://run-ptest \
12"
13 11
14inherit pypi setuptools3 ptest 12do_install_ptest:append () {
15
16RDEPENDS:${PN}-ptest += " \
17 python3-pytest \
18 python3-unittest-automake-output \
19"
20
21do_install_ptest() {
22 cp -f ${S}/test_intervals.py ${D}${PTEST_PATH} 13 cp -f ${S}/test_intervals.py ${D}${PTEST_PATH}
23 cp -f ${S}/README.md ${D}${PTEST_PATH} 14 cp -f ${S}/README.md ${D}${PTEST_PATH}
24} 15}