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.

Signed-off-by: Khem Raj <raj.k...@gmail.com>
---
 meta/recipes-devtools/python/python3-docutils_0.20.1.bb | 9 +++++++++
 1 file changed, 9 insertions(+)

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 65ca55e07bf..6038732cc4f 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
 
 inherit pypi setuptools3
 
+do_install:append() {
+    for f in rst2html rst2html4 rst2html5 rst2latex rst2man \
+                  rst2odt rst2odt_prepstyles rst2pseudoxml rst2s5 rst2xetex 
rst2xml \
+                  rstpep2html
+    do
+        mv ${D}${bindir}/$f.py ${D}${bindir}/$f;
+    done
+}
+
 BBCLASSEXTEND = "native nativesdk"
-- 
2.42.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188591): 
https://lists.openembedded.org/g/openembedded-core/message/188591
Mute This Topic: https://lists.openembedded.org/mt/101704148/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to