summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Vroon <chainsaw@gentoo.org>2007-09-14 16:16:11 +0000
committerTony Vroon <chainsaw@gentoo.org>2007-09-14 16:16:11 +0000
commit799ea42649bff1f225ceebfcc10f5a8211172c0e (patch)
treed49857e714c46e1ca88dcd66ca9b944f1b18fe8c /sci-calculators/gonvert
parentstable x86, bug 159465 (diff)
downloadgentoo-2-799ea42649bff1f225ceebfcc10f5a8211172c0e.tar.gz
gentoo-2-799ea42649bff1f225ceebfcc10f5a8211172c0e.tar.bz2
gentoo-2-799ea42649bff1f225ceebfcc10f5a8211172c0e.zip
Version bump, as requested by Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA@GMail.Com> in bug #191891.
(Portage version: 2.1.3.9)
Diffstat (limited to 'sci-calculators/gonvert')
-rw-r--r--sci-calculators/gonvert/ChangeLog9
-rw-r--r--sci-calculators/gonvert/files/0.2.19-paths.patch64
-rw-r--r--sci-calculators/gonvert/files/digest-gonvert-0.2.193
-rw-r--r--sci-calculators/gonvert/gonvert-0.2.19.ebuild28
4 files changed, 103 insertions, 1 deletions
diff --git a/sci-calculators/gonvert/ChangeLog b/sci-calculators/gonvert/ChangeLog
index 9d6106fdc925..076877c63db8 100644
--- a/sci-calculators/gonvert/ChangeLog
+++ b/sci-calculators/gonvert/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sci-calculators/gonvert
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-calculators/gonvert/ChangeLog,v 1.7 2007/02/22 01:24:47 jokey Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-calculators/gonvert/ChangeLog,v 1.8 2007/09/14 16:16:10 chainsaw Exp $
+
+*gonvert-0.2.19 (14 Sep 2007)
+
+ 14 Sep 2007; Tony Vroon <chainsaw@gentoo.org> +files/0.2.19-paths.patch,
+ +gonvert-0.2.19.ebuild:
+ Version bump, as requested by Arfrever Frehtes Taifersar Arahesis
+ <Arfrever.FTA@GMail.Com> in bug #191891.
22 Feb 2007; Markus Ullmann <jokey@gentoo.org> ChangeLog:
Redigest for Manifest2
diff --git a/sci-calculators/gonvert/files/0.2.19-paths.patch b/sci-calculators/gonvert/files/0.2.19-paths.patch
new file mode 100644
index 000000000000..a9740903ae1d
--- /dev/null
+++ b/sci-calculators/gonvert/files/0.2.19-paths.patch
@@ -0,0 +1,64 @@
+diff -uNr gonvert-0.2.19.ORIG/gonvert gonvert-0.2.19/gonvert
+--- gonvert-0.2.19.ORIG/gonvert 2007-09-14 17:12:10.000000000 +0100
++++ gonvert-0.2.19/gonvert 2007-09-14 17:10:34.000000000 +0100
+@@ -729,9 +729,9 @@
+ if os.path.exists('gonvert.glade'):
+ homepath=''
+ pixmapspath='pixmaps/'
+-elif os.path.exists('/usr/local/share/gonvert/gonvert.glade'):
+- homepath='/usr/local/share/gonvert/'
+- pixmapspath='/usr/local/share/pixmaps/'
++elif os.path.exists('/usr/share/gonvert/gonvert.glade'):
++ homepath='/usr/share/gonvert/'
++ pixmapspath='/usr/share/pixmaps/'
+ else:
+ #look for it in the installed directory
+ homepath=sys.path[0] + '/../share/gonvert/'
+diff -uNr gonvert-0.2.19.ORIG/Makefile gonvert-0.2.19/Makefile
+--- gonvert-0.2.19.ORIG/Makefile 2007-09-14 17:12:10.000000000 +0100
++++ gonvert-0.2.19/Makefile 2007-09-14 17:12:56.000000000 +0100
+@@ -4,7 +4,7 @@
+ VERSION=$(shell head -3 $(NAME) | grep version | cut -d\" -f2)
+
+ #DESTDIR can be defined when calling make ie. make install DESTDIR=$RPM_BUILD_ROOT
+-prefix = /usr/local
++prefix = /usr
+ bindir = $(prefix)/bin
+ datadir = $(prefix)/share
+ docdir = $(datadir)/doc
+@@ -18,7 +18,7 @@
+ install -D -m0644 gonvert.glade $(DESTDIR)$(datadir)/gonvert/gonvert.glade
+ install -d -m0755 $(DESTDIR)$(datadir)/pixmaps/
+ install -m0644 pixmaps/*.png $(DESTDIR)$(datadir)/pixmaps/
+- install -D -m0644 gonvert.desktop $(DESTDIR)$(datadir)/gnome/apps/Utilities/gonvert.desktop
++ install -D -m0644 gonvert.desktop $(DESTDIR)$(datadir)/applications/gonvert.desktop
+ install -d -m0755 $(DESTDIR)$(docdir)/gonvert/
+ install -m0644 doc/* $(DESTDIR)$(docdir)/gonvert/
+
+@@ -27,7 +27,7 @@
+ install -D -m0644 gonvert.glade $(DESTDIR)$(datadir)/gonvert/gonvert.glade
+ install -d -m0755 $(DESTDIR)$(datadir)/pixmaps/
+ install -m0644 pixmaps/*.png $(DESTDIR)$(datadir)/pixmaps/
+- install -D -m0644 gonvert.desktop $(DESTDIR)$(datadir)/gnome/apps/Utilities/gonvert.desktop
++ install -D -m0644 gonvert.desktop $(DESTDIR)$(datadir)/applications/gonvert.desktop
+ install -d -m0755 $(DESTDIR)$(docdir)/gonvert/
+ install -m0644 doc/* $(DESTDIR)$(docdir)/gonvert/
+ install -m0644 i18n/pl_messages.gmo /usr/share/locale/pl/LC_MESSAGES/gonvert.mo
+@@ -37,7 +37,7 @@
+ rm -f $(bindir)/gonvert
+ rm -rf $(datadir)/gonvert*
+ rm -rf $(docdir)/gonvert*
+- rm -f /usr/share/gnome/apps/Utilities/$(NAME).desktop
++ rm -f /usr/share/applications/$(NAME).desktop
+ rm -f /usr/share/pixmaps/$(NAME).png
+
+ uninstall_pl:
+@@ -45,7 +45,7 @@
+ rm -f $(bindir)/gonvert
+ rm -rf $(datadir)/gonvert*
+ rm -rf $(docdir)/gonvert*
+- rm -f /usr/share/gnome/apps/Utilities/$(NAME).desktop
++ rm -f /usr/share/applications/$(NAME).desktop
+ rm -f /usr/share/pixmaps/$(NAME).png
+ rm -f /usr/share/locale/pl/LC_MESSAGES/gonvert.mo
+
diff --git a/sci-calculators/gonvert/files/digest-gonvert-0.2.19 b/sci-calculators/gonvert/files/digest-gonvert-0.2.19
new file mode 100644
index 000000000000..043520acfcb0
--- /dev/null
+++ b/sci-calculators/gonvert/files/digest-gonvert-0.2.19
@@ -0,0 +1,3 @@
+MD5 5fa0df1ee4b4783d9093dd0a707d805c gonvert-0.2.19.tar.gz 151530
+RMD160 6dadfd85029dea994d4c603122d678d384f9cd7a gonvert-0.2.19.tar.gz 151530
+SHA256 f076f007272ccc106f67bdc81dd18dfab50431561e711f522a90ce9d7fe670b7 gonvert-0.2.19.tar.gz 151530
diff --git a/sci-calculators/gonvert/gonvert-0.2.19.ebuild b/sci-calculators/gonvert/gonvert-0.2.19.ebuild
new file mode 100644
index 000000000000..928401d433da
--- /dev/null
+++ b/sci-calculators/gonvert/gonvert-0.2.19.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-calculators/gonvert/gonvert-0.2.19.ebuild,v 1.1 2007/09/14 16:16:10 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}/${PV}-paths.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
+}