summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-docutils_0.20.1.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-10-01 18:13:50 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-10-04 23:55:12 +0100
commiteac91be2e1ba24c0be26e50189e3d90a60efd7e7 (patch)
tree0e9bcda50758fd2104222884f34ac5600ca4f3a9 /meta/recipes-devtools/python/python3-docutils_0.20.1.bb
parente86612dc31aaab24da45042d44a7c087a2af6058 (diff)
downloadpoky-eac91be2e1ba24c0be26e50189e3d90a60efd7e7.tar.gz
python3-docutils: Rename utilities to their canonical names
Packages which use the utilities usually call/search for these tools without .py extension e.g. kernel-selftest and fails to find the tools if they are having .py extension. (From OE-Core rev: 47b221d6bc91139cd84ddcf9c57a12288eafd8be) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-docutils_0.20.1.bb')
-rw-r--r--meta/recipes-devtools/python/python3-docutils_0.20.1.bb9
1 files changed, 9 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-docutils_0.20.1.bb b/meta/recipes-devtools/python/python3-docutils_0.20.1.bb
index 65ca55e07b..6038732cc4 100644
--- a/meta/recipes-devtools/python/python3-docutils_0.20.1.bb
+++ b/meta/recipes-devtools/python/python3-docutils_0.20.1.bb
@@ -8,4 +8,13 @@ SRC_URI[sha256sum] = "f08a4e276c3a1583a86dce3e34aba3fe04d02bba2dd51ed16106244e8a
8 8
9inherit pypi setuptools3 9inherit pypi setuptools3
10 10
11do_install:append() {
12 for f in rst2html rst2html4 rst2html5 rst2latex rst2man \
13 rst2odt rst2odt_prepstyles rst2pseudoxml rst2s5 rst2xetex rst2xml \
14 rstpep2html
15 do
16 mv ${D}${bindir}/$f.py ${D}${bindir}/$f;
17 done
18}
19
11BBCLASSEXTEND = "native nativesdk" 20BBCLASSEXTEND = "native nativesdk"