summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2011-11-30 18:33:25 +0000
committerAlexandre Rostovtsev <tetromino@gentoo.org>2011-11-30 18:33:25 +0000
commit131a8a1dc3ee74b16cda2f832691a43759f6a960 (patch)
tree96ef3da0106d91a4c746ad5be84e95e5c126d653 /games-util/pyfa/files
parentAdd ~arm keyword, tested by Anton Romanov, reported in bug #392323. (diff)
downloadgentoo-2-131a8a1dc3ee74b16cda2f832691a43759f6a960.tar.gz
gentoo-2-131a8a1dc3ee74b16cda2f832691a43759f6a960.tar.bz2
gentoo-2-131a8a1dc3ee74b16cda2f832691a43759f6a960.zip
Bump. Adds support for Crucible expansion, fleet boosting, wormhole effects.
(Portage version: 2.2.0_alpha79/cvs/Linux x86_64)
Diffstat (limited to 'games-util/pyfa/files')
-rw-r--r--games-util/pyfa/files/pyfa-1.1-staticPath.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/games-util/pyfa/files/pyfa-1.1-staticPath.patch b/games-util/pyfa/files/pyfa-1.1-staticPath.patch
new file mode 100644
index 000000000000..d477f9c94d7f
--- /dev/null
+++ b/games-util/pyfa/files/pyfa-1.1-staticPath.patch
@@ -0,0 +1,27 @@
+From 9a8411e9a6c58e5285ab3ae0a4feed05b6107acf Mon Sep 17 00:00:00 2001
+From: Alexandre Rostovtsev <tetromino@gentoo.org>
+Date: Wed, 30 Nov 2011 12:50:53 -0500
+Subject: [PATCH] Make staticPath settable from configforced
+
+---
+ config.py | 4 +++-
+ 1 files changed, 3 insertions(+), 1 deletions(-)
+
+diff --git a/config.py b/config.py
+index f2844b5..1f51700 100644
+--- a/config.py
++++ b/config.py
+@@ -48,7 +48,9 @@ def defPaths():
+ savePath = unicode(os.path.expanduser(os.path.join("~", ".pyfa")), sys.getfilesystemencoding())
+
+ # Static EVE Data from the staticdata repository, should be in the staticdata directory in our pyfa directory
+- staticPath = os.path.join(pyfaPath, "staticdata")
++ staticPath = getattr(configforced, "staticPath", None)
++ if staticPath is None:
++ staticPath = os.path.join(pyfaPath, "staticdata")
+
+ # The database where we store all the fits etc
+ saveDB = os.path.join(savePath, "saveddata.db")
+--
+1.7.8.rc3
+