Skip to contentSkip to conversation

python3-breathe: new recipe version 4.36.0

PATCH In review Jan Vermaete 3 participants 5 messages Mar 30, 2025

lore
Share & tools
lore
#0 lore raw

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

---
 .../distro/include/ptest-packagelists.inc     |  1 +
 .../python/python3-breathe/run-ptest          |  3 +++
 .../python/python3-breathe_4.36.0.bb          | 22 +++++++++++++++++++
 3 files changed, 26 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-breathe/run-ptest
 create mode 100644 meta/recipes-devtools/python/python3-breathe_4.36.0.bb
meta/conf/distro/include/ptest-packagelists.inc +1 -0
index f3fdededf6..880178488f 100644
@@ -57,6 +57,7 @@ PTESTS_FAST = "\
     python3-atomicwrites \
     python3-attrs \
     python3-bcrypt \
+    python3-breathe \
     python3-calver \
     python3-hypothesis \
     python3-idna \
meta/recipes-devtools/python/python3-breathe/run-ptest new file +3 -0
new file mode 100644
index 0000000000..8d2017d39c
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+pytest --automake
meta/recipes-devtools/python/python3-breathe_4.36.0.bb new file +22 -0
new file mode 100644
index 0000000000..dc14f1ce1c
@@ -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
#1 lore raw
Quoted 10 lines · Jan Vermaete via lists.openembedded.org

Breathe is a Sphinx plugin providing beautifully integrated Doxygen output in your user-facing documentation

---
 .../distro/include/ptest-packagelists.inc     |  1 + .../python/python3-breathe/run-ptest          |  3 +++ .../python/python3-breathe_4.36.0.bb          | 22 +++++++++++++++++++

 3 files changed, 26 insertions(+)

 create mode 100644 meta/recipes-devtools/python/python3-breathe/run-ptest create mode 100644 meta/recipes-devtools/python/python3-breathe_4.36.0.bb

A key question is whether this is needed in OE-Core? Are there recipes in core that are going to need to depend upon this soon? Or is there some other reason we need it here rather than in some other layer?

Cheers,

Richard

#2 lore raw

Hi Richard,

I thought because python3-breath and python3-exhale are closely related to python3-sphinx. And that one is in oe-core.

Quoted 21 lines · Richard Purdie
Quoted 10 lines · Jan Vermaete via lists.openembedded.org

Breathe is a Sphinx plugin providing beautifully integrated Doxygen output in your user-facing documentation

---
 .../distro/include/ptest-packagelists.inc     |  1 +
 .../python/python3-breathe/run-ptest          |  3 +++
 .../python/python3-breathe_4.36.0.bb          | 22 +++++++++++++++++++
 3 files changed, 26 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-breathe/run-ptest
 create mode 100644 meta/recipes-devtools/python/python3-breathe_4.36.0.bb

A key question is whether this is needed in OE-Core? Are there recipes in core that are going to need to depend upon this soon? Or is there some other reason we need it here rather than in some other layer?

Cheers,

Richard

Signature · 2 lines
Jan Vermaete
“Success is a self-correcting phenomenom.” -- Gary Hamel
#3 lore raw
Quoted 4 lines · Jan Vermaete via lists.openembedded.org

Hi Richard,

I thought because python3-breath and python3-exhale are closely related to python3-sphinx. And that one is in oe-core.

If they aren't required by anything in oe-core but extend sphinx's capabilities, then it's probably fine to put them in the meta-python layer instead.

If you're adding new recipes, you should also be specifying yourself as the maintainer for them in this file:

meta/conf/distro/include/maintainers.inc

Quoted 32 lines
Quoted 11 lines · Richard Purdie
Quoted 10 lines · Jan Vermaete via lists.openembedded.org

Breathe is a Sphinx plugin providing beautifully integrated Doxygen output in your user-facing documentation

---
  .../distro/include/ptest-packagelists.inc     |  1 +
  .../python/python3-breathe/run-ptest          |  3 +++
  .../python/python3-breathe_4.36.0.bb          | 22 +++++++++++++++++++
  3 files changed, 26 insertions(+)

create mode 100644 meta/recipes-devtools/python/python3-breathe/run-ptest create mode 100644 meta/recipes-devtools/python/python3-breathe_4.36.0.bb

Quoted 8 lines

A key question is whether this is needed in OE-Core? Are there recipes in core that are going to need to depend upon this soon? Or is there some other reason we need it here rather than in some other layer?

Cheers,

Richard

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#213919): https://lists.openembedded.org/g/openembedded-core/message/213919
Mute This Topic: https://lists.openembedded.org/mt/111984549/7611679
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#4 lore raw

I will resend them into meta-python.
please ignore the python-breathe and python-exhale patches. Thanks for the review

Quoted 49 lines · Trevor Gamblin
Quoted 4 lines · Jan Vermaete via lists.openembedded.org

Hi Richard,

I thought because python3-breath and python3-exhale are closely related to python3-sphinx. And that one is in oe-core.

If they aren't required by anything in oe-core but extend sphinx's capabilities, then it's probably fine to put them in the meta-python layer instead.

If you're adding new recipes, you should also be specifying yourself as the maintainer for them in this file:

meta/conf/distro/include/maintainers.inc

Quoted 32 lines
Quoted 11 lines · Richard Purdie
Quoted 10 lines · Jan Vermaete via lists.openembedded.org

Breathe is a Sphinx plugin providing beautifully integrated Doxygen output in your user-facing documentation

---
  .../distro/include/ptest-packagelists.inc     |  1 +
  .../python/python3-breathe/run-ptest          |  3 +++
  .../python/python3-breathe_4.36.0.bb          | 22 +++++++++++++++++++
  3 files changed, 26 insertions(+)

create mode 100644 meta/recipes-devtools/python/python3-breathe/run-ptest create mode 100644 meta/recipes-devtools/python/python3-breathe_4.36.0.bb

Quoted 8 lines

A key question is whether this is needed in OE-Core? Are there recipes in core that are going to need to depend upon this soon? Or is there some other reason we need it here rather than in some other layer?

Cheers,

Richard

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#213919): https://lists.openembedded.org/g/openembedded-core/message/213919
Mute This Topic: https://lists.openembedded.org/mt/111984549/7611679
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 2 lines
Jan Vermaete
“Success is a self-correcting phenomenom.” -- Gary Hamel