poky/meta/recipes-devtools/python/python3-sphinx_4.4.0.bb
Richard Purdie 6504eae346 python3-sphinx: Work around reproducibility issue
The dict used in this recipe doesn't write into the cache consistently, work
around it until this issue is resolved in python upstream (similar to frozenset
issues).

(From OE-Core rev: a0d056862c218f5fcd921905271169742cf464dc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:28 +00:00

29 lines
1013 B
BlitzBasic

DESCRIPTION = "Python documentation generator"
HOMEPAGE = "http://sphinx-doc.org/"
SECTION = "devel/python"
LICENSE = "BSD-2-Clause & MIT & BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=de4349dda741c550eb8b20f6b92f38d7"
PYPI_PACKAGE = "Sphinx"
SRC_URI[sha256sum] = "6caad9786055cb1fa22b4a365c1775816b876f91966481765d7d50e9f0dd35cc"
inherit setuptools3 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-packaging python3-docutils python3-requests \
python3-imagesize python3-alabaster python3-jinja2 \
python3-babel python3-pygments python3-snowballstemmer \
python3-sphinxcontrib-applehelp python3-sphinxcontrib-devhelp \
python3-sphinxcontrib-jsmath python3-sphinxcontrib-htmlhelp \
python3-sphinxcontrib-serializinghtml python3-sphinxcontrib-qthelp \
"
BBCLASSEXTEND = "native nativesdk"