python3-breathe: new recipe version 4.36.0
PATCH 1/1 python3-breathe: new recipe version 4.36.0
Breathe is a Sphinx plugin providing beautifully integrated Doxygen output in your user-facing documentation
Added to ptest list.
--- .../ptest-packagelists-meta-python.inc | 1 + .../recipes/devtool/python3-breathe/run-ptest | 3 +++ .../recipes/devtool/python3-breathe_4.36.0.bb | 22 +++++++++++++++++++ 3 files changed, 26 insertions(+) create mode 100644 meta-python/recipes/devtool/python3-breathe/run-ptest create mode 100644 meta-python/recipes/devtool/python3-breathe_4.36.0.bb
meta-python/conf/include/ptest-packagelists-meta-python.inc +1 -0
@@ -14,6 +14,7 @@ PTESTS_FAST_META_PYTHON = "\ python3-aspectlib \ python3-bleak \ python3-blinker \ + python3-breathe \ python3-cachetools \ python3-cbor2 \ python3-configobj \
meta-python/recipes/devtool/python3-breathe/run-ptest new file +3 -0
@@ -0,0 +1,3 @@ +#!/bin/sh + +pytest --automake
meta-python/recipes/devtool/python3-breathe_4.36.0.bb new file +22 -0
@@ -0,0 +1,22 @@ +SUMMARY = "Sphinx Doxygen renderer" +DESCRIPTION = "Breathe is a Sphinx plugin providing beautifully integrated Doxygen output in your user-facing documentation." +HOMEPAGE = "https://www.breathe-doc.org/" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=9e49eecf36fc015de7c61a0247df75d6" + +SRC_URI[sha256sum] = "14860b73118ac140b7a3f55446890c777d1b67149cb024279fe3710dad7f535c" + +inherit pypi python_flit_core ptest + +SRC_URI:append = " file://run-ptest" + +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"
Signature · 1 line
2.39.5
Quoted 42 lines · Jan Vermaete via lists.openembedded.org
Breathe is a Sphinx plugin providing beautifully integrated Doxygen output in your user-facing documentation
Added to ptest list.
Signed-off-by Jan Vermaete <[email protected]>--- .../ptest-packagelists-meta-python.inc | 1 + .../recipes/devtool/python3-breathe/run-ptest | 3 +++ .../recipes/devtool/python3-breathe_4.36.0.bb | 22 +++++++++++++++++++ 3 files changed, 26 insertions(+) create mode 100644 meta-python/recipes/devtool/python3-breathe/run-ptest create mode 100644 meta-python/recipes/devtool/python3-breathe_4.36.0.bbmeta-python/conf/include/ptest-packagelists-meta-python.inc +1
-0@@ -14,6 +14,7 @@ PTESTS_FAST_META_PYTHON = "\ python3-aspectlib \ python3-bleak \ python3-blinker \ + python3-breathe \ python3-cachetools \ python3-cbor2 \ python3-configobj \meta-python/recipes/devtool/python3-breathe/run-ptest new file +3
-0@@ -0,0 +1,3 @@ +#!/bin/sh + +pytest --automakemeta-python/recipes/devtool/python3-breathe_4.36.0.bb new file +1
-0@@ -0,0 +1,22 @@ +SUMMARY = "Sphinx Doxygen renderer"
meta-python/recipes/devtool/python3-breathe_4.36.0.bb line 11
Quoted 10 lines
meta-python/recipes/devtool/python3-breathe_4.36.0.bb new file +10
-0+DESCRIPTION = "Breathe is a Sphinx plugin providing beautifully integrated Doxygen output in your user-facing documentation." +HOMEPAGE = "https://www.breathe-doc.org/" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=9e49eecf36fc015de7c61a0247df75d6" + +SRC_URI[sha256sum] = "14860b73118ac140b7a3f55446890c777d1b67149cb024279fe3710dad7f535c" + +inherit pypi python_flit_core ptest + +SRC_URI:append = " file://run-ptest"
Seeing ptest failures
│ {'python3-breathe': 'START: ptest-runner\n'
│ │ '2025-04-02T14:56\n'
│
│ '/usr/lib/python3-breathe/ptest/run-ptest:
line 3: pytest: '
│
│ 'not found\n'│ │ '\n'
│ │ 'ERROR: Exit status is 127\n'
│ │ 'DURATION: 0\n'}
│ │
│
I think rdeps for PN-ptest are not complete
secondly try inheriting ptest-python-pytest instead of ptest it provides more boilerplate code for python testing
Quoted 23 lines
meta-python/recipes/devtool/python3-breathe_4.36.0.bb new file +11
-1+ +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" --2.39.5
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#116391): https://lists.openembedded.org/g/openembedded-devel/message/116391
Mute This Topic: https://lists.openembedded.org/mt/111992087/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-