diff options
Diffstat (limited to 'games-arcade/pydance')
-rw-r--r-- | games-arcade/pydance/ChangeLog | 8 | ||||
-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 | 56 |
3 files changed, 6 insertions, 78 deletions
diff --git a/games-arcade/pydance/ChangeLog b/games-arcade/pydance/ChangeLog index 4853734c7dc2..821b317b8532 100644 --- a/games-arcade/pydance/ChangeLog +++ b/games-arcade/pydance/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-arcade/pydance -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/pydance/ChangeLog,v 1.23 2011/06/24 18:51:25 ranger Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/pydance/ChangeLog,v 1.24 2013/01/30 22:50:26 mr_bones_ Exp $ + + 30 Jan 2013; Michael Sterrett <mr_bones_@gentoo.org> + -files/pydance-1.0.3-debian.patch, -pydance-1.0.3.ebuild: + old 24 Jun 2011; Brent Baude <ranger@gentoo.org> pydance-1.1.0.ebuild: Marking pydance-1.1.0 ppc for bug 363641 diff --git a/games-arcade/pydance/files/pydance-1.0.3-debian.patch b/games-arcade/pydance/files/pydance-1.0.3-debian.patch deleted file mode 100644 index 721a5e34c44b..000000000000 --- a/games-arcade/pydance/files/pydance-1.0.3-debian.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- 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 deleted file mode 100644 index 1ad6631c4705..000000000000 --- a/games-arcade/pydance/pydance-1.0.3.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2010 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.8 2010/02/08 21:57:42 ulm Exp $ - -EAPI=2 -inherit eutils games - -DESCRIPTION="a DDR clone for linux written in Python" -HOMEPAGE="http://www.icculus.org/pyddr/" -SRC_URI="http://www.icculus.org/pyddr/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ppc x86" -IUSE="" - -DEPEND="dev-python/pygame - media-libs/libvorbis - media-libs/sdl-mixer" -PDEPEND="games-arcade/pydance-songs" - -src_prepare() { - sed -i \ - -e "s:1\.0\.1:1.0.2:" \ - -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() { - local dir=${GAMES_DATADIR}/${PN} - - insinto "${dir}" - doins *.py || die "doins failed" - cp -R CREDITS {sound,images,utils,themes} "${D}${dir}/" || die "cp failed" - - insinto "${GAMES_SYSCONFDIR}" - newins pydance.posix.cfg pydance.cfg - - games_make_wrapper pydance "python ./pydance.py" "${dir}" - - dodoc BUGS CREDITS ChangeLog HACKING README TODO - dohtml -r docs/manual.html docs/images - doman docs/man/* - prepgamesdirs -} - -pkg_postinst() { - games_pkg_postinst - echo - elog "If you want to use a DDR pad with pyDance," - elog "all you need to do is emerge the games-arcade/ddrmat kernel module." - echo -} |