summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2017-06-28 17:03:38 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2017-06-30 22:01:00 +0200
commit2f1fb4271246cd1ad92ca2c059f09752720cb17d (patch)
tree5735c58c3c0f0740a8662710bf21276a37546a06
parentcb5b3c802d960e7f928e324ae66f7958e8fc87d7 (diff)
python3-docutils: fix build time rst2man dependency
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Dominik Sliwa <dominik.sliwa@toradex.com>
-rw-r--r--recipes-devtools/python/python3-docutils/rst2man_using_python3.patch8
-rw-r--r--recipes-devtools/python/python3-docutils_0.12.bbappend6
2 files changed, 14 insertions, 0 deletions
diff --git a/recipes-devtools/python/python3-docutils/rst2man_using_python3.patch b/recipes-devtools/python/python3-docutils/rst2man_using_python3.patch
new file mode 100644
index 0000000..aa446d2
--- /dev/null
+++ b/recipes-devtools/python/python3-docutils/rst2man_using_python3.patch
@@ -0,0 +1,8 @@
+--- a/tools/rst2man.py 2009-08-18 11:39:39.000000000 -0700
++++ b/tmp/rst2man.py 2017-04-04 18:25:14.049467561 -0700
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python3
+
+ # Author:
+ # Contact: grubert@users.sf.net
diff --git a/recipes-devtools/python/python3-docutils_0.12.bbappend b/recipes-devtools/python/python3-docutils_0.12.bbappend
new file mode 100644
index 0000000..22f835c
--- /dev/null
+++ b/recipes-devtools/python/python3-docutils_0.12.bbappend
@@ -0,0 +1,6 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/python3-docutils/:"
+
+SRC_URI_append = " \
+file://rst2man_using_python3.patch \
+"
+