diff mbox series

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

Message ID 20250130215738.3280576-15-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-geojson/run-ptest               |  3 ---
 .../python/python3-geojson_3.2.0.bb                | 14 +-------------
 2 files changed, 1 insertion(+), 16 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-geojson/run-ptest
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-geojson/run-ptest b/meta-python/recipes-devtools/python/python3-geojson/run-ptest
deleted file mode 100644
index 8d2017d39c..0000000000
--- a/meta-python/recipes-devtools/python/python3-geojson/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@ 
-#!/bin/sh
-
-pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-geojson_3.2.0.bb b/meta-python/recipes-devtools/python/python3-geojson_3.2.0.bb
index c7bf433d42..9ee6d580b2 100644
--- a/meta-python/recipes-devtools/python/python3-geojson_3.2.0.bb
+++ b/meta-python/recipes-devtools/python/python3-geojson_3.2.0.bb
@@ -5,19 +5,7 @@  LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=f77f2ed49768c8d4c79ba874c0f94d8a"
 
 SRC_URI[sha256sum] = "b860baba1e8c6f71f8f5f6e3949a694daccf40820fa8f138b3f712bd85804903"
 
-inherit pypi setuptools3 ptest
-
-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/
-}
+inherit pypi setuptools3 ptest-python-pytest
 
 RDEPENDS:${PN} += "python3-simplejson python3-math"