diff options
author | Derek Straka <derek@asterius.io> | 2025-01-17 22:59:00 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-01-17 16:39:42 -0800 |
commit | cebf92f51a61a40729bf608e06140c89693278e9 (patch) | |
tree | e988d65a557550ec435438a3a73300945d273b70 /meta-python/recipes-devtools/python | |
parent | af7d47dd2c12fe2c1366508afee43d88c91c1e43 (diff) | |
download | meta-openembedded-cebf92f51a61a40729bf608e06140c89693278e9.tar.gz |
python3-platformdirs: 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-platformdirs/run-ptest | 3 | ||||
-rw-r--r-- | meta-python/recipes-devtools/python/python3-platformdirs_4.3.6.bb | 13 |
2 files changed, 1 insertions, 15 deletions
diff --git a/meta-python/recipes-devtools/python/python3-platformdirs/run-ptest b/meta-python/recipes-devtools/python/python3-platformdirs/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-platformdirs/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-platformdirs_4.3.6.bb b/meta-python/recipes-devtools/python/python3-platformdirs_4.3.6.bb index 02d8c3cec7..c85e12ab5c 100644 --- a/meta-python/recipes-devtools/python/python3-platformdirs_4.3.6.bb +++ b/meta-python/recipes-devtools/python/python3-platformdirs_4.3.6.bb | |||
@@ -3,13 +3,9 @@ HOMEPAGE = "https://github.com/platformdirs/platformdirs" | |||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=ea4f5a41454746a9ed111e3d8723d17a" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=ea4f5a41454746a9ed111e3d8723d17a" |
5 | 5 | ||
6 | SRC_URI += " \ | ||
7 | file://run-ptest \ | ||
8 | " | ||
9 | |||
10 | SRC_URI[sha256sum] = "357fb2acbc885b0419afd3ce3ed34564c13c9b95c89360cd9563f73aa5e2b907" | 6 | SRC_URI[sha256sum] = "357fb2acbc885b0419afd3ce3ed34564c13c9b95c89360cd9563f73aa5e2b907" |
11 | 7 | ||
12 | inherit pypi python_hatchling ptest | 8 | inherit pypi python_hatchling ptest-python-pytest |
13 | 9 | ||
14 | DEPENDS += " \ | 10 | DEPENDS += " \ |
15 | python3-hatch-vcs-native \ | 11 | python3-hatch-vcs-native \ |
@@ -18,15 +14,8 @@ DEPENDS += " \ | |||
18 | RDEPENDS:${PN}-ptest += " \ | 14 | RDEPENDS:${PN}-ptest += " \ |
19 | python3-appdirs \ | 15 | python3-appdirs \ |
20 | python3-covdefaults \ | 16 | python3-covdefaults \ |
21 | python3-pytest \ | ||
22 | python3-pytest-cov \ | 17 | python3-pytest-cov \ |
23 | python3-pytest-mock \ | 18 | python3-pytest-mock \ |
24 | python3-unittest-automake-output \ | ||
25 | " | 19 | " |
26 | 20 | ||
27 | do_install_ptest() { | ||
28 | install -d ${D}${PTEST_PATH} | ||
29 | cp -rf ${S}/tests ${D}${PTEST_PATH}/ | ||
30 | } | ||
31 | |||
32 | BBCLASSEXTEND = "native nativesdk" | 21 | BBCLASSEXTEND = "native nativesdk" |