summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2016-02-28 23:08:30 -0500
committerAlexandre Rostovtsev <tetromino@gentoo.org>2016-02-28 23:19:39 -0500
commite7b90b7077529185a753f81d0441a0043d085d22 (patch)
tree960a611f9319e680575bd45974e18ceee6d42c2f /games-util/pyfa/files
parentgames-util/pyfa: new upstream homepage/url (diff)
downloadgentoo-e7b90b7077529185a753f81d0441a0043d085d22.tar.gz
gentoo-e7b90b7077529185a753f81d0441a0043d085d22.tar.bz2
gentoo-e7b90b7077529185a753f81d0441a0043d085d22.zip
games-util/pyfa: bump to 1.19.1 for bug #569944
Thanks to Stefan Reimer & Captain Crutches in bug #569944 Package-Manager: portage-2.2.27
Diffstat (limited to 'games-util/pyfa/files')
-rw-r--r--games-util/pyfa/files/configforced.py4
-rw-r--r--games-util/pyfa/files/pyfa-1.1.11-import-pyfa.patch28
-rw-r--r--games-util/pyfa/files/pyfa-1.1.20-staticPath.patch27
3 files changed, 0 insertions, 59 deletions
diff --git a/games-util/pyfa/files/configforced.py b/games-util/pyfa/files/configforced.py
deleted file mode 100644
index a8008c217eda..000000000000
--- a/games-util/pyfa/files/configforced.py
+++ /dev/null
@@ -1,4 +0,0 @@
-# Gentoo-specific settings
-pyfaPath = u'%%SITEDIR%%/pyfa'
-staticPath = u'%%EPREFIX%%/usr/share/pyfa/staticdata'
-gameDB = staticPath + "/eve.db"
diff --git a/games-util/pyfa/files/pyfa-1.1.11-import-pyfa.patch b/games-util/pyfa/files/pyfa-1.1.11-import-pyfa.patch
deleted file mode 100644
index 8269080038f9..000000000000
--- a/games-util/pyfa/files/pyfa-1.1.11-import-pyfa.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From f301dcd0df741514e889fc234811cd4770dca6c7 Mon Sep 17 00:00:00 2001
-From: Alexandre Rostovtsev <tetromino@gentoo.org>
-Date: Wed, 5 Dec 2012 00:48:12 -0500
-Subject: [PATCH] Append $(python_get_sitedir)/pyfa to import path
-
-Ensures that pyfa's import statements continue to work for systemwide
-installation.
----
- pyfa.py | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/pyfa.py b/pyfa.py
-index 6992aaf..d66cb70 100755
---- a/pyfa.py
-+++ b/pyfa.py
-@@ -63,6 +63,9 @@ if __name__ == "__main__":
- parser.add_option("-r", "--root", action="store_true", dest="rootsavedata", help="if you want pyfa to store its data in root folder, use this option", default=False)
- (options, args) = parser.parse_args()
-
-+ import os
-+ sys.path.append(os.path.join("%%SITEDIR%%", "pyfa"))
-+
- import config
- # Configure paths
- if options.rootsavedata is True:
---
-1.8.0
-
diff --git a/games-util/pyfa/files/pyfa-1.1.20-staticPath.patch b/games-util/pyfa/files/pyfa-1.1.20-staticPath.patch
deleted file mode 100644
index cdcc9f90d3e5..000000000000
--- a/games-util/pyfa/files/pyfa-1.1.20-staticPath.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From 69660180a59d0d100097dedbc507d4af73267e8d 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 file changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/config.py b/config.py
-index e39e0d3..e028c36 100644
---- a/config.py
-+++ b/config.py
-@@ -66,7 +66,9 @@ def defPaths():
-
- # 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.8.5.3
-