summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Vroon <chainsaw@gentoo.org>2006-04-30 23:07:46 +0000
committerTony Vroon <chainsaw@gentoo.org>2006-04-30 23:07:46 +0000
commit8153474ec765aa53b21a6ee13d0ea04a515c5a41 (patch)
tree8808aee5848561d2534af688c2ccf4010e2168b5 /sci-calculators/gonvert
parentUpdate to 6.1_rc1. (diff)
downloadhistorical-8153474ec765aa53b21a6ee13d0ea04a515c5a41.tar.gz
historical-8153474ec765aa53b21a6ee13d0ea04a515c5a41.tar.bz2
historical-8153474ec765aa53b21a6ee13d0ea04a515c5a41.zip
Patch from Markus Dittrich <markusle@gentoo.org> closes bug #127604 (glade-related traceback). Revision bump as this does not cause a compile failure on affected systems. Added ~ppc keyword.
Package-Manager: portage-2.1_pre10
Diffstat (limited to 'sci-calculators/gonvert')
-rw-r--r--sci-calculators/gonvert/ChangeLog10
-rw-r--r--sci-calculators/gonvert/files/0.2.15-glade.patch12
-rw-r--r--sci-calculators/gonvert/files/digest-gonvert-0.2.15-r13
-rw-r--r--sci-calculators/gonvert/gonvert-0.2.15-r1.ebuild29
4 files changed, 53 insertions, 1 deletions
diff --git a/sci-calculators/gonvert/ChangeLog b/sci-calculators/gonvert/ChangeLog
index 0e05278c1d08..6a8e7c533467 100644
--- a/sci-calculators/gonvert/ChangeLog
+++ b/sci-calculators/gonvert/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for sci-calculators/gonvert
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-calculators/gonvert/ChangeLog,v 1.4 2006/01/15 01:53:48 cryos Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-calculators/gonvert/ChangeLog,v 1.5 2006/04/30 23:07:46 chainsaw Exp $
+
+*gonvert-0.2.15-r1 (30 Apr 2006)
+
+ 30 Apr 2006; Tony Vroon <chainsaw@gentoo.org> +files/0.2.15-glade.patch,
+ -gonvert-0.2.15.ebuild, +gonvert-0.2.15-r1.ebuild:
+ Patch from Markus Dittrich <markusle@gentoo.org> closes bug #127604
+ (glade-related traceback). Revision bump as this does not cause a compile
+ failure on affected systems. Added ~ppc keyword.
*gonvert-0.2.15 (15 Jan 2006)
diff --git a/sci-calculators/gonvert/files/0.2.15-glade.patch b/sci-calculators/gonvert/files/0.2.15-glade.patch
new file mode 100644
index 000000000000..78e390d37988
--- /dev/null
+++ b/sci-calculators/gonvert/files/0.2.15-glade.patch
@@ -0,0 +1,12 @@
+diff -Naur gonvert-0.2.15/gonvert gonvert-0.2.15-new/gonvert
+--- gonvert-0.2.15/gonvert 2005-12-25 12:55:21.000000000 -0600
++++ gonvert-0.2.15-new/gonvert 2006-04-05 22:20:26.000000000 -0500
+@@ -730,7 +730,7 @@
+ homepath=''
+ else:
+ #look for it in the installed directory
+- homepath=sys.path[0] + '/../share/gonvert/'
++ homepath='/usr/share/gonvert/'
+
+ gladefile=homepath+'gonvert.glade'
+
diff --git a/sci-calculators/gonvert/files/digest-gonvert-0.2.15-r1 b/sci-calculators/gonvert/files/digest-gonvert-0.2.15-r1
new file mode 100644
index 000000000000..d91528f643cc
--- /dev/null
+++ b/sci-calculators/gonvert/files/digest-gonvert-0.2.15-r1
@@ -0,0 +1,3 @@
+MD5 f8e184cc1a77c790fcb404f3f17bebea gonvert-0.2.15.tar.gz 164750
+RMD160 fcedf30b1c09af415224264c2fd53aeb667593bb gonvert-0.2.15.tar.gz 164750
+SHA256 967d0edee01f43dd9033f5578e8394e56e21284892c5dd7917e984c917757405 gonvert-0.2.15.tar.gz 164750
diff --git a/sci-calculators/gonvert/gonvert-0.2.15-r1.ebuild b/sci-calculators/gonvert/gonvert-0.2.15-r1.ebuild
new file mode 100644
index 000000000000..f01b5cf967f5
--- /dev/null
+++ b/sci-calculators/gonvert/gonvert-0.2.15-r1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-calculators/gonvert/gonvert-0.2.15-r1.ebuild,v 1.1 2006/04/30 23:07:46 chainsaw Exp $
+
+inherit eutils
+
+DESCRIPTION="Unit conversion utility written in PyGTK"
+HOMEPAGE="http://unihedron.com/projects/gonvert/gonvert.php"
+SRC_URI="http://unihedron.com/projects/gonvert/downloads/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~ppc"
+IUSE=""
+
+DEPEND=">=dev-python/pygtk-2.8.2"
+
+src_unpack () {
+ unpack ${A}
+ cd ${S}
+ epatch "${FILESDIR}"/0.2.12-about.patch
+ epatch "${FILESDIR}"/0.2.15-glade.patch
+}
+
+src_install () {
+ make install DESTDIR="${D}" prefix=/usr || die
+ rm -fr "${D}/usr/share/doc/${PN}"
+ dodoc doc/CHANGELOG doc/FAQ doc/README doc/THANKS doc/TODO
+}