diff options
author | 2013-09-04 04:59:35 +0000 | |
---|---|---|
committer | 2013-09-04 04:59:35 +0000 | |
commit | 25a2d17a374fa131a4f6ad2b18fc826b80e31369 (patch) | |
tree | 463d7e5062f43c808c8f78b41afd0e7a8bebdf56 /games-util/pyfa/files | |
parent | Version bump. (diff) | |
download | historical-25a2d17a374fa131a4f6ad2b18fc826b80e31369.tar.gz historical-25a2d17a374fa131a4f6ad2b18fc826b80e31369.tar.bz2 historical-25a2d17a374fa131a4f6ad2b18fc826b80e31369.zip |
Version bump, adds Odyssey 1.1 updates and new import/export features. Drop old.
Package-Manager: portage-2.2.1/cvs/Linux x86_64
Manifest-Sign-Key: 0xCF0ADD61
Diffstat (limited to 'games-util/pyfa/files')
-rw-r--r-- | games-util/pyfa/files/pyfa-1.1.16-wxversion.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/games-util/pyfa/files/pyfa-1.1.16-wxversion.patch b/games-util/pyfa/files/pyfa-1.1.16-wxversion.patch new file mode 100644 index 000000000000..628aa1b486a5 --- /dev/null +++ b/games-util/pyfa/files/pyfa-1.1.16-wxversion.patch @@ -0,0 +1,38 @@ +From d21c0df4c21f808f31146e017839622af029751a Mon Sep 17 00:00:00 2001 +From: Alexandre Rostovtsev <tetromino@gentoo.org> +Date: Wed, 4 Sep 2013 00:13:35 -0400 +Subject: [PATCH] use wxversion.select(), not wxversion.ensureMinimal() + +If wxversion.ensureMininal('2.8') runs before wxversion.select('2.8') on +a system that has wxPython 2.8 and 2.9 installed, 2.9 will be selected - +and Pyfa is incompatible with 2.9. +--- + pyfa.py | 11 +++-------- + 1 file changed, 3 insertions(+), 8 deletions(-) + +diff --git a/pyfa.py b/pyfa.py +index 098b87b..2fc0500 100755 +--- a/pyfa.py ++++ b/pyfa.py +@@ -29,15 +29,10 @@ if not hasattr(sys, 'frozen'): + + try: + import wxversion +- wxversion.ensureMinimal('2.8') +- except ImportError: +- print "Cannot find wxPython or the installed wxPython version doesn't meet the min. requirements.\nYou can download wxPython (2.8) from http://www.wxpython.org/" +- sys.exit(1) +- +- try: + wxversion.select('2.8') +- except wxversion.VersionError: +- print("Unable to select wxpython 2.8, attempting to continue anyway") ++ except: ++ print "Cannot find wxPython or the installed wxPython version doesn't meet the requirements.\nYou can download wxPython (2.8) from http://www.wxpython.org/" ++ sys.exit(1) + + try: + import sqlalchemy +-- +1.8.3.2 + |