summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Zuber <a.zuber@gmx.ch>2019-05-25 02:26:30 +0200
committerJoonas Niilola <juippis@gentoo.org>2019-11-01 08:06:11 +0200
commit08ea3720ffa492c3e364190798fc51fc7b6bb10b (patch)
tree23e9ad9661c767cb598f3ab5102de093760390b7 /games-util/pyfa/files
parentdev-ruby/minitest: add 5.13.0 (diff)
downloadgentoo-08ea3720ffa492c3e364190798fc51fc7b6bb10b.tar.gz
gentoo-08ea3720ffa492c3e364190798fc51fc7b6bb10b.tar.bz2
gentoo-08ea3720ffa492c3e364190798fc51fc7b6bb10b.zip
games-util/pyfa: version bump to 2.14.1
Closes: https://bugs.gentoo.org/671470 Package-Manager: Portage-2.3.66, Repoman-2.3.11 Signed-off-by: Andreas Zuber <a.zuber@gmx.ch> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'games-util/pyfa/files')
-rw-r--r--games-util/pyfa/files/pyfa-2.9.3-import-pyfa.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/games-util/pyfa/files/pyfa-2.9.3-import-pyfa.patch b/games-util/pyfa/files/pyfa-2.9.3-import-pyfa.patch
new file mode 100644
index 000000000000..fc691d48bb4c
--- /dev/null
+++ b/games-util/pyfa/files/pyfa-2.9.3-import-pyfa.patch
@@ -0,0 +1,28 @@
+From c12e4c1358025940aa1fbdf0e17f85e3821e7230 Mon Sep 17 00:00:00 2001
+From: Andreas Zuber <zuber@puzzle.ch>
+Date: Mon, 30 Oct 2017 09:52:32 +0100
+Subject: [PATCH] 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 d73ef097..dbf73db2 100755
+--- a/pyfa.py
++++ b/pyfa.py
+@@ -22,6 +22,7 @@
+ import datetime
+ import os
+ import sys
++sys.path.append(os.path.join("%%SITEDIR%%", "pyfa"))
+ from optparse import AmbiguousOptionError, BadOptionError, OptionParser
+
+ import config
+--
+2.21.0
+