diff mbox series

[meta-python,13/23] python3-httptools: update recipe to use the ptest-python-pytest class

Message ID 20250130215738.3280576-13-derek@asterius.io
State Accepted
Headers show
Series [meta-python,01/23] python3-inflection: update recipe to use the ptest-python-pytest class | expand

Commit Message

Derek Straka Jan. 30, 2025, 9:57 p.m. UTC
Signed-off-by: Derek Straka <derek@asterius.io>
---
 .../python/python3-httptools/run-ptest           |  3 ---
 .../python/python3-httptools_0.6.4.bb            | 16 +---------------
 2 files changed, 1 insertion(+), 18 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-httptools/run-ptest
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-httptools/run-ptest b/meta-python/recipes-devtools/python/python3-httptools/run-ptest
deleted file mode 100644
index 8d2017d39c..0000000000
--- a/meta-python/recipes-devtools/python/python3-httptools/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@ 
-#!/bin/sh
-
-pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-httptools_0.6.4.bb b/meta-python/recipes-devtools/python/python3-httptools_0.6.4.bb
index 730df90f1e..49f14da206 100644
--- a/meta-python/recipes-devtools/python/python3-httptools_0.6.4.bb
+++ b/meta-python/recipes-devtools/python/python3-httptools_0.6.4.bb
@@ -3,20 +3,6 @@  HOMEPAGE = "https://github.com/MagicStack/httptools"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=0a2d82955bf3facdf04cb882655e840e"
 
-inherit pypi setuptools3 ptest
+inherit pypi setuptools3 ptest-python-pytest
 
 SRC_URI[sha256sum] = "4e93eee4add6493b59a5c514da98c939b244fce4a0d8879cd3f466562f4b7d5c"
-
-SRC_URI += " \
-        file://run-ptest \
-"
-
-RDEPENDS:${PN}-ptest += " \
-        python3-pytest \
-        python3-unittest-automake-output \
-"
-
-do_install_ptest() {
-        install -d ${D}${PTEST_PATH}/tests
-        cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
-}