Message ID | 20250402162731.2675440-1-raj.khem@gmail.com |
---|---|
State | New |
Headers | show |
Series | [meta-python] python3-breathe: Inherit ptest-python-pytest instead of ptest | expand |
diff --git a/meta-python/recipes/devtool/python3-breathe/run-ptest b/meta-python/recipes/devtool/python3-breathe/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes/devtool/python3-breathe/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-python/recipes/devtool/python3-breathe_4.36.0.bb b/meta-python/recipes/devtool/python3-breathe_4.36.0.bb index dc14f1ce1c..fe3d1eeb91 100644 --- a/meta-python/recipes/devtool/python3-breathe_4.36.0.bb +++ b/meta-python/recipes/devtool/python3-breathe_4.36.0.bb @@ -6,17 +6,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=9e49eecf36fc015de7c61a0247df75d6" SRC_URI[sha256sum] = "14860b73118ac140b7a3f55446890c777d1b67149cb024279fe3710dad7f535c" -inherit pypi python_flit_core ptest - -SRC_URI:append = " file://run-ptest" +inherit pypi python_flit_core ptest ptest-python-pytest RDEPENDS:${PN} = "python3-sphinx" PYPI_PACKAGE = "breathe" -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - BBCLASSEXTEND =+ "native"
This eliminates more boiler plate code and add needed depednecies for ptest package Signed-off-by: Khem Raj <raj.khem@gmail.com> --- meta-python/recipes/devtool/python3-breathe/run-ptest | 3 --- meta-python/recipes/devtool/python3-breathe_4.36.0.bb | 9 +-------- 2 files changed, 1 insertion(+), 11 deletions(-) delete mode 100644 meta-python/recipes/devtool/python3-breathe/run-ptest