From 5b40bae867166f9cf294a0eca03e333c36a0a085 Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Fri, 10 Jan 2025 22:31:33 +0000 Subject: python3-service-identity: update recipe to use the ptest-python-pytest class Signed-off-by: Derek Straka Signed-off-by: Khem Raj --- .../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 (limited to 'meta-python/recipes-devtools/python') 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 @@ -#!/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 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" 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/ -} -- cgit v1.2.3-54-g00ecf