summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <dirtyepic@gentoo.org>2007-12-05 03:45:14 +0000
committerRyan Hill <dirtyepic@gentoo.org>2007-12-05 03:45:14 +0000
commit78f7943328d7e5a5e2a09ead421613f81c482dfd (patch)
tree385608a2a116b3174cdb972a744aca850b29b6f9 /dev-util/documancer
parentstable for x86 (diff)
downloadgentoo-2-78f7943328d7e5a5e2a09ead421613f81c482dfd.tar.gz
gentoo-2-78f7943328d7e5a5e2a09ead421613f81c482dfd.tar.bz2
gentoo-2-78f7943328d7e5a5e2a09ead421613f81c482dfd.zip
Lock to wxpython-2.6 with wxversion. Make executable executable.
(Portage version: 2.1.4_rc7)
Diffstat (limited to 'dev-util/documancer')
-rw-r--r--dev-util/documancer/ChangeLog6
-rw-r--r--dev-util/documancer/documancer-0.2.6.ebuild11
-rw-r--r--dev-util/documancer/files/documancer-0.2.6-wxversion.patch16
3 files changed, 31 insertions, 2 deletions
diff --git a/dev-util/documancer/ChangeLog b/dev-util/documancer/ChangeLog
index 2a126bd0248b..156178feb275 100644
--- a/dev-util/documancer/ChangeLog
+++ b/dev-util/documancer/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-util/documancer
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/documancer/ChangeLog,v 1.11 2007/10/03 04:29:38 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/documancer/ChangeLog,v 1.12 2007/12/05 03:45:13 dirtyepic Exp $
+
+ 05 Dec 2007; Ryan Hill <dirtyepic@gentoo.org>
+ +files/documancer-0.2.6-wxversion.patch, documancer-0.2.6.ebuild:
+ Lock to wxpython-2.6 with wxversion. Make executable executable.
03 Oct 2007; Ryan Hill <dirtyepic@gentoo.org> documancer-0.2.6.ebuild:
Lock wxpython dependency. Fix quoting and use emake.
diff --git a/dev-util/documancer/documancer-0.2.6.ebuild b/dev-util/documancer/documancer-0.2.6.ebuild
index b36f1f8e3468..0375ff1007ae 100644
--- a/dev-util/documancer/documancer-0.2.6.ebuild
+++ b/dev-util/documancer/documancer-0.2.6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/documancer/documancer-0.2.6.ebuild,v 1.5 2007/10/03 04:29:38 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/documancer/documancer-0.2.6.ebuild,v 1.6 2007/12/05 03:45:13 dirtyepic Exp $
inherit eutils
@@ -32,8 +32,17 @@ pkg_setup () {
fi
}
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${P}-wxversion.patch
+}
+
src_install () {
emake DESTDIR="${D}" install || die
dodoc AUTHORS FAQ NEWS README TODO
+
+ fperms 0755 /usr/$(get_libdir)/documancer/documancer.py
}
diff --git a/dev-util/documancer/files/documancer-0.2.6-wxversion.patch b/dev-util/documancer/files/documancer-0.2.6-wxversion.patch
new file mode 100644
index 000000000000..99b2776d6afe
--- /dev/null
+++ b/dev-util/documancer/files/documancer-0.2.6-wxversion.patch
@@ -0,0 +1,16 @@
+diff -Naur documancer-0.2.6-orig/src/utils.py documancer-0.2.6/src/utils.py
+--- documancer-0.2.6-orig/src/utils.py 2005-06-09 01:32:30.000000000 -0600
++++ documancer-0.2.6/src/utils.py 2007-12-04 21:40:43.000000000 -0600
+@@ -121,6 +121,12 @@
+ def config():
+ global __configObject
+ if __configObject == None:
++ try:
++ import wxversion
++ wxversion.select("2.6")
++ except Exception, e:
++ print >> sys.stderr, "%s: wxPython 2.6 not installed." %e
++ sys.exit(1)
+ import wxPython.wx
+ if sys.platform == 'win32':
+ cfg = wxPython.wx.wxConfig('Documancer', 'Vaclav Slavik')