[oe-commits] Denis 'GNUtoo' Carikli : midori-0.1.2 : added a dependency on python-docutils-native and new python-docutils-native package

GIT User account git at amethyst.openembedded.net
Fri Jan 23 21:06:17 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: e25d86b54fdc9caee8ae5c4a8982373211853196
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=e25d86b54fdc9caee8ae5c4a8982373211853196

Author: Denis 'GNUtoo' Carikli <GNUtoo at no-log.org>
Date:   Fri Jan 23 21:48:20 2009 +0100

midori-0.1.2 : added a dependency on python-docutils-native and new python-docutils-native package
*if you don't depend on python-docutils-native it midori it fails with :
| Traceback (most recent call last):
|   File "/usr/bin/rst2html.py", line 19, in <module>
|     from docutils.core import publish_cmdline, default_description
| ImportError: No module named docutils.core
| Unable to install the file `_build_/docs/user/midori.html': not found in dir:///home/gnutoo/oetmp/work/armv4t-angstrom-linux-gnueabi/midori-0.1.2-r0/midori-0.1.2
| make: *** [install] Error 1
| FATAL: oe_runmake failed
*don't bump the version as it couldn't build before

---

 packages/gtk-webcore/midori_0.1.2.bb          |    2 +-
 packages/python/python-docutils-native_0.5.bb |    8 ++++++++
 2 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/packages/gtk-webcore/midori_0.1.2.bb b/packages/gtk-webcore/midori_0.1.2.bb
index 067e900..42ac708 100644
--- a/packages/gtk-webcore/midori_0.1.2.bb
+++ b/packages/gtk-webcore/midori_0.1.2.bb
@@ -1,6 +1,6 @@
 require midori.inc
 
-DEPENDS += "python-native"
+DEPENDS += "python-native python-docutils-native"
 
 SRC_URI = "http://goodies.xfce.org/releases/midori/midori-${PV}.tar.bz2"
 
diff --git a/packages/python/python-docutils-native_0.5.bb b/packages/python/python-docutils-native_0.5.bb
new file mode 100644
index 0000000..5e294e5
--- /dev/null
+++ b/packages/python/python-docutils-native_0.5.bb
@@ -0,0 +1,8 @@
+require python-docutils_${PV}.bb
+DEPENDS = "python-native"
+inherit native
+
+do_stage() {
+	distutils_stage_all
+}
+





More information about the Openembedded-commits mailing list