mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-17 04:37:19 +00:00
python3-breathe: Inherit ptest-python-pytest instead of ptest
This eliminates more boiler plate code and add needed depednecies for ptest package Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
pytest --automake
|
|
||||||
@@ -6,17 +6,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=9e49eecf36fc015de7c61a0247df75d6"
|
|||||||
|
|
||||||
SRC_URI[sha256sum] = "14860b73118ac140b7a3f55446890c777d1b67149cb024279fe3710dad7f535c"
|
SRC_URI[sha256sum] = "14860b73118ac140b7a3f55446890c777d1b67149cb024279fe3710dad7f535c"
|
||||||
|
|
||||||
inherit pypi python_flit_core ptest
|
inherit pypi python_flit_core ptest ptest-python-pytest
|
||||||
|
|
||||||
SRC_URI:append = " file://run-ptest"
|
|
||||||
|
|
||||||
RDEPENDS:${PN} = "python3-sphinx"
|
RDEPENDS:${PN} = "python3-sphinx"
|
||||||
|
|
||||||
PYPI_PACKAGE = "breathe"
|
PYPI_PACKAGE = "breathe"
|
||||||
|
|
||||||
do_install_ptest() {
|
|
||||||
install -d ${D}${PTEST_PATH}/tests
|
|
||||||
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
|
|
||||||
}
|
|
||||||
|
|
||||||
BBCLASSEXTEND =+ "native"
|
BBCLASSEXTEND =+ "native"
|
||||||
|
|||||||
Reference in New Issue
Block a user