summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Cakebread <pythonhead@gentoo.org>2006-07-06 17:18:29 +0000
committerRob Cakebread <pythonhead@gentoo.org>2006-07-06 17:18:29 +0000
commite04bf7023462670872a8170359d56c2c6053e429 (patch)
treea09ca8084f618f20782e9da73ec8810ba70539c2 /dev-util/gazpacho
parentInitial version. (diff)
downloadgentoo-2-e04bf7023462670872a8170359d56c2c6053e429.tar.gz
gentoo-2-e04bf7023462670872a8170359d56c2c6053e429.tar.bz2
gentoo-2-e04bf7023462670872a8170359d56c2c6053e429.zip
amd64 patch and ebuild fix submitted by Yogesh <ysharma@catprosystems.com>
(Portage version: 2.1.1_pre2-r4)
Diffstat (limited to 'dev-util/gazpacho')
-rw-r--r--dev-util/gazpacho/ChangeLog10
-rw-r--r--dev-util/gazpacho/files/digest-gazpacho-0.5.32
-rw-r--r--dev-util/gazpacho/files/digest-gazpacho-0.6.22
-rw-r--r--dev-util/gazpacho/files/digest-gazpacho-0.6.2-r13
-rw-r--r--dev-util/gazpacho/files/gazpacho-0.6.2-amd64-fixes.patch28
-rw-r--r--dev-util/gazpacho/gazpacho-0.6.2-r1.ebuild44
6 files changed, 87 insertions, 2 deletions
diff --git a/dev-util/gazpacho/ChangeLog b/dev-util/gazpacho/ChangeLog
index 6cca8b9cf6e8..7f7305da55e9 100644
--- a/dev-util/gazpacho/ChangeLog
+++ b/dev-util/gazpacho/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-util/gazpacho
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/gazpacho/ChangeLog,v 1.4 2005/11/24 15:02:31 marienz Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/gazpacho/ChangeLog,v 1.5 2006/07/06 17:18:28 pythonhead Exp $
+
+*gazpacho-0.6.2-r1 (06 Jul 2006)
+
+ 06 Jul 2006; Rob Cakebread <pythonhead@gentoo.org>
+ +files/gazpacho-0.6.2-amd64-fixes.patch, +gazpacho-0.6.2-r1.ebuild:
+ amd64 patch and ebuild fix submitted by Yogesh <ysharma@catprosystems.com>
*gazpacho-0.6.2 (24 Nov 2005)
diff --git a/dev-util/gazpacho/files/digest-gazpacho-0.5.3 b/dev-util/gazpacho/files/digest-gazpacho-0.5.3
index 4fc3b35e9e8b..1cbb0a13637f 100644
--- a/dev-util/gazpacho/files/digest-gazpacho-0.5.3
+++ b/dev-util/gazpacho/files/digest-gazpacho-0.5.3
@@ -1 +1,3 @@
MD5 2116623fc44d11fc775679d2f5d25c6a gazpacho-0.5.3.tar.bz2 260103
+RMD160 0ac4b41ebe02512e0b798a7254f4ddf48e63fe99 gazpacho-0.5.3.tar.bz2 260103
+SHA256 f5421791d83f8043d7bca4efaa2d5b368a77d77048c2bfa8165ea6d971160621 gazpacho-0.5.3.tar.bz2 260103
diff --git a/dev-util/gazpacho/files/digest-gazpacho-0.6.2 b/dev-util/gazpacho/files/digest-gazpacho-0.6.2
index 3f2673ce889a..f5732290caa0 100644
--- a/dev-util/gazpacho/files/digest-gazpacho-0.6.2
+++ b/dev-util/gazpacho/files/digest-gazpacho-0.6.2
@@ -1 +1,3 @@
MD5 64311aa9688c456838903b3777703981 gazpacho-0.6.2.tar.bz2 379748
+RMD160 fefd91a51dce2d670d1949aaec2b2ac072ff3652 gazpacho-0.6.2.tar.bz2 379748
+SHA256 38a768f58015b5757b66b095abfb0b6ea66ca4ae517246b47a1fd9a37a15e8e7 gazpacho-0.6.2.tar.bz2 379748
diff --git a/dev-util/gazpacho/files/digest-gazpacho-0.6.2-r1 b/dev-util/gazpacho/files/digest-gazpacho-0.6.2-r1
new file mode 100644
index 000000000000..f5732290caa0
--- /dev/null
+++ b/dev-util/gazpacho/files/digest-gazpacho-0.6.2-r1
@@ -0,0 +1,3 @@
+MD5 64311aa9688c456838903b3777703981 gazpacho-0.6.2.tar.bz2 379748
+RMD160 fefd91a51dce2d670d1949aaec2b2ac072ff3652 gazpacho-0.6.2.tar.bz2 379748
+SHA256 38a768f58015b5757b66b095abfb0b6ea66ca4ae517246b47a1fd9a37a15e8e7 gazpacho-0.6.2.tar.bz2 379748
diff --git a/dev-util/gazpacho/files/gazpacho-0.6.2-amd64-fixes.patch b/dev-util/gazpacho/files/gazpacho-0.6.2-amd64-fixes.patch
new file mode 100644
index 000000000000..6d5ff2042af5
--- /dev/null
+++ b/dev-util/gazpacho/files/gazpacho-0.6.2-amd64-fixes.patch
@@ -0,0 +1,28 @@
+diff -ur gazpacho-0.6.2-orig/gazpacho/kiwiutils.py gazpacho-0.6.2/gazpacho/kiwiutils.py
+--- gazpacho-0.6.2-orig/gazpacho/kiwiutils.py 2006-01-10 04:12:40.314703200 -0800
++++ gazpacho-0.6.2/gazpacho/kiwiutils.py 2006-01-10 04:14:57.228889080 -0800
+@@ -22,6 +22,7 @@
+ # Johan Dahlin <jdahlin@async.com.br>
+ #
+
++import struct
+ import sys
+
+ import gobject
+@@ -189,9 +190,12 @@
+
+ dict[name] = (flags, retval, args)
+
+-_MAX_INT = sys.maxint
+-_MAX_FLOAT = 1e+308
+-_MAX_LONG = 18446744073709551616L
++def _max(c):
++ return (1 << (8 * struct.calcsize(c)-1))-1
++
++_MAX_INT = int(_max('i'))
++_MAX_FLOAT = float(_max('f'))
++_MAX_LONG = long(_max('l'))
+
+ def gproperty(name, type, *args, **kwargs):
+ """
+Only in gazpacho-0.6.2/gazpacho: kiwiutils.py.orig
diff --git a/dev-util/gazpacho/gazpacho-0.6.2-r1.ebuild b/dev-util/gazpacho/gazpacho-0.6.2-r1.ebuild
new file mode 100644
index 000000000000..78d1526c717a
--- /dev/null
+++ b/dev-util/gazpacho/gazpacho-0.6.2-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/gazpacho/gazpacho-0.6.2-r1.ebuild,v 1.1 2006/07/06 17:18:28 pythonhead Exp $
+
+inherit distutils gnome.org eutils
+
+DESCRIPTION="Gazpacho is a glade-like gtk interface designer."
+HOMEPAGE="http://gazpacho.sicem.biz/"
+LICENSE="LGPL-2.1"
+SLOT="0"
+
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND=">=dev-lang/python-2.3
+ >=dev-python/pygtk-2.4
+ >=gnome-base/libglade-2.4.2"
+
+DOCS="AUTHORS NEWS"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}/${P}-setup-fixes.patch"
+ epatch "${FILESDIR}/${P}-amd64-fixes.patch"
+
+ # In an attempt to make the above patch reusable across gazpacho
+ # versions it patched in EBUILD_PF_HERE and EBUILD_PV_HERE markers
+ # instead of hardcoding version numbers in the patch.
+ sed -i -e "s/EBUILD_PF_HERE/${PF}/" \
+ -e "s/EBUILD_PV_HERE/${PV}/" \
+ setup.py
+}
+
+src_install() {
+ distutils_src_install
+ docinto internals
+ dodoc doc/*
+ insinto /usr/share/doc/${PF}
+ # these are needed in un-gzipped form or the "about" box crashes
+ doins AUTHORS CONTRIBUTORS COPYING
+ rm "${D}"/usr/share/doc/${PF}/{AUTHORS,CONTRIBUTORS}.gz
+}