From 381f3ea7b40f66e0602af996188f911660825a66 Mon Sep 17 00:00:00 2001 From: Rob Cakebread Date: Thu, 6 Jul 2006 17:18:29 +0000 Subject: amd64 patch and ebuild fix submitted by Yogesh Package-Manager: portage-2.1.1_pre2-r4 --- dev-util/gazpacho/ChangeLog | 10 ++++- dev-util/gazpacho/Manifest | 48 ++++++++++++++++++++-- dev-util/gazpacho/files/digest-gazpacho-0.5.3 | 2 + dev-util/gazpacho/files/digest-gazpacho-0.6.2 | 2 + dev-util/gazpacho/files/digest-gazpacho-0.6.2-r1 | 3 ++ .../files/gazpacho-0.6.2-amd64-fixes.patch | 28 +++++++++++++ dev-util/gazpacho/gazpacho-0.6.2-r1.ebuild | 44 ++++++++++++++++++++ 7 files changed, 132 insertions(+), 5 deletions(-) create mode 100644 dev-util/gazpacho/files/digest-gazpacho-0.6.2-r1 create mode 100644 dev-util/gazpacho/files/gazpacho-0.6.2-amd64-fixes.patch create mode 100644 dev-util/gazpacho/gazpacho-0.6.2-r1.ebuild (limited to 'dev-util/gazpacho') 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 + +files/gazpacho-0.6.2-amd64-fixes.patch, +gazpacho-0.6.2-r1.ebuild: + amd64 patch and ebuild fix submitted by Yogesh *gazpacho-0.6.2 (24 Nov 2005) diff --git a/dev-util/gazpacho/Manifest b/dev-util/gazpacho/Manifest index 0c442a13d949..b9e9dbfad89b 100644 --- a/dev-util/gazpacho/Manifest +++ b/dev-util/gazpacho/Manifest @@ -1,7 +1,49 @@ -MD5 aa3b6f42c883ffbbe1d01c85433d5e0e ChangeLog 939 -MD5 0a89099cb09a956b1344953c496922b7 files/digest-gazpacho-0.5.3 67 -MD5 70b47d76b72717f76c9f056b45a2fc10 files/digest-gazpacho-0.6.2 67 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX gazpacho-0.6.2-amd64-fixes.patch 774 RMD160 73cf90fe37e03eb560933b6743b1463eb5d1a3da SHA1 dcc97d42007879016360155a0e3e9b7154a35bc0 SHA256 9921c4328985b23a56648311a6a1220cc0781c14278518700159a878224e1353 +MD5 341ff44ca64cbd43bf7c08409b1cdf40 files/gazpacho-0.6.2-amd64-fixes.patch 774 +RMD160 73cf90fe37e03eb560933b6743b1463eb5d1a3da files/gazpacho-0.6.2-amd64-fixes.patch 774 +SHA256 9921c4328985b23a56648311a6a1220cc0781c14278518700159a878224e1353 files/gazpacho-0.6.2-amd64-fixes.patch 774 +AUX gazpacho-0.6.2-setup-fixes.patch 1737 RMD160 e5c7c8394f363e56a4ab7000696c9bf6bd1b9fa1 SHA1 ab5324f3d88fd94b67351ebd4e91def56b9a50b9 SHA256 3960ab8c00f58f4c0e0c18e10e1224b3122024db8c36cfd598b9e7d225531932 MD5 b1b54d433ceb0beaed98ec227ebfc087 files/gazpacho-0.6.2-setup-fixes.patch 1737 +RMD160 e5c7c8394f363e56a4ab7000696c9bf6bd1b9fa1 files/gazpacho-0.6.2-setup-fixes.patch 1737 +SHA256 3960ab8c00f58f4c0e0c18e10e1224b3122024db8c36cfd598b9e7d225531932 files/gazpacho-0.6.2-setup-fixes.patch 1737 +DIST gazpacho-0.5.3.tar.bz2 260103 RMD160 0ac4b41ebe02512e0b798a7254f4ddf48e63fe99 SHA1 51ace95f141c4bbf2448160c792b855cade07f19 SHA256 f5421791d83f8043d7bca4efaa2d5b368a77d77048c2bfa8165ea6d971160621 +DIST gazpacho-0.6.2.tar.bz2 379748 RMD160 fefd91a51dce2d670d1949aaec2b2ac072ff3652 SHA1 75efc1950bca2fde4ba05770da898b83a5d9a577 SHA256 38a768f58015b5757b66b095abfb0b6ea66ca4ae517246b47a1fd9a37a15e8e7 +EBUILD gazpacho-0.5.3.ebuild 684 RMD160 e491aa1533b591c634f55c12df21f53c1227cacb SHA1 262c9a23250b538ed33ea1a4a729e39e9534de67 SHA256 cf50b16e7653f0dc445b1393c87511a2b1fec8cebf3caa967b552131dbaf3353 MD5 4b2be4c30719f51974fc9fa0aec08a92 gazpacho-0.5.3.ebuild 684 +RMD160 e491aa1533b591c634f55c12df21f53c1227cacb gazpacho-0.5.3.ebuild 684 +SHA256 cf50b16e7653f0dc445b1393c87511a2b1fec8cebf3caa967b552131dbaf3353 gazpacho-0.5.3.ebuild 684 +EBUILD gazpacho-0.6.2-r1.ebuild 1206 RMD160 9896fa06f1070a86561f5f313a67507a47f66e8e SHA1 9b90cb31e7c06ac37201f935c7753a48d032ca05 SHA256 69ef3adf0e588c06f0c5e716c96996f9086c807477706fc33e6de5c1e23192d2 +MD5 4299a3a7669ea003dfcbabf83adae32a gazpacho-0.6.2-r1.ebuild 1206 +RMD160 9896fa06f1070a86561f5f313a67507a47f66e8e gazpacho-0.6.2-r1.ebuild 1206 +SHA256 69ef3adf0e588c06f0c5e716c96996f9086c807477706fc33e6de5c1e23192d2 gazpacho-0.6.2-r1.ebuild 1206 +EBUILD gazpacho-0.6.2.ebuild 1155 RMD160 28d27d973b268929846f0336ceb838a3caa93f3f SHA1 b2e57da1b7adf7c8b7a5e5f4cd628a805b4c12ed SHA256 e93abdb2502240162c7bf990d97b9619806feb639b5a70b15d2c1da98e0005fe MD5 d8cedc2041361e05db840756980a62a8 gazpacho-0.6.2.ebuild 1155 +RMD160 28d27d973b268929846f0336ceb838a3caa93f3f gazpacho-0.6.2.ebuild 1155 +SHA256 e93abdb2502240162c7bf990d97b9619806feb639b5a70b15d2c1da98e0005fe gazpacho-0.6.2.ebuild 1155 +MISC ChangeLog 1177 RMD160 d79eb28e2f9955a3bba0b5125ec984013c2f84f2 SHA1 f08b28dd9a95f14c8b7a793b244abfa561063ded SHA256 f75187adf29d4715e19292fbaa7934ff07f4ab7b3bfb8548d90e33fd5519c9e8 +MD5 ab751f1755eabc66154054336010546b ChangeLog 1177 +RMD160 d79eb28e2f9955a3bba0b5125ec984013c2f84f2 ChangeLog 1177 +SHA256 f75187adf29d4715e19292fbaa7934ff07f4ab7b3bfb8548d90e33fd5519c9e8 ChangeLog 1177 +MISC metadata.xml 446 RMD160 447f2b43f1e7d0f6f0aa6a41b77972f52735392a SHA1 2223c44e6fc44e2f6be11c9db5916c0f71537559 SHA256 81c69692445b59a56fcf59b1f4e2d417d2a3be07d00b8fec4836f07f1446cd7b MD5 459cd9719d60c9afcb0b0a81b1d4e008 metadata.xml 446 +RMD160 447f2b43f1e7d0f6f0aa6a41b77972f52735392a metadata.xml 446 +SHA256 81c69692445b59a56fcf59b1f4e2d417d2a3be07d00b8fec4836f07f1446cd7b metadata.xml 446 +MD5 07445f6c371f39b75debbb5100280f92 files/digest-gazpacho-0.5.3 247 +RMD160 597829bbb9c909cd5a7abfdc08eb82e1670510e8 files/digest-gazpacho-0.5.3 247 +SHA256 265705791c2e006b374807d8641241b3b0ab99a725fa5a417f6d5133cb2fc348 files/digest-gazpacho-0.5.3 247 +MD5 92d250e0718b1afe483e290bf2db526c files/digest-gazpacho-0.6.2 247 +RMD160 ef799c6b138084cd6222cf375361a96f478e12f7 files/digest-gazpacho-0.6.2 247 +SHA256 3fd6c80ac58ac7b4e78810bfe1d5eec2298143d7e1cf6e24eefe6c08af2ac90a files/digest-gazpacho-0.6.2 247 +MD5 92d250e0718b1afe483e290bf2db526c files/digest-gazpacho-0.6.2-r1 247 +RMD160 ef799c6b138084cd6222cf375361a96f478e12f7 files/digest-gazpacho-0.6.2-r1 247 +SHA256 3fd6c80ac58ac7b4e78810bfe1d5eec2298143d7e1cf6e24eefe6c08af2ac90a files/digest-gazpacho-0.6.2-r1 247 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.4 (GNU/Linux) + +iD8DBQFErUYoTry2jroju7wRAmTzAJ45MYFrhMbUtF5DgVYdUXvjpZaVXQCfZ484 +9U2F9G1xQhCEez5kdrnXZMw= +=aD4Y +-----END PGP SIGNATURE----- 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 + # + ++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 +} -- cgit v1.2.3-65-gdbad