summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python
diff options
context:
space:
mode:
authorDerek Straka <derek@asterius.io>2025-01-31 01:39:31 +0000
committerKhem Raj <raj.khem@gmail.com>2025-01-30 18:23:33 -0800
commit34f377625064e9960ff86ab7e1cd646cbcb7f0c1 (patch)
treee88135a19d33ba59e1992850429489aa62845ef5 /meta-python/recipes-devtools/python
parent18bd0aade78de00268f2d5f7769e5567aa561500 (diff)
downloadmeta-openembedded-34f377625064e9960ff86ab7e1cd646cbcb7f0c1.tar.gz
python3-cachetools: 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-cachetools/run-ptest3
-rw-r--r--meta-python/recipes-devtools/python/python3-cachetools_5.5.1.bb16
2 files changed, 1 insertions, 18 deletions
diff --git a/meta-python/recipes-devtools/python/python3-cachetools/run-ptest b/meta-python/recipes-devtools/python/python3-cachetools/run-ptest
deleted file mode 100644
index 8d2017d39c..0000000000
--- a/meta-python/recipes-devtools/python/python3-cachetools/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@
1#!/bin/sh
2
3pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-cachetools_5.5.1.bb b/meta-python/recipes-devtools/python/python3-cachetools_5.5.1.bb
index a652d2d333..6c49844f3e 100644
--- a/meta-python/recipes-devtools/python/python3-cachetools_5.5.1.bb
+++ b/meta-python/recipes-devtools/python/python3-cachetools_5.5.1.bb
@@ -8,26 +8,12 @@ SECTION = "devel/python"
8LICENSE = "MIT" 8LICENSE = "MIT"
9LIC_FILES_CHKSUM = "file://LICENSE;md5=539275e657c6b7af026bb908356f7541" 9LIC_FILES_CHKSUM = "file://LICENSE;md5=539275e657c6b7af026bb908356f7541"
10 10
11inherit pypi python_setuptools_build_meta ptest 11inherit pypi python_setuptools_build_meta ptest-python-pytest
12
13SRC_URI += " \
14 file://run-ptest \
15"
16 12
17RDEPENDS:${PN} += " \ 13RDEPENDS:${PN} += " \
18 python3-math \ 14 python3-math \
19" 15"
20 16
21RDEPENDS:${PN}-ptest += " \
22 python3-pytest \
23 python3-unittest-automake-output \
24"
25
26do_install_ptest() {
27 install -d ${D}${PTEST_PATH}/tests
28 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
29}
30
31SRC_URI[sha256sum] = "70f238fbba50383ef62e55c6aff6d9673175fe59f7c6782c7a0b9e38f4a9df95" 17SRC_URI[sha256sum] = "70f238fbba50383ef62e55c6aff6d9673175fe59f7c6782c7a0b9e38f4a9df95"
32 18
33BBCLASSEXTEND = "native nativesdk" 19BBCLASSEXTEND = "native nativesdk"