diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-17 17:12:08 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-18 23:27:28 +0000 |
commit | 6504eae346380022292b376167a1b32adf555b6a (patch) | |
tree | 9c0db32f6268008fed27c79ad3fa82c9da3fac17 /meta/recipes-devtools/python/python3-sphinx_4.4.0.bb | |
parent | 1899e5916566a6d59d8ef9290f032e07c2f92788 (diff) | |
download | poky-6504eae346380022292b376167a1b32adf555b6a.tar.gz |
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>
Diffstat (limited to 'meta/recipes-devtools/python/python3-sphinx_4.4.0.bb')
-rw-r--r-- | meta/recipes-devtools/python/python3-sphinx_4.4.0.bb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-sphinx_4.4.0.bb b/meta/recipes-devtools/python/python3-sphinx_4.4.0.bb index 225e7737f6..97ec2619cb 100644 --- a/meta/recipes-devtools/python/python3-sphinx_4.4.0.bb +++ b/meta/recipes-devtools/python/python3-sphinx_4.4.0.bb | |||
@@ -10,6 +10,12 @@ SRC_URI[sha256sum] = "6caad9786055cb1fa22b4a365c1775816b876f91966481765d7d50e9f0 | |||
10 | 10 | ||
11 | inherit setuptools3 pypi | 11 | inherit setuptools3 pypi |
12 | 12 | ||
13 | |||
14 | do_install:append () { | ||
15 | # The cache format of "{None, 'en', 'ja'}" doesn't seem to be consistent (dict ordering?) | ||
16 | rm ${D}${libdir}/${PYTHON_DIR}/site-packages/sphinx/writers/__pycache__/*latex* | ||
17 | } | ||
18 | |||
13 | RDEPENDS:${PN} = "\ | 19 | RDEPENDS:${PN} = "\ |
14 | python3-packaging python3-docutils python3-requests \ | 20 | python3-packaging python3-docutils python3-requests \ |
15 | python3-imagesize python3-alabaster python3-jinja2 \ | 21 | python3-imagesize python3-alabaster python3-jinja2 \ |