| Message ID | 20261113-msieron-python-sphinx-pycache-v1-1-7e641cba892f@nokia.com |
|---|---|
| State | Under Review |
| Headers | show |
| Series | python3-sphinx: Make __pycache__ removal optional | expand |
diff --git a/meta/recipes-devtools/python/python3-sphinx_9.2.0.bb b/meta/recipes-devtools/python/python3-sphinx_9.2.0.bb index e54b35ca68..fde0777022 100644 --- a/meta/recipes-devtools/python/python3-sphinx_9.2.0.bb +++ b/meta/recipes-devtools/python/python3-sphinx_9.2.0.bb @@ -12,7 +12,7 @@ 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* + rm -f ${D}${libdir}/${PYTHON_DIR}/site-packages/sphinx/writers/__pycache__/*latex* } RDEPENDS:${PN} = "\
One can disable bytecode compilation via INSTALL_WHEEL_COMPILE_BYTECODE and in such case this rm will fail. Signed-off-by: Michal Sieron <michal.sieron@nokia.com> --- meta/recipes-devtools/python/python3-sphinx_9.2.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- base-commit: 34991d0ce3cc5f38dd29e824af7579512d2b917e change-id: 20261113-msieron-python-sphinx-pycache-b20648bacafc Best regards, -- Michal Sieron <michal.sieron@nokia.com>