Skip to contentSkip to conversation

Add python3-sphinx-tags recipe to buildtools-docs-tarball

PATCH New Antonin Godard 1 participant 4 messages Oct 28

lore
Share & tools
lore
#0 lore raw

cover Add python3-sphinx-tags recipe to buildtools-docs-tarball

This series adds the python3-sphinx-tags recipe to buildtools tarball used for building the Yocto Project documentation.

See [1] for the corresponding series implementing documentation tags.

Tested a buildtools-docs-tarball and a documentation build with [1].

[1]: https://lore.kernel.org/r/[email protected]

---
Antonin Godard (3):
python3-sphinx-design: add recipe
python3-sphinx-tags: add recipe
buildtools-docs-tarball: add nativesdk-python3-sphinx-tags

 meta/conf/distro/include/maintainers.inc                    |  2 ++
 meta/recipes-core/meta/buildtools-docs-tarball.bb           |  1 +
 meta/recipes-devtools/python/python3-sphinx-design_0.7.0.bb | 12 ++++++++++++
 meta/recipes-devtools/python/python3-sphinx-tags_0.4.bb     | 12 ++++++++++++
 4 files changed, 27 insertions(+)

---
base-commit: fa83da7da277a641c3a997d3da26041fa46d48ab
change-id: 20261027-sphinx-tags-12320f143fc6

#1 lore raw

PATCH 1/3 python3-sphinx-design: add recipe

The python3-sphinx-design recipe is a dependency of the sphinx-tags extension and will be used in the Yocto Project documentation.

---
 meta/conf/distro/include/maintainers.inc                    |  1 +
 meta/recipes-devtools/python/python3-sphinx-design_0.7.0.bb | 12 ++++++++++++
 2 files changed, 13 insertions(+)
meta/conf/distro/include/maintainers.inc +1 -0
index 74db3e44e9..6e37eb1095 100644
@@ -731,6 +731,7 @@ RECIPE_MAINTAINER:pn-python3-spdx-tools = "Marta Rybczynska <marta.rybczynska@yg
 RECIPE_MAINTAINER:pn-python3-sphinx = "Trevor Gamblin <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-sphinx-argparse = "Antonin Godard <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-sphinx-copybutton = "Antonin Godard <[email protected]>"
+RECIPE_MAINTAINER:pn-python3-sphinx-design = "Antonin Godard <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-sphinx-rtd-theme = "Tim Orling <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-sphinxcontrib-applehelp = "Tim Orling <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-sphinxcontrib-devhelp = "Tim Orling <[email protected]>"
meta/recipes-devtools/python/python3-sphinx-design_0.7.0.bb new file +12 -0
new file mode 100644
index 0000000000..908ac0846e
@@ -0,0 +1,12 @@
+SUMMARY = "A sphinx extension for designing beautiful, view size responsive web components"
+HOMEPAGE = "https://sphinx-design.readthedocs.io/"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=484a29024499c025d11c52f22a6f0bb8"
+
+SRC_URI[sha256sum] = "d2a3f5b19c24b916adb52f97c5f00efab4009ca337812001109084a740ec9b7a"
+
+inherit pypi python_flit_core
+
+PYPI_PACKAGE = "sphinx_design"
+
+BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.55.0
#2 lore raw

PATCH 2/3 python3-sphinx-tags: add recipe

In reply to Antonin Godard

The python3-sphinx-tags recipe will be used in the Yocto Project documentation with of purpose of categorizing documents with tags.

---
 meta/conf/distro/include/maintainers.inc                |  1 +
 meta/recipes-devtools/python/python3-sphinx-tags_0.4.bb | 12 ++++++++++++
 2 files changed, 13 insertions(+)
meta/conf/distro/include/maintainers.inc +1 -0
index 6e37eb1095..bac12e4ec0 100644
@@ -733,6 +733,7 @@ RECIPE_MAINTAINER:pn-python3-sphinx-argparse = "Antonin Godard <antonin.godard@b
 RECIPE_MAINTAINER:pn-python3-sphinx-copybutton = "Antonin Godard <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-sphinx-design = "Antonin Godard <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-sphinx-rtd-theme = "Tim Orling <[email protected]>"
+RECIPE_MAINTAINER:pn-python3-sphinx-tags = "Antonin Godard <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-sphinxcontrib-applehelp = "Tim Orling <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-sphinxcontrib-devhelp = "Tim Orling <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-sphinxcontrib-htmlhelp = "Tim Orling <[email protected]>"
meta/recipes-devtools/python/python3-sphinx-tags_0.4.bb new file +12 -0
new file mode 100644
index 0000000000..fad627e64d
@@ -0,0 +1,12 @@
+SUMMARY = "A tiny Sphinx extension that implements blog-style tags for documentation"
+HOMEPAGE = "https://sphinx-tags.readthedocs.io/"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=05c148fce9144d129e885beada2a6c94"
+
+SRC_URI[sha256sum] = "3065219bacf47567c706f2237d5665b22f3a5167367b4c4568bcda4371a5359d"
+
+inherit pypi python_flit_core
+
+RDEPENDS:${PN} += "python3-sphinx-design"
+
+BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.55.0
#3 lore raw

PATCH 3/3 buildtools-docs-tarball: add nativesdk-python3-sphinx-tags

In reply to Antonin Godard

This addition will be used for building the Yocto Project documentation with the addition of tags for categorizing documents.

---
 meta/recipes-core/meta/buildtools-docs-tarball.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-core/meta/buildtools-docs-tarball.bb +1 -0
index 3fc28fad93..746c72f149 100644
@@ -10,6 +10,7 @@ TOOLCHAIN_HOST_TASK += "\
     nativesdk-python3-sphinx-argparse \
     nativesdk-python3-sphinx-copybutton \
     nativesdk-python3-sphinx-rtd-theme \
+    nativesdk-python3-sphinx-tags \
     nativesdk-python3-sphinxcontrib-svg2pdfconverter \
     nativesdk-python3-pyyaml \
     nativesdk-rsvg \
Signature · 1 line
2.55.0