Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-util/pyfa/
Date: Thu, 22 Jul 2021 07:38:37
Message-Id: 1626939507.fe39d188d0b8fb9b4a71219703c97269f52d7dd6.juippis@gentoo
1 commit: fe39d188d0b8fb9b4a71219703c97269f52d7dd6
2 Author: Andreas Zuber <a.zuber <AT> gmx <DOT> ch>
3 AuthorDate: Wed Jul 21 06:52:53 2021 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 22 07:38:27 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe39d188
7
8 games-util/pyfa: remove old version
9
10 Package-Manager: Portage-3.0.18, Repoman-3.0.2
11 Signed-off-by: Andreas Zuber <a.zuber <AT> gmx.ch>
12 Closes: https://github.com/gentoo/gentoo/pull/21737
13 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
14
15 games-util/pyfa/Manifest | 1 -
16 games-util/pyfa/pyfa-2.32.0.ebuild | 93 --------------------------------------
17 2 files changed, 94 deletions(-)
18
19 diff --git a/games-util/pyfa/Manifest b/games-util/pyfa/Manifest
20 index 9b854386adb..7b95f27ea3f 100644
21 --- a/games-util/pyfa/Manifest
22 +++ b/games-util/pyfa/Manifest
23 @@ -1,3 +1,2 @@
24 -DIST pyfa-2.32.0.tar.gz 28170873 BLAKE2B 92839a83067f3699dfcf85a6e479c16a80e18f375f402654dd2b1207497bfba639e717d3ff205cc682a8cbf3cefd37990c7d6dccf46e9dbf23bfd416c58eba81 SHA512 998a1055a5d68cdf61603ecac503db24a8ea344cd388acc7f1f04aafe54b22db059461619c1a1d93b807dc64c779a158b6b2d5066412d6ffc3df0a858de83b0e
25 DIST pyfa-2.33.0.tar.gz 28872031 BLAKE2B fe7fad57e43a8efc78f828d0ff81788147fa64ef02a20a71d6fef8ab0130d39b5ebffc18d58a774a61d805b8d0e570cbedb0b8fa536c8c71e61102fb6d093998 SHA512 bfa4e41b387e9f23aeae41a4884a0492316cc6e51841243ef56dc733edab10e6c9609ca7918d4de9fcd052b4da8f8048ce7578d164ad98237b53cb05f7c168d8
26 DIST pyfa-2.37.0.tar.gz 29991827 BLAKE2B d2dd51becc037176ef0e4394799d6d35ea5025b4b9aba7a1e2a12d908b1d8d9a436d2e2b2e9d06b3592ea2276b3dfe24c639d02cd77fe25a6ea673d9f048a238 SHA512 e3ccee3ee3b74644f208afdf719bf1e3dc29335041e3cdd19b5742f51e1fbb0fcab2376c26fc789e7992d1f35215c128bf6480860a0eea75eeb69c9b466ba1cf
27
28 diff --git a/games-util/pyfa/pyfa-2.32.0.ebuild b/games-util/pyfa/pyfa-2.32.0.ebuild
29 deleted file mode 100644
30 index 3a149e0f0e2..00000000000
31 --- a/games-util/pyfa/pyfa-2.32.0.ebuild
32 +++ /dev/null
33 @@ -1,93 +0,0 @@
34 -# Copyright 1999-2021 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI="7"
38 -
39 -PYTHON_COMPAT=( python3_8 )
40 -PYTHON_REQ_USE="sqlite"
41 -
42 -inherit desktop edos2unix python-single-r1 xdg
43 -
44 -DESCRIPTION="Python Fitting Assistant - a ship fitting application for EVE Online"
45 -HOMEPAGE="https://github.com/pyfa-org/Pyfa"
46 -
47 -LICENSE="GPL-3+ all-rights-reserved"
48 -SLOT="0"
49 -if [[ ${PV} = 9999 ]]; then
50 - EGIT_REPO_URI="https://github.com/pyfa-org/Pyfa.git"
51 - inherit git-r3
52 -else
53 - SRC_URI="https://github.com/pyfa-org/Pyfa/archive/v${PV}.tar.gz -> ${P}.tar.gz"
54 - KEYWORDS="~amd64 ~x86"
55 - S="${WORKDIR}/Pyfa-${PV}"
56 -fi
57 -
58 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
59 -RESTRICT="mirror bindist"
60 -
61 -DEPEND="
62 - $(python_gen_cond_dep '
63 - >=dev-python/cryptography-2.3[${PYTHON_USEDEP}]
64 - >=dev-python/logbook-1.0.0[${PYTHON_USEDEP}]
65 - >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
66 - >=dev-python/sqlalchemy-1.3.0[${PYTHON_USEDEP}]
67 - >=dev-python/wxpython-4.0.6[webkit,${PYTHON_USEDEP}]
68 - ')
69 - ${PYTHON_DEPS}"
70 -RDEPEND="${DEPEND}
71 - $(python_gen_cond_dep '
72 - >=dev-python/beautifulsoup-4.6.0[${PYTHON_USEDEP}]
73 - >=dev-python/markdown2-2.3.5[${PYTHON_USEDEP}]
74 - >=dev-python/numpy-1.19.2[${PYTHON_USEDEP}]
75 - >=dev-python/packaging-16.8[${PYTHON_USEDEP}]
76 - dev-python/python-dateutil[${PYTHON_USEDEP}]
77 - >=dev-python/requests-2.0.0[${PYTHON_USEDEP}]
78 - >=dev-python/roman-2.0.0[${PYTHON_USEDEP}]
79 - >=dev-python/matplotlib-3.1.2[wxwidgets,${PYTHON_USEDEP}]
80 - ')"
81 -BDEPEND="app-arch/zip"
82 -
83 -PATCHES=(
84 - # fix import path in the main script for systemwide installation
85 - "${FILESDIR}/${PN}-2.9.3-import-pyfa.patch"
86 -)
87 -
88 -src_prepare() {
89 - # get rid of CRLF line endings introduced in 1.1.10 so patches work
90 - edos2unix config.py pyfa.py gui/bitmap_loader.py service/settings.py
91 -
92 - default
93 -
94 - # make python recognize pyfa as a package
95 - touch __init__.py || die
96 -
97 - sed -e "s:%%SITEDIR%%:$(python_get_sitedir):" \
98 - -e "s:%%EPREFIX%%:${EPREFIX}:" \
99 - "${FILESDIR}/configforced-1.15.1.py" > configforced.py || die
100 - sed -e "s:%%SITEDIR%%:$(python_get_sitedir):" \
101 - pyfa.py > pyfa || die
102 -}
103 -
104 -src_install() {
105 - python_moduleinto ${PN}
106 - python_domodule eos gui service utils graphs
107 - python_domodule config*.py __init__.py version.yml configforced.py db_update.py
108 - python_doscript pyfa
109 -
110 - insinto /usr/share/${PN}
111 -
112 - einfo "Creating database ..."
113 - ${EPYTHON} ./db_update.py || die
114 - doins eve.db
115 -
116 - einfo "Compressing images ..."
117 - pushd imgs > /dev/null || die
118 - zip -r imgs.zip * || die "zip failed"
119 - doins imgs.zip
120 - popd > /dev/null || die
121 -
122 - dodoc README.md
123 - doicon -s 32 imgs/gui/pyfa.png
124 - newicon -s 64 imgs/gui/pyfa64.png pyfa.png
125 - domenu "${FILESDIR}/${PN}.desktop"
126 -}