Remove outdated, not working anymore EVE tools
This commit is contained in:
parent
9164c6f0bd
commit
dd9c964d06
@ -1,8 +0,0 @@
|
||||
AUX configforced-1.33.1.py 153 SHA256 07ae0cfb8272f94146c4df113538574ced6920697d14243cf3a89801ed7788f6 SHA512 632576b9fbff3e93c26b6c2d4be74298aa8657affe82d2c5d571a645d733a7b96d5db6b89b819d3aec9ca68e4bef11e368f7c1cbac416e9bfed88a1025a46bfe WHIRLPOOL 0a6c91e5f093285ac9e3f2b8a7344e6c8603ac13f9845cb5523216ebd9a46b0b4948ff62ba74238dd1736e003a98bd78ffc5a802ed7f83774f1abb93cc6cd491
|
||||
AUX pyfa-1.33.1-import-pyfa.patch 456 SHA256 f77c3673510b35ff2e58c1b0fe8ff28c6f1e8591f9bf91bf3dd8f920d5e2a714 SHA512 429c654f6ed361b350be62eae8c84e66fcc10245c7d38cc6b0bde66247b829f5d89c57e9e6cec228db7fb49fce25e9b3d4637c2a33674af8ac2f6ea36245c5ba WHIRLPOOL 85c248b6b0197b00967c55e5118323b43bd8808a6b4cbc495cd17b2a239ca6a0515e27bae0926f4d119c701ef7e3fa8c2d15d58a13a2b2b952bd8dc581e573d5
|
||||
AUX pyfa-1.33.1-staticdata.patch 1205 SHA256 a5538d8267e25181f5e49d4424af34a43788b36e668a2314ac434d33e769635d SHA512 1bb56b452e425f0fc3bf389b81927fc914040c0441722e86da0a539970cd9c53a600904078ce7019efbbdc950e84fe8791b4a344f69cb4ee1e06b5f5ab6282c9 WHIRLPOOL f91623212797a578e014f49ffb641bcc39e1d55e08dd661d076796e185f76a4d825ddc22d8d985b88a6c48d7dd7b40e89e895e0b3d5a0b4b0d636e4910a983b9
|
||||
AUX pyfa.desktop 155 SHA256 c395891d87eaaac64e3ba7954d623efaf161d906527099ed4b0c680c63a041eb SHA512 d62a44e4e724057581a360cc1eb10aa4c7a0c50cb1d95137e58ba14db17644c852da2582be8d508c50b7359e7f99dc893d78d15cb11c46967a9b7896ff667781 WHIRLPOOL 3f68f0cd6942380fc040a3578b054ea7cdb86fbd751ed17aa1fe1e1eda3c7ee6c35645c28c6529605856d5e74765ccd7037abe96c3efe2a5a54cc7fcb6c53793
|
||||
DIST pyfa-1.33.1.tar.gz 8597143 SHA256 6b624ea4e5a87399bfb1e02bf6c3772628c86ff144f3c2e987435c1519e2e0d6 SHA512 74390c898ffe6d41d9e64460be0ac9797074f1231d81f3d9d3cb8608345648e9057ff31893e5bd6c1305a26dd6728cacfc8436b414a52ac61cfe2e290e77d70d WHIRLPOOL 41d5b57873f90003f98d379104c479e67e4de233fb1fa6f1ec4ca0da4247c5c36e36fc02c65c6186c2514178cc2bf087debd7b172375f8aadfcbd4dab67e9380
|
||||
EBUILD pyfa-1.33.1.ebuild 2692 SHA256 06c7bd00458f2d7f2f0a9ec504b8af0f041658c984dc548698a96091b003b1a7 SHA512 e28f3b231e248f4e2b7f2c1c7e21d1756fe54bd35f8b343e4ce6f92a0d40c9b694ed0e1a62264d97d1f7c14d66f35a40091734574f8134f72f28d96ca0abe81a WHIRLPOOL de4134c18a78f874dbdc21d9663a334bcbec5cdef080ad0c3fe785f97ebf8c0cd8c4c184bdce9b3dcbfa71b6e2c033bbd19dc59cddb8b4ddfbe7de035ceb5996
|
||||
EBUILD pyfa-9999.ebuild 2692 SHA256 06c7bd00458f2d7f2f0a9ec504b8af0f041658c984dc548698a96091b003b1a7 SHA512 e28f3b231e248f4e2b7f2c1c7e21d1756fe54bd35f8b343e4ce6f92a0d40c9b694ed0e1a62264d97d1f7c14d66f35a40091734574f8134f72f28d96ca0abe81a WHIRLPOOL de4134c18a78f874dbdc21d9663a334bcbec5cdef080ad0c3fe785f97ebf8c0cd8c4c184bdce9b3dcbfa71b6e2c033bbd19dc59cddb8b4ddfbe7de035ceb5996
|
||||
MISC metadata.xml 707 SHA256 ad9e71bfafb16b320bbebe6f7bd05fbd9e6c887ff4d8f64a6860f09efd6ac4d9 SHA512 73271ded60ce9b02d625f15b19ff7d8737ade6986eb8ea207d3c4d9720789660f65f7c494de8b37af9d59e6c753b2ef9b3c36ccfa96443825326842a89439863 WHIRLPOOL fffe65d3b087750ab3dd52b15cc21068d8c37e8ac57a55abc2d416140474cbc68947d676bd0b0a6225711ee05ce117a8996e48d29c94096effc07b730290ca9c
|
@ -1,4 +0,0 @@
|
||||
# Gentoo-specific settings
|
||||
pyfaPath = u'%%SITEDIR%%/pyfa'
|
||||
gameDB = u'%%EPREFIX%%/usr/share/pyfa/eve.db'
|
||||
imgsZIP = u'%%EPREFIX%%/usr/share/pyfa/imgs.zip'
|
@ -1,12 +0,0 @@
|
||||
diff --git a/pyfa.py b/pyfa.py
|
||||
index 4faa1edd..e764da42 100755
|
||||
--- a/pyfa.py
|
||||
+++ b/pyfa.py
|
||||
@@ -29,6 +29,7 @@ from optparse import AmbiguousOptionError, BadOptionError, OptionParser
|
||||
from logbook import CRITICAL, DEBUG, ERROR, FingersCrossedHandler, INFO, Logger, NestedSetup, NullHandler, StreamHandler, TimedRotatingFileHandler, WARNING, \
|
||||
__version__ as logbook_version
|
||||
|
||||
+sys.path.append(os.path.join("%%SITEDIR%%", "pyfa"))
|
||||
import config
|
||||
|
||||
try:
|
@ -1,44 +0,0 @@
|
||||
diff --git a/config.py b/config.py
|
||||
index b15c30a3..7d39ec7a 100644
|
||||
--- a/config.py
|
||||
+++ b/config.py
|
||||
@@ -29,6 +29,7 @@ pyfaPath = None
|
||||
savePath = None
|
||||
saveDB = None
|
||||
gameDB = None
|
||||
+imgsZIP = None
|
||||
logPath = None
|
||||
|
||||
|
||||
@@ -61,6 +62,7 @@ def defPaths(customSavePath):
|
||||
global savePath
|
||||
global saveDB
|
||||
global gameDB
|
||||
+ global imgsZIP
|
||||
global saveInRoot
|
||||
|
||||
pyfalog.debug("Configuring Pyfa")
|
||||
@@ -100,6 +102,10 @@ def defPaths(customSavePath):
|
||||
if not gameDB:
|
||||
gameDB = os.path.join(pyfaPath, "eve.db")
|
||||
|
||||
+ imgsZIP = getattr(configforced, "imgsZIP", None)
|
||||
+ if imgsZIP is None:
|
||||
+ 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.")
|
@ -1,8 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Name=Pyfa
|
||||
Comment=Ship fitting application for EVE Online
|
||||
Icon=pyfa
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Game;RolePlaying;
|
||||
Exec=pyfa
|
@ -1,20 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>tetromino@gentoo.org</email>
|
||||
<name>Alexandre Rostovtsev</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
Pyfa is the Python Fitting Assistant, a standalone application for creating
|
||||
fittings for the EVE Online SciFi MMORPG. It provides many advanced features
|
||||
such as graphs and full calculations of any possible combination of modules,
|
||||
fits, etc.
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name="graph">Enable support for graphs</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="github">pyfa-org/Pyfa</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,101 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="6"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE="sqlite,threads"
|
||||
|
||||
inherit eutils gnome2-utils python-r1
|
||||
|
||||
DESCRIPTION="Python Fitting Assistant - a ship fitting application for EVE Online"
|
||||
HOMEPAGE="https://github.com/pyfa-org/Pyfa"
|
||||
|
||||
LICENSE="GPL-3+ LGPL-2.1+ CC-BY-2.5 free-noncomm"
|
||||
SLOT="0"
|
||||
if [[ ${PV} = 9999 ]]; then
|
||||
EGIT_REPO_URI="https://github.com/pyfa-org/Pyfa.git"
|
||||
inherit git-r3
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="https://github.com/pyfa-org/Pyfa/archive/v${PV}.tar.gz -> pyfa-${PV}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
fi
|
||||
IUSE="+graph"
|
||||
|
||||
RDEPEND="dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
dev-python/sqlalchemy[${PYTHON_USEDEP}]
|
||||
dev-python/wxpython:3.0[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
>=dev-python/logbook-0.10[${PYTHON_USEDEP}]
|
||||
graph? ( dev-python/matplotlib[wxwidgets,${PYTHON_USEDEP}] )
|
||||
${PYTHON_DEPS}"
|
||||
DEPEND="app-arch/zip"
|
||||
|
||||
[[ ${PV} = 9999 ]] || S=${WORKDIR}/Pyfa-${PV}
|
||||
|
||||
src_prepare() {
|
||||
# get rid of CRLF line endings introduced in 1.1.10 so patches work
|
||||
edos2unix config.py pyfa.py service/settings.py gui/bitmapLoader.py
|
||||
|
||||
# load gameDB and images from separate staticdata directory
|
||||
eapply "${FILESDIR}/${PN}-1.33.1-staticdata.patch"
|
||||
|
||||
# fix import path in the main script for systemwide installation
|
||||
eapply "${FILESDIR}/${PN}-1.33.1-import-pyfa.patch"
|
||||
|
||||
eapply_user
|
||||
|
||||
touch __init__.py
|
||||
|
||||
pyfa_make_configforced() {
|
||||
mkdir -p "${BUILD_DIR}" || die
|
||||
sed -e "s:%%SITEDIR%%:$(python_get_sitedir):" \
|
||||
-e "s:%%EPREFIX%%:${EPREFIX}:" \
|
||||
"${FILESDIR}/configforced-1.33.1.py" > "${BUILD_DIR}/configforced.py"
|
||||
sed -e "s:%%SITEDIR%%:$(python_get_sitedir):" \
|
||||
pyfa.py > "${BUILD_DIR}/pyfa"
|
||||
}
|
||||
python_foreach_impl pyfa_make_configforced
|
||||
}
|
||||
|
||||
src_install() {
|
||||
pyfa_py_install() {
|
||||
local packagedir=$(python_get_sitedir)/${PN}
|
||||
insinto "${packagedir}"
|
||||
doins -r eos gui service utils config*.py __init__.py
|
||||
[[ -e info.py ]] && doins info.py # only in zip releases
|
||||
doins "${BUILD_DIR}/configforced.py"
|
||||
python_doscript "${BUILD_DIR}/pyfa"
|
||||
python_optimize
|
||||
}
|
||||
python_foreach_impl pyfa_py_install
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
doins eve.db
|
||||
|
||||
einfo "Compressing images ..."
|
||||
pushd imgs > /dev/null || die
|
||||
zip -r imgs.zip * || die "zip failed"
|
||||
doins imgs.zip
|
||||
popd > /dev/null || die
|
||||
|
||||
dodoc README.md
|
||||
insinto /usr/share/icons/hicolor/32x32/apps
|
||||
doins imgs/gui/pyfa.png
|
||||
insinto /usr/share/icons/hicolor/64x64/apps
|
||||
newins imgs/gui/pyfa64.png pyfa.png
|
||||
domenu "${FILESDIR}/${PN}.desktop"
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1,101 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="6"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE="sqlite,threads"
|
||||
|
||||
inherit eutils gnome2-utils python-r1
|
||||
|
||||
DESCRIPTION="Python Fitting Assistant - a ship fitting application for EVE Online"
|
||||
HOMEPAGE="https://github.com/pyfa-org/Pyfa"
|
||||
|
||||
LICENSE="GPL-3+ LGPL-2.1+ CC-BY-2.5 free-noncomm"
|
||||
SLOT="0"
|
||||
if [[ ${PV} = 9999 ]]; then
|
||||
EGIT_REPO_URI="https://github.com/pyfa-org/Pyfa.git"
|
||||
inherit git-r3
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="https://github.com/pyfa-org/Pyfa/archive/v${PV}.tar.gz -> pyfa-${PV}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
fi
|
||||
IUSE="+graph"
|
||||
|
||||
RDEPEND="dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
dev-python/sqlalchemy[${PYTHON_USEDEP}]
|
||||
dev-python/wxpython:3.0[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
>=dev-python/logbook-0.10[${PYTHON_USEDEP}]
|
||||
graph? ( dev-python/matplotlib[wxwidgets,${PYTHON_USEDEP}] )
|
||||
${PYTHON_DEPS}"
|
||||
DEPEND="app-arch/zip"
|
||||
|
||||
[[ ${PV} = 9999 ]] || S=${WORKDIR}/Pyfa-${PV}
|
||||
|
||||
src_prepare() {
|
||||
# get rid of CRLF line endings introduced in 1.1.10 so patches work
|
||||
edos2unix config.py pyfa.py service/settings.py gui/bitmapLoader.py
|
||||
|
||||
# load gameDB and images from separate staticdata directory
|
||||
eapply "${FILESDIR}/${PN}-1.33.1-staticdata.patch"
|
||||
|
||||
# fix import path in the main script for systemwide installation
|
||||
eapply "${FILESDIR}/${PN}-1.33.1-import-pyfa.patch"
|
||||
|
||||
eapply_user
|
||||
|
||||
touch __init__.py
|
||||
|
||||
pyfa_make_configforced() {
|
||||
mkdir -p "${BUILD_DIR}" || die
|
||||
sed -e "s:%%SITEDIR%%:$(python_get_sitedir):" \
|
||||
-e "s:%%EPREFIX%%:${EPREFIX}:" \
|
||||
"${FILESDIR}/configforced-1.33.1.py" > "${BUILD_DIR}/configforced.py"
|
||||
sed -e "s:%%SITEDIR%%:$(python_get_sitedir):" \
|
||||
pyfa.py > "${BUILD_DIR}/pyfa"
|
||||
}
|
||||
python_foreach_impl pyfa_make_configforced
|
||||
}
|
||||
|
||||
src_install() {
|
||||
pyfa_py_install() {
|
||||
local packagedir=$(python_get_sitedir)/${PN}
|
||||
insinto "${packagedir}"
|
||||
doins -r eos gui service utils config*.py __init__.py
|
||||
[[ -e info.py ]] && doins info.py # only in zip releases
|
||||
doins "${BUILD_DIR}/configforced.py"
|
||||
python_doscript "${BUILD_DIR}/pyfa"
|
||||
python_optimize
|
||||
}
|
||||
python_foreach_impl pyfa_py_install
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
doins eve.db
|
||||
|
||||
einfo "Compressing images ..."
|
||||
pushd imgs > /dev/null || die
|
||||
zip -r imgs.zip * || die "zip failed"
|
||||
doins imgs.zip
|
||||
popd > /dev/null || die
|
||||
|
||||
dodoc README.md
|
||||
insinto /usr/share/icons/hicolor/32x32/apps
|
||||
doins imgs/gui/pyfa.png
|
||||
insinto /usr/share/icons/hicolor/64x64/apps
|
||||
newins imgs/gui/pyfa64.png pyfa.png
|
||||
domenu "${FILESDIR}/${PN}.desktop"
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
Loading…
Reference in New Issue
Block a user