summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python
diff options
context:
space:
mode:
authorDerek Straka <derek@asterius.io>2025-01-10 22:31:33 +0000
committerKhem Raj <raj.khem@gmail.com>2025-01-10 16:53:47 -0800
commit5b40bae867166f9cf294a0eca03e333c36a0a085 (patch)
tree3e49d852f7a3bc8bbe6de559b59e7b825a58f3b8 /meta-python/recipes-devtools/python
parentb30ddc2259a07e1a1d753ed569fced59a09603c5 (diff)
downloadmeta-openembedded-5b40bae867166f9cf294a0eca03e333c36a0a085.tar.gz
python3-service-identity: 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-service-identity/run-ptest3
-rw-r--r--meta-python/recipes-devtools/python/python3-service-identity_24.2.0.bb13
2 files changed, 1 insertions, 15 deletions
diff --git a/meta-python/recipes-devtools/python/python3-service-identity/run-ptest b/meta-python/recipes-devtools/python/python3-service-identity/run-ptest
deleted file mode 100644
index 8d2017d39c..0000000000
--- a/meta-python/recipes-devtools/python/python3-service-identity/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@
1#!/bin/sh
2
3pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-service-identity_24.2.0.bb b/meta-python/recipes-devtools/python/python3-service-identity_24.2.0.bb
index 12dae861d6..bbd6ab80d6 100644
--- a/meta-python/recipes-devtools/python/python3-service-identity_24.2.0.bb
+++ b/meta-python/recipes-devtools/python/python3-service-identity_24.2.0.bb
@@ -6,15 +6,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=76edce6a3fa1b82b0bf2b6ce174c19e2"
6 6
7SRC_URI[sha256sum] = "b8683ba13f0d39c6cd5d625d2c5f65421d6d707b013b375c355751557cbe8e09" 7SRC_URI[sha256sum] = "b8683ba13f0d39c6cd5d625d2c5f65421d6d707b013b375c355751557cbe8e09"
8 8
9inherit pypi python_hatchling ptest 9inherit pypi python_hatchling ptest-python-pytest
10 10
11PYPI_PACKAGE = "service_identity" 11PYPI_PACKAGE = "service_identity"
12UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" 12UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
13 13
14SRC_URI += " \
15 file://run-ptest \
16"
17
18DEPENDS += "python3-hatch-vcs-native python3-hatch-fancy-pypi-readme-native" 14DEPENDS += "python3-hatch-vcs-native python3-hatch-fancy-pypi-readme-native"
19 15
20RDEPENDS:${PN} += " \ 16RDEPENDS:${PN} += " \
@@ -25,13 +21,6 @@ RDEPENDS:${PN} += " \
25 21
26RDEPENDS:${PN}-ptest += " \ 22RDEPENDS:${PN}-ptest += " \
27 python3-attrs \ 23 python3-attrs \
28 python3-pytest \
29 python3-six \ 24 python3-six \
30 python3-unittest-automake-output \
31 python3-pyopenssl \ 25 python3-pyopenssl \
32" 26"
33
34do_install_ptest() {
35 install -d ${D}${PTEST_PATH}/tests
36 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
37}