forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: pyfa-org/Pyfa#1124 New proxy maintainer. Closes: https://bugs.gentoo.org/596490 Closes: https://bugs.gentoo.org/613568 Closes: gentoo#6097 Signed-off-by: Aaron W. Swenson <[email protected]>
- Loading branch information
1 parent
4cfc5f2
commit 654682f
Showing
11 changed files
with
214 additions
and
181 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST pyfa-1.21.3.tar.gz 7793523 BLAKE2B d0e4500d9760bfda34210e35ac3fae2ec76b3ecc6c43ecd5295edd473d41abd4074b5b3c1dc20cd8c74c491a2d55f86fea13e898720e18d1e2f6a1f96e800060 SHA512 b5a691873421ef2d3b01d8bfd7121c63f07b96c75837fd3b93a5b77b8163943336dcd5bb85f8dcc056ce61b5103d5331afd5a81c09eb06a7050112b5d1a26681 | ||
DIST pyfa-1.33.2.tar.gz 8596509 BLAKE2B a00729be066a417cc4702f056506c2e248bc9a9076cab50706fc46669c9b9611f35b96b3096979edf620bc5b9f8341765b2768c032a9046a2629e0b121a2dca3 SHA512 333951ef53d8088c7264297402e072124a960feb1832eda2ea2dec5df2ddc438fd72ceb3f90c5fdad0fe3f9f2e32bb712db1d30bb3f8ded921d2b621b40270f2 | ||
DIST pyfa-1.34.0.tar.gz 8629709 BLAKE2B 5b16296b675383a446bb21133c9e83726a92beb221babbf8fbe4b19f0f7e95bb19fd6050a5c2e3d5e602df4bbb83debfeefd6ec7efdbff35a47934ef9b29979f SHA512 4642efd4de5be4add3c3f994d7be9dbeeb231fe86229f7944d52f265527c7a79698d3da5ccac3018e02c6000b0da888ad0e64382e12f74b7dd7b3398e7bb2d48 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
From c35467378232b1b21cca304f5dba37c687e51bca Mon Sep 17 00:00:00 2001 | ||
From: Andreas Zuber <[email protected]> | ||
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
From 54f0cd42c6f022e010c63ba7b1f123f78001b490 Mon Sep 17 00:00:00 2001 | ||
From: Andreas Zuber <[email protected]> | ||
Date: Mon, 30 Oct 2017 09:53:31 +0100 | ||
Subject: [PATCH 3/3] staticdata | ||
|
||
make gameDB and imgs.zip paths settable from configforced | ||
--- | ||
config.py | 7 +++++++ | ||
gui/bitmapLoader.py | 2 +- | ||
2 files changed, 8 insertions(+), 1 deletion(-) | ||
|
||
diff --git a/config.py b/config.py | ||
index b15c30a3..a5a07acb 100644 | ||
--- a/config.py | ||
+++ b/config.py | ||
@@ -30,6 +30,7 @@ savePath = None | ||
saveDB = None | ||
gameDB = None | ||
logPath = None | ||
+imgsZIP = None | ||
|
||
|
||
def isFrozen(): | ||
@@ -61,6 +62,7 @@ def defPaths(customSavePath): | ||
global savePath | ||
global saveDB | ||
global gameDB | ||
+ global imgsZIP | ||
global saveInRoot | ||
|
||
pyfalog.debug("Configuring Pyfa") | ||
@@ -100,6 +102,11 @@ def defPaths(customSavePath): | ||
if not gameDB: | ||
gameDB = os.path.join(pyfaPath, "eve.db") | ||
|
||
+ imgsZIP = getattr(configforced, "imgsZIP", imgsZIP) | ||
+ if not imgsZIP: | ||
+ imgsZIP = os.path.join(pyfaPath, "imgs.zip") | ||
+ | ||
+ | ||
# DON'T MODIFY ANYTHING BELOW | ||
import eos.config | ||
|
||
diff --git a/gui/bitmapLoader.py b/gui/bitmapLoader.py | ||
index eb53b1f1..86036001 100644 | ||
--- a/gui/bitmapLoader.py | ||
+++ b/gui/bitmapLoader.py | ||
@@ -37,7 +37,7 @@ except ImportError: | ||
|
||
class BitmapLoader(object): | ||
try: | ||
- archive = zipfile.ZipFile(os.path.join(config.pyfaPath, 'imgs.zip'), 'r') | ||
+ archive = zipfile.ZipFile(config.imgsZIP, 'r') | ||
logging.info("Using zipped image files.") | ||
except IOError: | ||
logging.info("Using local image files.") | ||
-- | ||
2.14.3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,12 @@ | |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> | ||
<pkgmetadata> | ||
<maintainer type="person"> | ||
<email>[email protected]</email> | ||
<name>Alexandre Rostovtsev</name> | ||
<email>[email protected]</email> | ||
<name>Andreas Zuber</name> | ||
</maintainer> | ||
<maintainer type="project"> | ||
<email>[email protected]</email> | ||
<name>Proxy Maintainers</name> | ||
</maintainer> | ||
<longdescription lang="en"> | ||
Pyfa is the Python Fitting Assistant, a standalone application for creating | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.