From 46a59318c40027a29899fa2eb468ea46a810b73d Mon Sep 17 00:00:00 2001 From: Tony Vroon Date: Sat, 24 Dec 2005 14:58:00 +0000 Subject: Initial commit, closes bug #62492 by Marius Konitzer. Ebuild by Yaakov S . Package-Manager: portage-2.0.53 --- sci-calculators/gonvert/ChangeLog | 11 +++++++ sci-calculators/gonvert/Manifest | 15 +++++++++ sci-calculators/gonvert/files/0.2.12-about.patch | 12 +++++++ .../gonvert/files/digest-gonvert-0.2.12 | 1 + sci-calculators/gonvert/gonvert-0.2.12.ebuild | 37 ++++++++++++++++++++++ sci-calculators/gonvert/metadata.xml | 9 ++++++ 6 files changed, 85 insertions(+) create mode 100644 sci-calculators/gonvert/ChangeLog create mode 100644 sci-calculators/gonvert/Manifest create mode 100644 sci-calculators/gonvert/files/0.2.12-about.patch create mode 100644 sci-calculators/gonvert/files/digest-gonvert-0.2.12 create mode 100644 sci-calculators/gonvert/gonvert-0.2.12.ebuild create mode 100644 sci-calculators/gonvert/metadata.xml (limited to 'sci-calculators') diff --git a/sci-calculators/gonvert/ChangeLog b/sci-calculators/gonvert/ChangeLog new file mode 100644 index 000000000000..123b94afe4de --- /dev/null +++ b/sci-calculators/gonvert/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for sci-calculators/gonvert +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-calculators/gonvert/ChangeLog,v 1.1 2005/12/24 14:58:00 chainsaw Exp $ + +*gonvert-0.2.12 (24 Dec 2005) + + 24 Dec 2005; +files/0.2.12-about.patch, + +metadata.xml, +gonvert-0.2.12.ebuild: + Initial commit, closes bug #62492 by Marius Konitzer. Ebuild by Yaakov S + . + diff --git a/sci-calculators/gonvert/Manifest b/sci-calculators/gonvert/Manifest new file mode 100644 index 000000000000..aca5041b82f7 --- /dev/null +++ b/sci-calculators/gonvert/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 02155be5f8813161546b502abf5eab57 ChangeLog 461 +MD5 7a256b70c07c8427561f42bb27b312e4 files/0.2.12-about.patch 540 +MD5 76f8a1799e14eda8add1a5f2d99ab94c files/digest-gonvert-0.2.12 66 +MD5 134aeea1737edcb19feb958f47f4ce9e gonvert-0.2.12.ebuild 1043 +MD5 21fbda69ea690869a8d2812f140bb3c7 metadata.xml 246 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.2-ecc0.1.6 (GNU/Linux) + +iD8DBQFDrWIFp5vW4rUFj5oRAngAAKCBlJUcj9tMsEPVkbZtaRX2Db2eEACeIgAr +aUS6iANwezc0D2WKJa6JmY0= +=fPjl +-----END PGP SIGNATURE----- diff --git a/sci-calculators/gonvert/files/0.2.12-about.patch b/sci-calculators/gonvert/files/0.2.12-about.patch new file mode 100644 index 000000000000..c98b5fc2c847 --- /dev/null +++ b/sci-calculators/gonvert/files/0.2.12-about.patch @@ -0,0 +1,12 @@ +diff -urN gonvert-0.2.11-orig/gonvert gonvert-0.2.11/gonvert +--- gonvert-0.2.11-orig/gonvert 2004-09-03 07:00:20.000000000 -0400 ++++ gonvert-0.2.11/gonvert 2004-11-28 20:05:34.000000000 -0500 +@@ -997,7 +997,7 @@ + books_window = widgets.get_widget('books_window') + + about_image = widgets.get_widget('about_image') +-about_image.set_from_file(homepath +'pixmaps/gonvert_picture.png') ++about_image.set_from_file(homepath +'../pixmaps/gonvert_picture.png') + versionlabel = widgets.get_widget('versionlabel') + versionlabel.set_text(version) + diff --git a/sci-calculators/gonvert/files/digest-gonvert-0.2.12 b/sci-calculators/gonvert/files/digest-gonvert-0.2.12 new file mode 100644 index 000000000000..8588acda536e --- /dev/null +++ b/sci-calculators/gonvert/files/digest-gonvert-0.2.12 @@ -0,0 +1 @@ +MD5 ef958ba92b5133beb45982ad556fdf21 gonvert-0.2.12.tar.gz 163490 diff --git a/sci-calculators/gonvert/gonvert-0.2.12.ebuild b/sci-calculators/gonvert/gonvert-0.2.12.ebuild new file mode 100644 index 000000000000..828b6f9a5e20 --- /dev/null +++ b/sci-calculators/gonvert/gonvert-0.2.12.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-calculators/gonvert/gonvert-0.2.12.ebuild,v 1.1 2005/12/24 14:58:00 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" +IUSE="" + +DEPEND="=dev-python/pygtk-2*" + +pkg_setup() { + # see Gentoo Bugzilla bug 2272 + built_with_use "=dev-python/pygtk-2*" gnome || + { eerror "PyGTK must be compiled with libglade support for gonvert to run." + eerror "Please reemerge pygtk with the \"gnome\" USE flag." + die "No libglade support in pygtk." + } +} + +src_unpack () { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${PV}-about.patch || die +} + +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 +} diff --git a/sci-calculators/gonvert/metadata.xml b/sci-calculators/gonvert/metadata.xml new file mode 100644 index 000000000000..0f3109173ffa --- /dev/null +++ b/sci-calculators/gonvert/metadata.xml @@ -0,0 +1,9 @@ + + + +sci + + chainsaw@gentoo.org + Tony Vroon + + -- cgit v1.2.3-65-gdbad