From 8572c34f73f201c126d29f2087242ed151afb042 Mon Sep 17 00:00:00 2001 From: Jakov Smolić Date: Tue, 20 Dec 2022 15:31:25 +0100 Subject: games-util/pyfa: treeclean MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/848600 Signed-off-by: Jakov Smolić --- games-util/pyfa/Manifest | 1 - games-util/pyfa/files/configforced-1.15.1.py | 4 - games-util/pyfa/files/pyfa-2.9.3-import-pyfa.patch | 28 ------- games-util/pyfa/files/pyfa.desktop | 8 -- games-util/pyfa/metadata.xml | 21 ----- games-util/pyfa/pyfa-2.43.0.ebuild | 95 ---------------------- games-util/pyfa/pyfa-9999.ebuild | 93 --------------------- 7 files changed, 250 deletions(-) delete mode 100644 games-util/pyfa/Manifest delete mode 100644 games-util/pyfa/files/configforced-1.15.1.py delete mode 100644 games-util/pyfa/files/pyfa-2.9.3-import-pyfa.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-2.43.0.ebuild delete mode 100644 games-util/pyfa/pyfa-9999.ebuild (limited to 'games-util/pyfa') diff --git a/games-util/pyfa/Manifest b/games-util/pyfa/Manifest deleted file mode 100644 index 24f553e97a6e..000000000000 --- a/games-util/pyfa/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST pyfa-2.43.0.tar.gz 31776698 BLAKE2B 819596e670b62dad4a10edbb49f5b93e5b0d53b1976b6c1f3272731f5769897ec6f12ae681f6503966de2d91d31dc0ee5d5c8ce0cd34354279dc71a6ae20996f SHA512 847ed7b9590103b2d49fa1e60d5162c800c58a94be20bd67bb10aa0b9e2957db987464bec9941feed27b61fd49d38e6c4171d932a5450e317427a8ea54b4e890 diff --git a/games-util/pyfa/files/configforced-1.15.1.py b/games-util/pyfa/files/configforced-1.15.1.py deleted file mode 100644 index 51fcb958cedc..000000000000 --- a/games-util/pyfa/files/configforced-1.15.1.py +++ /dev/null @@ -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' 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 deleted file mode 100644 index fc691d48bb4c..000000000000 --- a/games-util/pyfa/files/pyfa-2.9.3-import-pyfa.patch +++ /dev/null @@ -1,28 +0,0 @@ -From c12e4c1358025940aa1fbdf0e17f85e3821e7230 Mon Sep 17 00:00:00 2001 -From: Andreas Zuber -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 - diff --git a/games-util/pyfa/files/pyfa.desktop b/games-util/pyfa/files/pyfa.desktop deleted file mode 100644 index 07f3f0ee22a7..000000000000 --- 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 c2d78520a7dd..000000000000 --- a/games-util/pyfa/metadata.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - a.zuber@gmx.ch - Andreas Zuber - - - proxy-maint@gentoo.org - Proxy Maintainers - - - 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. - - - pyfa-org/Pyfa - - diff --git a/games-util/pyfa/pyfa-2.43.0.ebuild b/games-util/pyfa/pyfa-2.43.0.ebuild deleted file mode 100644 index 0487cf9afef8..000000000000 --- a/games-util/pyfa/pyfa-2.43.0.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="8" - -PYTHON_COMPAT=( python3_{8..9} ) -PYTHON_REQ_USE="sqlite" - -inherit desktop edos2unix python-single-r1 xdg - -DESCRIPTION="Python Fitting Assistant - a ship fitting application for EVE Online" -HOMEPAGE="https://github.com/pyfa-org/Pyfa" - -LICENSE="GPL-3+ all-rights-reserved" -SLOT="0" -if [[ ${PV} = 9999 ]]; then - EGIT_REPO_URI="https://github.com/pyfa-org/Pyfa.git" - inherit git-r3 -else - SRC_URI="https://github.com/pyfa-org/Pyfa/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" - S="${WORKDIR}/Pyfa-${PV}" -fi - -REQUIRED_USE="${PYTHON_REQUIRED_USE}" -RESTRICT="mirror bindist" - -DEPEND=" - $(python_gen_cond_dep ' - >=dev-python/cryptography-2.3[${PYTHON_USEDEP}] - >=dev-python/logbook-1.0.0[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] - >=dev-python/sqlalchemy-1.3.23[${PYTHON_USEDEP}] - >=dev-python/wxpython-4.0.6[webkit,${PYTHON_USEDEP}] - ') - ${PYTHON_DEPS}" -RDEPEND="${DEPEND} - $(python_gen_cond_dep ' - >=dev-python/beautifulsoup4-4.6.0[${PYTHON_USEDEP}] - >=dev-python/markdown2-2.3.5[${PYTHON_USEDEP}] - >=dev-python/numpy-1.19.2[${PYTHON_USEDEP}] - >=dev-python/packaging-16.8[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - >=dev-python/python-jose-3.0.1[${PYTHON_USEDEP}] - >=dev-python/requests-2.0.0[${PYTHON_USEDEP}] - >=dev-python/requests-cache-0.8.1[${PYTHON_USEDEP}] - >=dev-python/roman-2.0.0[${PYTHON_USEDEP}] - >=dev-python/matplotlib-3.2.2[wxwidgets,${PYTHON_USEDEP}] - ')" -BDEPEND="app-arch/zip" - -PATCHES=( - # fix import path in the main script for systemwide installation - "${FILESDIR}/${PN}-2.9.3-import-pyfa.patch" -) - -src_prepare() { - # get rid of CRLF line endings introduced in 1.1.10 so patches work - edos2unix config.py pyfa.py gui/bitmap_loader.py service/settings.py - - default - - # make python recognize pyfa as a package - touch __init__.py || die - - sed -e "s:%%SITEDIR%%:$(python_get_sitedir):" \ - -e "s:%%EPREFIX%%:${EPREFIX}:" \ - "${FILESDIR}/configforced-1.15.1.py" > configforced.py || die - sed -e "s:%%SITEDIR%%:$(python_get_sitedir):" \ - pyfa.py > pyfa || die -} - -src_install() { - python_moduleinto ${PN} - python_domodule eos gui service utils graphs - python_domodule config*.py __init__.py version.yml configforced.py db_update.py - python_doscript pyfa - - insinto /usr/share/${PN} - - einfo "Creating database ..." - ${EPYTHON} ./db_update.py || die - 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 - doicon -s 32 imgs/gui/pyfa.png - newicon -s 64 imgs/gui/pyfa64.png pyfa.png - domenu "${FILESDIR}/${PN}.desktop" -} diff --git a/games-util/pyfa/pyfa-9999.ebuild b/games-util/pyfa/pyfa-9999.ebuild deleted file mode 100644 index 1bf3c9464b03..000000000000 --- a/games-util/pyfa/pyfa-9999.ebuild +++ /dev/null @@ -1,93 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -PYTHON_COMPAT=( python3_{8..9} ) -PYTHON_REQ_USE="sqlite" - -inherit desktop edos2unix python-single-r1 xdg - -DESCRIPTION="Python Fitting Assistant - a ship fitting application for EVE Online" -HOMEPAGE="https://github.com/pyfa-org/Pyfa" - -LICENSE="GPL-3+ all-rights-reserved" -SLOT="0" -if [[ ${PV} = 9999 ]]; then - EGIT_REPO_URI="https://github.com/pyfa-org/Pyfa.git" - inherit git-r3 -else - SRC_URI="https://github.com/pyfa-org/Pyfa/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" - S="${WORKDIR}/Pyfa-${PV}" -fi - -REQUIRED_USE="${PYTHON_REQUIRED_USE}" -RESTRICT="mirror bindist" - -DEPEND=" - $(python_gen_cond_dep ' - >=dev-python/cryptography-2.3[${PYTHON_USEDEP}] - >=dev-python/logbook-1.0.0[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] - >=dev-python/sqlalchemy-1.3.0[${PYTHON_USEDEP}] - >=dev-python/wxpython-4.0.6[webkit,${PYTHON_USEDEP}] - ') - ${PYTHON_DEPS}" -RDEPEND="${DEPEND} - $(python_gen_cond_dep ' - >=dev-python/beautifulsoup4-4.6.0[${PYTHON_USEDEP}] - >=dev-python/markdown2-2.3.5[${PYTHON_USEDEP}] - >=dev-python/numpy-1.19.2[${PYTHON_USEDEP}] - >=dev-python/packaging-16.8[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - >=dev-python/requests-2.0.0[${PYTHON_USEDEP}] - >=dev-python/roman-2.0.0[${PYTHON_USEDEP}] - >=dev-python/matplotlib-3.1.2[wxwidgets,${PYTHON_USEDEP}] - ')" -BDEPEND="app-arch/zip" - -PATCHES=( - # fix import path in the main script for systemwide installation - "${FILESDIR}/${PN}-2.9.3-import-pyfa.patch" -) - -src_prepare() { - # get rid of CRLF line endings introduced in 1.1.10 so patches work - edos2unix config.py pyfa.py gui/bitmap_loader.py service/settings.py - - default - - # make python recognize pyfa as a package - touch __init__.py || die - - sed -e "s:%%SITEDIR%%:$(python_get_sitedir):" \ - -e "s:%%EPREFIX%%:${EPREFIX}:" \ - "${FILESDIR}/configforced-1.15.1.py" > configforced.py || die - sed -e "s:%%SITEDIR%%:$(python_get_sitedir):" \ - pyfa.py > pyfa || die -} - -src_install() { - python_moduleinto ${PN} - python_domodule eos gui service utils graphs - python_domodule config*.py __init__.py version.yml configforced.py db_update.py - python_doscript pyfa - - insinto /usr/share/${PN} - - einfo "Creating database ..." - ${EPYTHON} ./db_update.py || die - 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 - doicon -s 32 imgs/gui/pyfa.png - newicon -s 64 imgs/gui/pyfa64.png pyfa.png - domenu "${FILESDIR}/${PN}.desktop" -} -- cgit v1.2.3-65-gdbad