diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2006-11-10 23:04:21 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2006-11-10 23:04:21 +0000 |
commit | 4b2d238942babf5dcf05aaeedd8263b696ad36f8 (patch) | |
tree | 221505ebcce8a747fd0964fc86d79f436cdb152a | |
parent | Bump to 1.2, and do some long over due house cleaning. (diff) | |
download | gentoo-2-4b2d238942babf5dcf05aaeedd8263b696ad36f8.tar.gz gentoo-2-4b2d238942babf5dcf05aaeedd8263b696ad36f8.tar.bz2 gentoo-2-4b2d238942babf5dcf05aaeedd8263b696ad36f8.zip |
add patch from Debian pointed out by Renato Alves via bug #151644
(Portage version: 2.1.1-r1)
-rw-r--r-- | games-arcade/pydance/ChangeLog | 6 | ||||
-rw-r--r-- | games-arcade/pydance/files/digest-pydance-1.0.3 | 2 | ||||
-rw-r--r-- | games-arcade/pydance/files/pydance-1.0.3-debian.patch | 20 | ||||
-rw-r--r-- | games-arcade/pydance/pydance-1.0.3.ebuild | 4 |
4 files changed, 30 insertions, 2 deletions
diff --git a/games-arcade/pydance/ChangeLog b/games-arcade/pydance/ChangeLog index 11b54affd43a..2d2122d5356c 100644 --- a/games-arcade/pydance/ChangeLog +++ b/games-arcade/pydance/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-arcade/pydance # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/pydance/ChangeLog,v 1.15 2006/01/24 13:59:36 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-arcade/pydance/ChangeLog,v 1.16 2006/11/10 23:04:21 mr_bones_ Exp $ + + 10 Nov 2006; Michael Sterrett <mr_bones_@gentoo.org> + +files/pydance-1.0.3-debian.patch, pydance-1.0.3.ebuild: + add patch from Debian pointed out by Renato Alves via bug #151644 24 Jan 2006; Chris Gianelloni <wolf31o2@gentoo.org> pydance-1.0.3.ebuild: Added dev-python/numeric to DEPEND and closing bug #120146. diff --git a/games-arcade/pydance/files/digest-pydance-1.0.3 b/games-arcade/pydance/files/digest-pydance-1.0.3 index 4b020ecbbb05..f56262969879 100644 --- a/games-arcade/pydance/files/digest-pydance-1.0.3 +++ b/games-arcade/pydance/files/digest-pydance-1.0.3 @@ -1 +1,3 @@ MD5 070ba1b4f1b11bc7d8959941064051e7 pydance-1.0.3.tar.gz 6531541 +RMD160 8ce95c891174961176c11882f26f51baae531d55 pydance-1.0.3.tar.gz 6531541 +SHA256 4100fc7cc8e029434c6f2ca1e4d417543e6e1a546032bba0b63e127cc1e73cfc pydance-1.0.3.tar.gz 6531541 diff --git a/games-arcade/pydance/files/pydance-1.0.3-debian.patch b/games-arcade/pydance/files/pydance-1.0.3-debian.patch new file mode 100644 index 000000000000..721a5e34c44b --- /dev/null +++ b/games-arcade/pydance/files/pydance-1.0.3-debian.patch @@ -0,0 +1,20 @@ +--- fontfx.py~ 2004-05-23 18:00:42.000000000 +0200 ++++ fontfx.py 2006-08-05 21:16:43.000000000 +0200 +@@ -144,7 +144,7 @@ class TextProgress(object): + self.bgcolor = bgcolor + self.offcolor = [c^40 for c in color] + self.notcolor = [c^0xFF for c in color] +- self.text = font.render(message, False, [255, 0, 0], self.notcolor) ++ self.text = font.render(message, 1, [255, 0, 0], self.notcolor) + self.text.set_colorkey(1, RLEACCEL) + self.outline = self.textHollow(font, message, color) + self.bar = pygame.Surface(self.text.get_size()) +@@ -155,7 +155,7 @@ class TextProgress(object): + self.ratio = width / 100.0 + + def textHollow(self, font, message, fontcolor): +- base = font.render(message, 0, fontcolor, self.notcolor) ++ base = font.render(message, 1, fontcolor, self.notcolor) + size = base.get_width() + 2, base.get_height() + 2 + img = pygame.Surface(size, 16) + img.fill(self.notcolor) diff --git a/games-arcade/pydance/pydance-1.0.3.ebuild b/games-arcade/pydance/pydance-1.0.3.ebuild index 2b4434194f72..19082a92af4c 100644 --- a/games-arcade/pydance/pydance-1.0.3.ebuild +++ b/games-arcade/pydance/pydance-1.0.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/pydance/pydance-1.0.3.ebuild,v 1.2 2006/01/24 13:59:36 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-arcade/pydance/pydance-1.0.3.ebuild,v 1.3 2006/11/10 23:04:21 mr_bones_ Exp $ inherit games @@ -27,6 +27,8 @@ src_unpack() { -e "s:/etc/:${GAMES_SYSCONFDIR}/:" \ pydance.py constants.py docs/man/pydance.6 \ || die "sed failed" + # http://bugs.debian.org/cgi-bin/bugreport.cgi/bugreport.cgi?bug=375651 + epatch "${FILESDIR}/${P}-debian.patch" } src_install() { |