summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas <zuber@puzzle.ch>2017-10-31 21:52:38 +0100
committerAaron W. Swenson <titanofold@gentoo.org>2017-12-18 18:39:41 -0500
commit654682f3f883e1af6c5eed1325c68803930fa645 (patch)
treeb2bdf74e8c9715333a0e2f704f24c44779d4b664 /games-util/pyfa/files/pyfa-1.33.1-import-pyfa.patch
parentmedia-fonts/hkscs-ming: Update Manifest hashes. (diff)
downloadgentoo-654682f3f883e1af6c5eed1325c68803930fa645.tar.gz
gentoo-654682f3f883e1af6c5eed1325c68803930fa645.tar.bz2
gentoo-654682f3f883e1af6c5eed1325c68803930fa645.zip
games-util/pyfa: Version bump
Version bump to 1.34.0, rebase and fixing of all the patches Cleanup old version and patches. Remove html-export-path patch. This issue was fixed upstream: https://github.com/pyfa-org/Pyfa/pull/1124 New proxy maintainer. Closes: https://bugs.gentoo.org/596490 Closes: https://bugs.gentoo.org/613568 Closes: https://github.com/gentoo/gentoo/pull/6097 Signed-off-by: Aaron W. Swenson <titanofold@gentoo.org>
Diffstat (limited to 'games-util/pyfa/files/pyfa-1.33.1-import-pyfa.patch')
-rw-r--r--games-util/pyfa/files/pyfa-1.33.1-import-pyfa.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/games-util/pyfa/files/pyfa-1.33.1-import-pyfa.patch b/games-util/pyfa/files/pyfa-1.33.1-import-pyfa.patch
new file mode 100644
index 000000000000..0c71ce69f720
--- /dev/null
+++ b/games-util/pyfa/files/pyfa-1.33.1-import-pyfa.patch
@@ -0,0 +1,28 @@
+From c35467378232b1b21cca304f5dba37c687e51bca Mon Sep 17 00:00:00 2001
+From: Andreas Zuber <zuber@puzzle.ch>
+Date: Mon, 30 Oct 2017 09:52:32 +0100
+Subject: [PATCH 2/3] import pyfa
+
+Append $(python_get_sitedir)/pyfa to import path
+
+Ensures that pyfa's import statements continue to work for systemwide
+installation.
+---
+ pyfa.py | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/pyfa.py b/pyfa.py
+index 4faa1edd..9cfa5e23 100755
+--- a/pyfa.py
++++ b/pyfa.py
+@@ -23,6 +23,7 @@ import os
+ import platform
+ import re
+ import sys
++sys.path.append(os.path.join("%%SITEDIR%%", "pyfa"))
+ import traceback
+ from optparse import AmbiguousOptionError, BadOptionError, OptionParser
+
+--
+2.14.3
+