From d3acf5dc87e0414937f94daebad6322850fe0322 Mon Sep 17 00:00:00 2001 From: Roman Bogorodskiy Date: Sun, 3 Jul 2005 03:46:36 +0000 Subject: Update to 1.0.3. PR: 82902 Submitted by: Rudolf Polzer (maintainer) --- games/pydance/Makefile | 2 +- games/pydance/distinfo | 4 ++-- games/pydance/files/patch-ui.py | 18 ++++++++++++++++++ games/pydance/pkg-message | 4 ---- 4 files changed, 21 insertions(+), 7 deletions(-) create mode 100644 games/pydance/files/patch-ui.py (limited to 'games/pydance') diff --git a/games/pydance/Makefile b/games/pydance/Makefile index 1efbde7539ce..defb2b1d7de7 100644 --- a/games/pydance/Makefile +++ b/games/pydance/Makefile @@ -6,7 +6,7 @@ # PORTNAME= pydance -PORTVERSION= 1.0.2 +PORTVERSION= 1.0.3 CATEGORIES= games MASTER_SITES= http://www.icculus.org/pyddr/ DISTFILES= ${PORTNAME}-${PORTVERSION}.tar.gz ${SONGS} diff --git a/games/pydance/distinfo b/games/pydance/distinfo index aa61bc9a41dd..f74ac72e73df 100644 --- a/games/pydance/distinfo +++ b/games/pydance/distinfo @@ -1,5 +1,5 @@ -MD5 (pydance/pydance-1.0.2.tar.gz) = 9192f15042cfbabb5406f2bbd2e236df -SIZE (pydance/pydance-1.0.2.tar.gz) = 6315594 +MD5 (pydance/pydance-1.0.3.tar.gz) = 070ba1b4f1b11bc7d8959941064051e7 +SIZE (pydance/pydance-1.0.3.tar.gz) = 6531541 MD5 (pydance/forkbomb.ogg) = 0ca7527a0b792fe0b597322d69e675d7 SIZE (pydance/forkbomb.ogg) = 1418973 MD5 (pydance/forkbomb.dance) = e62aab2b2d39adf172a74d229acedb23 diff --git a/games/pydance/files/patch-ui.py b/games/pydance/files/patch-ui.py new file mode 100644 index 000000000000..ac32b9ab0c0e --- /dev/null +++ b/games/pydance/files/patch-ui.py @@ -0,0 +1,18 @@ +--- ui.py.orig Sat Jul 2 21:14:32 2005 ++++ ui.py Sat Jul 2 21:16:27 2005 +@@ -1,6 +1,6 @@ + from pygame.locals import * + from constants import mainconfig +-import pad, pygame ++import pad, pygame, time + + (PASS, CANCEL, UP, DOWN, LEFT, RIGHT, START, SELECT, CONFIRM, + PGUP, PGDN, FULLSCREEN, SORT, CLEAR) = range(14) +@@ -63,6 +63,7 @@ + self.add_event(key, pid, event) + + def poll(self): ++ time.sleep(0.01) + pid, ev = self.handler.poll() + + nev = self.events.get(abs(ev), PASS) diff --git a/games/pydance/pkg-message b/games/pydance/pkg-message index 8cdf7092445a..d856d5976188 100644 --- a/games/pydance/pkg-message +++ b/games/pydance/pkg-message @@ -7,8 +7,4 @@ NB: A sample configuration file has been installed to %%PREFIX%%/etc as to suit the requirements of a particular site (for example in order to add song directories). -For some reason, MP3 playback seems to be broken here or in -devel/py-game. Please inform me if you get it working. OggVorbis -files however should work fine. - -------------------------------------------------------------------------- -- cgit v1.2.3