summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python
diff options
context:
space:
mode:
authorDerek Straka <derek@asterius.io>2025-01-17 22:59:00 +0000
committerKhem Raj <raj.khem@gmail.com>2025-01-17 16:39:42 -0800
commitcebf92f51a61a40729bf608e06140c89693278e9 (patch)
treee988d65a557550ec435438a3a73300945d273b70 /meta-python/recipes-devtools/python
parentaf7d47dd2c12fe2c1366508afee43d88c91c1e43 (diff)
downloadmeta-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-ptest3
-rw-r--r--meta-python/recipes-devtools/python/python3-platformdirs_4.3.6.bb13
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
3pytest --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"
3LICENSE = "MIT" 3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=ea4f5a41454746a9ed111e3d8723d17a" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=ea4f5a41454746a9ed111e3d8723d17a"
5 5
6SRC_URI += " \
7 file://run-ptest \
8"
9
10SRC_URI[sha256sum] = "357fb2acbc885b0419afd3ce3ed34564c13c9b95c89360cd9563f73aa5e2b907" 6SRC_URI[sha256sum] = "357fb2acbc885b0419afd3ce3ed34564c13c9b95c89360cd9563f73aa5e2b907"
11 7
12inherit pypi python_hatchling ptest 8inherit pypi python_hatchling ptest-python-pytest
13 9
14DEPENDS += " \ 10DEPENDS += " \
15 python3-hatch-vcs-native \ 11 python3-hatch-vcs-native \
@@ -18,15 +14,8 @@ DEPENDS += " \
18RDEPENDS:${PN}-ptest += " \ 14RDEPENDS:${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
27do_install_ptest() {
28 install -d ${D}${PTEST_PATH}
29 cp -rf ${S}/tests ${D}${PTEST_PATH}/
30}
31
32BBCLASSEXTEND = "native nativesdk" 21BBCLASSEXTEND = "native nativesdk"