Message ID | 20250117203030.3648575-4-derek@asterius.io |
---|---|
State | Accepted |
Headers | show |
Series | [meta-python,01/10] python3-pyroute2: update recipe to use the ptest-python-pytest class | expand |
diff --git a/meta-python/recipes-devtools/python/python3-pyasn1-modules/run-ptest b/meta-python/recipes-devtools/python/python3-pyasn1-modules/run-ptest deleted file mode 100644 index 8d2017d39..000000000 --- a/meta-python/recipes-devtools/python/python3-pyasn1-modules/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.4.1.bb b/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.4.1.bb index 225da562c..0ef2eaa1d 100644 --- a/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.4.1.bb +++ b/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.4.1.bb @@ -12,22 +12,9 @@ SRC_URI[sha256sum] = "c28e2dbf9c06ad61c71a075c7e0f9fd0f1b0bb2d2ad4377f240d33ac2a PYPI_PACKAGE = "pyasn1_modules" UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" -inherit pypi ptest python_setuptools_build_meta +inherit pypi ptest-python-pytest python_setuptools_build_meta RDEPENDS:${PN} = "python3-pyasn1" BBCLASSEXTEND = "native nativesdk" -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/ -}
Signed-off-by: Derek Straka <derek@asterius.io> --- .../python/python3-pyasn1-modules/run-ptest | 3 --- .../python/python3-pyasn1-modules_0.4.1.bb | 15 +-------------- 2 files changed, 1 insertion(+), 17 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-pyasn1-modules/run-ptest