diff options
author | Derek Straka <derek@asterius.io> | 2025-01-31 01:39:31 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-01-30 18:23:33 -0800 |
commit | 34f377625064e9960ff86ab7e1cd646cbcb7f0c1 (patch) | |
tree | e88135a19d33ba59e1992850429489aa62845ef5 /meta-python/recipes-devtools/python | |
parent | 18bd0aade78de00268f2d5f7769e5567aa561500 (diff) | |
download | meta-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-ptest | 3 | ||||
-rw-r--r-- | meta-python/recipes-devtools/python/python3-cachetools_5.5.1.bb | 16 |
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 | |||
3 | pytest --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" | |||
8 | LICENSE = "MIT" | 8 | LICENSE = "MIT" |
9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=539275e657c6b7af026bb908356f7541" | 9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=539275e657c6b7af026bb908356f7541" |
10 | 10 | ||
11 | inherit pypi python_setuptools_build_meta ptest | 11 | inherit pypi python_setuptools_build_meta ptest-python-pytest |
12 | |||
13 | SRC_URI += " \ | ||
14 | file://run-ptest \ | ||
15 | " | ||
16 | 12 | ||
17 | RDEPENDS:${PN} += " \ | 13 | RDEPENDS:${PN} += " \ |
18 | python3-math \ | 14 | python3-math \ |
19 | " | 15 | " |
20 | 16 | ||
21 | RDEPENDS:${PN}-ptest += " \ | ||
22 | python3-pytest \ | ||
23 | python3-unittest-automake-output \ | ||
24 | " | ||
25 | |||
26 | do_install_ptest() { | ||
27 | install -d ${D}${PTEST_PATH}/tests | ||
28 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
29 | } | ||
30 | |||
31 | SRC_URI[sha256sum] = "70f238fbba50383ef62e55c6aff6d9673175fe59f7c6782c7a0b9e38f4a9df95" | 17 | SRC_URI[sha256sum] = "70f238fbba50383ef62e55c6aff6d9673175fe59f7c6782c7a0b9e38f4a9df95" |
32 | 18 | ||
33 | BBCLASSEXTEND = "native nativesdk" | 19 | BBCLASSEXTEND = "native nativesdk" |