diff mbox series

[meta-python,4/5] python3-service-identity: update recipe to use the ptest-python-pytest class

Message ID 20250110223134.4177993-4-derek@asterius.io
State Accepted
Headers show
Series [meta-python,1/5] python3-soupsieve: update recipe to use the ptest-python-pytest class | expand

Commit Message

Derek Straka Jan. 10, 2025, 10:31 p.m. UTC
Signed-off-by: Derek Straka <derek@asterius.io>
---
 .../python/python3-service-identity/run-ptest       |  3 ---
 .../python/python3-service-identity_24.2.0.bb       | 13 +------------
 2 files changed, 1 insertion(+), 15 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-service-identity/run-ptest
diff mbox series

Patch

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 8d2017d39..000000000
--- a/meta-python/recipes-devtools/python/python3-service-identity/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@ 
-#!/bin/sh
-
-pytest --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 12dae861d..bbd6ab80d 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"
 
 SRC_URI[sha256sum] = "b8683ba13f0d39c6cd5d625d2c5f65421d6d707b013b375c355751557cbe8e09"
 
-inherit pypi python_hatchling ptest
+inherit pypi python_hatchling ptest-python-pytest
 
 PYPI_PACKAGE = "service_identity"
 UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
 
-SRC_URI += " \
-	file://run-ptest \
-"
-
 DEPENDS += "python3-hatch-vcs-native python3-hatch-fancy-pypi-readme-native"
 
 RDEPENDS:${PN} += " \
@@ -25,13 +21,6 @@  RDEPENDS:${PN} += " \
 
 RDEPENDS:${PN}-ptest += " \
     python3-attrs \
-    python3-pytest \
     python3-six \
-    python3-unittest-automake-output \
     python3-pyopenssl \
 "
-
-do_install_ptest() {
-	install -d ${D}${PTEST_PATH}/tests
-	cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
-}