From e7049d6026edeb202f83c0dd3b7ad4ce61c0fcf8 Mon Sep 17 00:00:00 2001 From: Alexandre Rostovtsev Date: Thu, 3 Nov 2011 01:47:24 +0000 Subject: [PATCH] games-util/ pyfa: Moved to gx86 svn path=/sunrise/; revision=12498 --- games-util/pyfa/ChangeLog | 30 --------- games-util/pyfa/Manifest | 7 -- games-util/pyfa/files/configforced.py | 4 -- .../pyfa/files/pyfa-1.0.3-staticPath.patch | 15 ----- games-util/pyfa/files/pyfa.desktop | 8 --- games-util/pyfa/metadata.xml | 14 ---- games-util/pyfa/pyfa-1.0.3.ebuild | 64 ------------------- 7 files changed, 142 deletions(-) delete mode 100644 games-util/pyfa/ChangeLog delete mode 100644 games-util/pyfa/Manifest delete mode 100644 games-util/pyfa/files/configforced.py delete mode 100644 games-util/pyfa/files/pyfa-1.0.3-staticPath.patch delete mode 100644 games-util/pyfa/files/pyfa.desktop delete mode 100644 games-util/pyfa/metadata.xml delete mode 100644 games-util/pyfa/pyfa-1.0.3.ebuild diff --git a/games-util/pyfa/ChangeLog b/games-util/pyfa/ChangeLog deleted file mode 100644 index 27b5d0302..000000000 --- a/games-util/pyfa/ChangeLog +++ /dev/null @@ -1,30 +0,0 @@ -# ChangeLog for games-util/pyfa -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: $ - - 19 Jul 2011; Alexandre Rostovtsev (tetromino) - -pyfa-1.0_rc2.ebuild, +pyfa-1.0.3.ebuild, - +files/pyfa-1.0.3-staticPath.patch: - Version bump. Adjust SRC_URI logic again (for some reason upstream *loves* - changing it). Require python built with threads. Add a patch to allow - setting staticPath from configforced again (like in 1.0_rc2) so that we can - keep a sane filesystem layout. - - 19 May 2011; Alexandre Rostovtsev (tetromino) - pyfa-1.0_rc2.ebuild: - Adjust license: eve.db and contents of staticdata directory are derived from - free-noncomm data (see http://www.eveonline.com/devblog.asp?a=blog&bid=246). - - 23 Jan 2011; Alexandre Rostovtsev (tetromino) - -pyfa-1.0_rc1.ebuild, +pyfa-1.0_rc2.ebuild, - -files/pyfa-1.0_rc1-paths.patch, +files/configforced.py: - Version bump. SRC_URI has changed. Adjusted minimum python and wxpython - versions per upstream documentation. RC2 allows paths to be overridden using - a site-specific configforced.py file, patch is no longer required. Convert - shebangs using python_convert_shebangs. - - 21 Jan 2011; Alexandre Rostovtsev (tetromino) - +pyfa-1.0_rc1.ebuild, +files/pyfa-1.0_rc1-paths.patch, - +files/pyfa.desktop, +metadata.xml: - New ebuild for bug #352188 - diff --git a/games-util/pyfa/Manifest b/games-util/pyfa/Manifest deleted file mode 100644 index 0d6ad7ce7..000000000 --- a/games-util/pyfa/Manifest +++ /dev/null @@ -1,7 +0,0 @@ -AUX configforced.py 141 RMD160 97aa3025140ad05588f294a723b5e0c53620aa0a SHA1 4b162c62ab09a1f7186cb71b416181ab7a545c73 SHA256 3a2b219182419888548bd0981ffa2bacb2a5f059ea00e3327b1bdd83ad1076bc -AUX pyfa-1.0.3-staticPath.patch 614 RMD160 97ed39cc2522781d14e0c49dce0a8a79a382cbf8 SHA1 c9b280716b1d7a12f272c4b991a4ceca1aef7099 SHA256 eae228f31928750be19950a9268d5fe233a108b5af4eab436aa4db0fb5e5bab1 -AUX pyfa.desktop 155 RMD160 37f31fe5d62b2690b7761babb0dfeb8c0171ae80 SHA1 cb3a43b949524de9692f323cda9e7adad2efe218 SHA256 c395891d87eaaac64e3ba7954d623efaf161d906527099ed4b0c680c63a041eb -DIST pyfa-1.0.3-incarna-src.tar.bz2 5653052 RMD160 3060aab58bc7a78c315e67084f064e517e6e1276 SHA1 cba6896c382879b6360b4645600461794da4603d SHA256 c5492a5cb19ff0224b33a232ef450ae3241e453b7ed05bf15d9ebcf9ec3e7f36 -EBUILD pyfa-1.0.3.ebuild 1697 RMD160 fbf355d315c895e00111ec71ca7dd89a79150f60 SHA1 a62271228329f82d37ef721aaf2a0e796d095171 SHA256 7a43db42bebf277103faac2a197fe64a0aa4ae15354824dce2281592601d189f -MISC ChangeLog 1424 RMD160 38381b9377eb96fd58906ccbac7e1406285f5697 SHA1 e24f6a3419a030a523daa8ff367cbecb7ba1d9f5 SHA256 96979fb09d569b62ae6f42c83930793a17914525716a12550a3898211933a36c -MISC metadata.xml 561 RMD160 95509b22f34858402ed2f8d1bb4ca3f69ea6805b SHA1 85d7b842be6221ed76c61321a1690636f98e30bd SHA256 3893189ec613ada216311e391fcb99a0ba92fae4d1ddc3137c28b3eaa9501fb2 diff --git a/games-util/pyfa/files/configforced.py b/games-util/pyfa/files/configforced.py deleted file mode 100644 index 16a74340a..000000000 --- a/games-util/pyfa/files/configforced.py +++ /dev/null @@ -1,4 +0,0 @@ -# Gentoo-specific settings -pyfaPath = u'%%SITEDIR%%/pyfa' -staticPath = u'%%EROOT%%usr/share/pyfa/staticdata' -gameDB = staticPath + "/eve.db" diff --git a/games-util/pyfa/files/pyfa-1.0.3-staticPath.patch b/games-util/pyfa/files/pyfa-1.0.3-staticPath.patch deleted file mode 100644 index 4eff73006..000000000 --- a/games-util/pyfa/files/pyfa-1.0.3-staticPath.patch +++ /dev/null @@ -1,15 +0,0 @@ -Make staticPath settable from configforced - ---- a/config.py -+++ b/config.py -@@ -30,7 +30,9 @@ if savePath is None: - savePath = unicode(os.path.expanduser(os.path.join("~", ".pyfa")), sys.getfilesystemencoding()) - - # 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") diff --git a/games-util/pyfa/files/pyfa.desktop b/games-util/pyfa/files/pyfa.desktop deleted file mode 100644 index 07f3f0ee2..000000000 --- a/games-util/pyfa/files/pyfa.desktop +++ /dev/null @@ -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 diff --git a/games-util/pyfa/metadata.xml b/games-util/pyfa/metadata.xml deleted file mode 100644 index 332319c65..000000000 --- a/games-util/pyfa/metadata.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - -maintainer-wanted@gentoo.org - -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. - - -Enable support for graphs - - diff --git a/games-util/pyfa/pyfa-1.0.3.ebuild b/games-util/pyfa/pyfa-1.0.3.ebuild deleted file mode 100644 index c0791ee10..000000000 --- a/games-util/pyfa/pyfa-1.0.3.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=3 -PYTHON_DEPEND="2:2.6" -PYTHON_USE_WITH="sqlite threads" - -inherit eutils python - -if [[ ${PV/_rc*/} == ${PV} ]] ; then - MY_PV=${PV}-incarna-src - FOLDER=stable/${PV} -else - MY_PV=${PV/_rc/-stable-RC}-src - FOLDER=stable/${PV/*_rc/RC} -fi - -DESCRIPTION="Python Fitting Assistant - a ship fitting application for EVE Online" -HOMEPAGE="http://www.evefit.org/Pyfa" -SRC_URI="http://dl.evefit.org/${FOLDER}/${PN}-${MY_PV}.tar.bz2" - -LICENSE="GPL-3 LGPL-2.1 CCPL-Attribution-2.5 free-noncomm" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+graph" - -RDEPEND="dev-python/sqlalchemy - >=dev-python/wxpython-2.8 - graph? ( dev-python/matplotlib[wxwidgets] dev-python/numpy )" -DEPEND=${RDEPEND} - -S=${WORKDIR}/${PN} - -src_prepare() { - # make staticPath settable from configforced again - epatch "${FILESDIR}/${P}-staticPath.patch" - - python_convert_shebangs -r -x 2 . - sed -e "s:%%SITEDIR%%:$(python_get_sitedir):" -e "s:%%EROOT%%:${EROOT}:" \ - "${FILESDIR}/configforced.py" > configforced.py -} - -src_install() { - local packagedir=$(python_get_sitedir)/${PN} - insinto "${packagedir}" - doins -r eos gui icons service config*.py info.py gpl.txt || die "doins failed" - exeinto "${packagedir}" - doexe ${PN}.py || die "doexe failed" - dosym "${packagedir}/${PN}.py" /usr/bin/${PN} || die "dosym failed" - insinto /usr/share/${PN} - doins -r staticdata || die "doins failed" - dodoc readme.txt || die "dodoc failed" - doicon icons/${PN}.png || die "doicon failed" - domenu "${FILESDIR}/${PN}.desktop" || die "domenu failed" -} - -pkg_postinst() { - python_mod_optimize ${PN} -} - -pkg_postrm() { - python_mod_cleanup ${PN} -} -- 2.43.2