poky/meta/recipes-devtools/python/python3-sphinx_8.2.1.bb
Trevor Gamblin ff8898d10b python3-sphinx: upgrade 8.1.3 -> 8.2.1
Changelog: https://www.sphinx-doc.org/en/master/changes/8.2.html

License-Update: Update copyright year

Add roman-numerals-py to RDEPENDS to avoid the following error:

|     sphinx.errors.ExtensionError: Could not import extension sphinx.builders.latex (exception: No module named 'roman_numerals')

(From OE-Core rev: 67874bb6689f177dcf4b7509cfa0dc9d62b8f38b)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-27 10:55:17 +00:00

36 lines
1.0 KiB
BlitzBasic

SUMMARY = "Python documentation generator"
HOMEPAGE = "http://sphinx-doc.org/"
SECTION = "devel/python"
LICENSE = "BSD-2-Clause & MIT"
LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=e30c37a2b7fb0afa3adc0d72b85e8b04"
SRC_URI[sha256sum] = "e4b932951b9c18b039f73b72e4e63afe967d90408700ec222b981ac24647c01e"
inherit python_flit_core pypi
do_install:append () {
# The cache format of "{None, 'en', 'ja'}" doesn't seem to be consistent (dict ordering?)
rm ${D}${libdir}/${PYTHON_DIR}/site-packages/sphinx/writers/__pycache__/*latex*
}
RDEPENDS:${PN} = "\
python3-alabaster \
python3-babel \
python3-docutils \
python3-imagesize \
python3-jinja2 \
python3-packaging \
python3-pygments \
python3-requests \
python3-roman-numerals-py \
python3-snowballstemmer \
python3-sphinxcontrib-applehelp \
python3-sphinxcontrib-devhelp \
python3-sphinxcontrib-htmlhelp \
python3-sphinxcontrib-jsmath \
python3-sphinxcontrib-qthelp \
python3-sphinxcontrib-serializinghtml \
"
BBCLASSEXTEND = "native nativesdk"