Message ID | 20250130215738.3280576-3-derek@asterius.io |
---|---|
State | Accepted |
Headers | show |
Series | [meta-python,01/23] python3-inflection: update recipe to use the ptest-python-pytest class | expand |
diff --git a/meta-python/recipes-devtools/python/python3-ordered-set/run-ptest b/meta-python/recipes-devtools/python/python3-ordered-set/run-ptest deleted file mode 100644 index 64799ba008..0000000000 --- a/meta-python/recipes-devtools/python/python3-ordered-set/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake test_ordered_set.py diff --git a/meta-python/recipes-devtools/python/python3-ordered-set_4.1.0.bb b/meta-python/recipes-devtools/python/python3-ordered-set_4.1.0.bb index 64637b858d..2d6b6ca06c 100644 --- a/meta-python/recipes-devtools/python/python3-ordered-set_4.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-ordered-set_4.1.0.bb @@ -5,19 +5,9 @@ LIC_FILES_CHKSUM = "file://MIT-LICENSE;md5=3bf5e1ad64c0d99032c3143361fa234e" SRC_URI[sha256sum] = "694a8e44c87657c59292ede72891eb91d34131f6531463aab3009191c77364a8" -inherit pypi python_flit_core ptest +inherit pypi python_flit_core ptest-python-pytest -DEPENDS += "python3-pytest-runner-native" - -SRC_URI += " \ - file://run-ptest \ -" +PTEST_PYTEST_DIR = "test" -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" +DEPENDS += "python3-pytest-runner-native" -do_install_ptest() { - cp -f ${S}/test/test_ordered_set.py ${D}${PTEST_PATH}/ -}
Signed-off-by: Derek Straka <derek@asterius.io> --- .../python/python3-ordered-set/run-ptest | 3 --- .../python/python3-ordered-set_4.1.0.bb | 16 +++------------- 2 files changed, 3 insertions(+), 16 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-ordered-set/run-ptest