Re: [OE-core] [PATCH 1/2] python3-docutils: Fix bug of program rst2man cannot be found.
From: Alexander Kanavin <hidden>
Date: 2021-01-25 08:50:33
Please always check first if issue has been fixed upstream and needs to be backported: https://gitlab.freedesktop.org/mesa/drm/-/commit/62b9a3eee9bdaafa766e92d5bebeb4e59845c45a Alex On Mon, 25 Jan 2021 at 09:43, Alexander Kanavin via lists.openembedded.org [off-list ref] wrote:
Wait, you need to provide a better explanation. Where does this issue happen? And why isn't it fixed upstream? Alex On Mon, 25 Jan 2021 at 03:20, Wang Mingyu [off-list ref] wrote:quoted
Signed-off-by: Wang Mingyu <redacted> --- .../python/python3-docutils_0.16.bb | 15 +++++++++++++++ 1 file changed, 15 insertions(+)diff --git a/meta/recipes-devtools/python/python3-docutils_0.16.bbb/meta/recipes-devtools/python/python3-docutils_0.16.bb index 50547a1b0c..3b2df223ed 100644--- a/meta/recipes-devtools/python/python3-docutils_0.16.bb +++ b/meta/recipes-devtools/python/python3-docutils_0.16.bb@@ -14,4 +14,19 @@ S = "${WORKDIR}/docutils-${PV}" inherit distutils3 +do_install_append_class-native() { + mv ${D}${bindir}/rst2html.py ${D}${bindir}/rst2html + mv ${D}${bindir}/rst2html4.py ${D}${bindir}/rst2html4 + mv ${D}${bindir}/rst2html5.py ${D}${bindir}/rst2html5 + mv ${D}${bindir}/rst2latex.py ${D}${bindir}/rst2latex + mv ${D}${bindir}/rst2man.py ${D}${bindir}/rst2man + mv ${D}${bindir}/rst2odt.py ${D}${bindir}/rst2odt + mv ${D}${bindir}/rst2odt_prepstyles.py${D}${bindir}/rst2odt_prepstyles + mv ${D}${bindir}/rst2pseudoxml.py ${D}${bindir}/rst2pseudoxml + mv ${D}${bindir}/rst2s5.py ${D}${bindir}/rst2s5 + mv ${D}${bindir}/rst2xetex.py ${D}${bindir}/rst2xetex + mv ${D}${bindir}/rst2xml.py ${D}${bindir}/rst2xml + mv ${D}${bindir}/rstpep2html.py ${D}${bindir}/rstpep2html +} + BBCLASSEXTEND = "native" -- 2.25.1