diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-01-24 19:54:55 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-01-24 19:54:55 +0000 |
commit | 24af3d38adfede94552e747c1aed0ae94464d057 (patch) | |
tree | 654b24f707979959d1c0c84d28f7b26050d326d9 /app-emulation/point2play/files | |
parent | bump pyserial 2.0 to stable for py2.3 changes (#39259) (Manifest recommit) (diff) | |
download | gentoo-2-24af3d38adfede94552e747c1aed0ae94464d057.tar.gz gentoo-2-24af3d38adfede94552e747c1aed0ae94464d057.tar.bz2 gentoo-2-24af3d38adfede94552e747c1aed0ae94464d057.zip |
ver bump #39170
Diffstat (limited to 'app-emulation/point2play/files')
-rw-r--r-- | app-emulation/point2play/files/1.2-python2.2.patch | 38 | ||||
-rw-r--r-- | app-emulation/point2play/files/digest-point2play-1.2 | 1 |
2 files changed, 39 insertions, 0 deletions
diff --git a/app-emulation/point2play/files/1.2-python2.2.patch b/app-emulation/point2play/files/1.2-python2.2.patch new file mode 100644 index 000000000000..fd24b7762af5 --- /dev/null +++ b/app-emulation/point2play/files/1.2-python2.2.patch @@ -0,0 +1,38 @@ +--- usr/lib/transgaming_point2play/tests/test_sound.py.orig 2003-09-16 14:04:31.000000000 -0400 ++++ usr/lib/transgaming_point2play/tests/test_sound.py 2003-10-07 15:17:36.044822360 -0400 +@@ -12,14 +12,21 @@ + import wave + import os, os.path + +-import ossaudiodev +- ++disable_oss = 0; ++try: ++ import ossaudiodev ++except: ++ print "Python 2.3 not found. Disabling oss audio tests." ++ disable_oss = 1; + + TESTS = (_("Test For Sound Support"), "tgtest_sound", False), + + def tgtest_sound(): + """runs a test to ensure that sound output is working""" + ++ if disable_oss: ++ return ((_('Basic sound test'), _('Test is disabled.'), 'red'),) ++ + try: + try: + P2PPATH=os.environ["P2PPATH"] + "/" +@@ -56,6 +63,11 @@ + return ((_('Basic sound test'), _('Completed successfully\nDid you hear the sound?'), 'green'),) + + def tgtest_sound_description(): ++ if disable_oss: ++ return _('This test has been disabled.\n') + \ ++ _('Please see:\n') + \ ++ _('http://bugs.gentoo.org/show_bug.cgi?id=30556\n') + \ ++ _('for more information.') + return _('This test attempts to play a sound\n') + \ + _('file at 44 khz. This test uses the\n') + \ + _('same method as WineX to play sound\n') + \ diff --git a/app-emulation/point2play/files/digest-point2play-1.2 b/app-emulation/point2play/files/digest-point2play-1.2 new file mode 100644 index 000000000000..7602fe7d571e --- /dev/null +++ b/app-emulation/point2play/files/digest-point2play-1.2 @@ -0,0 +1 @@ +MD5 5ed08cbe32b084fec1f780b2828dbeab point2play-small-1.2.tgz 647628 |