Gentoo Archives: gentoo-commits

From: "Alexandre Rostovtsev (tetromino)" <tetromino@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-util/pyfa: pyfa-1.1.9-r1.ebuild pyfa-1.1.10.ebuild ChangeLog pyfa-1.1.8.ebuild
Date: Fri, 23 Nov 2012 10:45:28
Message-Id: 20121123104517.0E95420C65@flycatcher.gentoo.org
1 tetromino 12/11/23 10:45:16
2
3 Modified: pyfa-1.1.9-r1.ebuild ChangeLog
4 Added: pyfa-1.1.10.ebuild
5 Removed: pyfa-1.1.8.ebuild
6 Log:
7 Bump, fixes Marauder bonuses and some rig stacking bugs. Update license, homepage. Drop old.
8
9 (Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key CF0ADD61)
10
11 Revision Changes Path
12 1.2 games-util/pyfa/pyfa-1.1.9-r1.ebuild
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-util/pyfa/pyfa-1.1.9-r1.ebuild?rev=1.2&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-util/pyfa/pyfa-1.1.9-r1.ebuild?rev=1.2&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-util/pyfa/pyfa-1.1.9-r1.ebuild?r1=1.1&r2=1.2
17
18 Index: pyfa-1.1.9-r1.ebuild
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/games-util/pyfa/pyfa-1.1.9-r1.ebuild,v
21 retrieving revision 1.1
22 retrieving revision 1.2
23 diff -u -r1.1 -r1.2
24 --- pyfa-1.1.9-r1.ebuild 11 Aug 2012 19:36:52 -0000 1.1
25 +++ pyfa-1.1.9-r1.ebuild 23 Nov 2012 10:45:16 -0000 1.2
26 @@ -1,6 +1,6 @@
27 # Copyright 1999-2012 Gentoo Foundation
28 # Distributed under the terms of the GNU General Public License v2
29 -# $Header: /var/cvsroot/gentoo-x86/games-util/pyfa/pyfa-1.1.9-r1.ebuild,v 1.1 2012/08/11 19:36:52 tetromino Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/games-util/pyfa/pyfa-1.1.9-r1.ebuild,v 1.2 2012/11/23 10:45:16 tetromino Exp $
31
32 EAPI="4"
33 PYTHON_DEPEND="2:2.6"
34 @@ -10,17 +10,17 @@
35
36 if [[ ${PV/_rc*/} == ${PV} ]] ; then
37 MY_PV=${PV}-inferno-1.2-src
38 - FOLDER=stable/${PV}
39 + FOLDER=pyfa/stable/${PV}
40 else
41 MY_PV=${PV/_rc/-stable-RC}-src
42 - FOLDER=stable/${PV/*_rc/RC}
43 + FOLDER=pyfa/stable/${PV/*_rc/RC}
44 fi
45
46 DESCRIPTION="Python Fitting Assistant - a ship fitting application for EVE Online"
47 -HOMEPAGE="http://www.evefit.org/Pyfa"
48 +HOMEPAGE="http://www.evefit.org/static/pyfa"
49 SRC_URI="http://dl.evefit.org/${FOLDER}/${PN}-${MY_PV}.tar.bz2 -> pyfa-1.1.9-inferno-1.2-src-r1.tar.bz2"
50
51 -LICENSE="GPL-3 LGPL-2.1 CCPL-Attribution-2.5 free-noncomm"
52 +LICENSE="GPL-3+ LGPL-2.1+ CCPL-Attribution-2.5 free-noncomm"
53 SLOT="0"
54 KEYWORDS="~amd64 ~x86"
55 IUSE="+graph"
56
57
58
59 1.15 games-util/pyfa/ChangeLog
60
61 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-util/pyfa/ChangeLog?rev=1.15&view=markup
62 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-util/pyfa/ChangeLog?rev=1.15&content-type=text/plain
63 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-util/pyfa/ChangeLog?r1=1.14&r2=1.15
64
65 Index: ChangeLog
66 ===================================================================
67 RCS file: /var/cvsroot/gentoo-x86/games-util/pyfa/ChangeLog,v
68 retrieving revision 1.14
69 retrieving revision 1.15
70 diff -u -r1.14 -r1.15
71 --- ChangeLog 11 Aug 2012 19:36:52 -0000 1.14
72 +++ ChangeLog 23 Nov 2012 10:45:16 -0000 1.15
73 @@ -1,6 +1,13 @@
74 # ChangeLog for games-util/pyfa
75 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
76 -# $Header: /var/cvsroot/gentoo-x86/games-util/pyfa/ChangeLog,v 1.14 2012/08/11 19:36:52 tetromino Exp $
77 +# $Header: /var/cvsroot/gentoo-x86/games-util/pyfa/ChangeLog,v 1.15 2012/11/23 10:45:16 tetromino Exp $
78 +
79 +*pyfa-1.1.10 (23 Nov 2012)
80 +
81 + 23 Nov 2012; Alexandre Rostovtsev <tetromino@g.o> -pyfa-1.1.8.ebuild,
82 + pyfa-1.1.9-r1.ebuild, +pyfa-1.1.10.ebuild:
83 + Bump, fixes Marauder bonuses and some rig stacking bugs. Update license,
84 + homepage. Drop old.
85
86 *pyfa-1.1.9-r1 (11 Aug 2012)
87
88
89
90
91 1.1 games-util/pyfa/pyfa-1.1.10.ebuild
92
93 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-util/pyfa/pyfa-1.1.10.ebuild?rev=1.1&view=markup
94 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-util/pyfa/pyfa-1.1.10.ebuild?rev=1.1&content-type=text/plain
95
96 Index: pyfa-1.1.10.ebuild
97 ===================================================================
98 # Copyright 1999-2012 Gentoo Foundation
99 # Distributed under the terms of the GNU General Public License v2
100 # $Header: /var/cvsroot/gentoo-x86/games-util/pyfa/pyfa-1.1.10.ebuild,v 1.1 2012/11/23 10:45:16 tetromino Exp $
101
102 EAPI="4"
103 PYTHON_DEPEND="2:2.6"
104 PYTHON_USE_WITH="sqlite threads"
105
106 inherit eutils gnome2-utils python
107
108 if [[ ${PV/_rc*/} == ${PV} ]] ; then
109 MY_PV=${PV}-inferno-1.2-src
110 FOLDER=pyfa/stable/${PV}
111 else
112 MY_PV=${PV/_rc/-stable-RC}-src
113 FOLDER=pyfa/stable/${PV/*_rc/RC}
114 fi
115
116 DESCRIPTION="Python Fitting Assistant - a ship fitting application for EVE Online"
117 HOMEPAGE="http://www.evefit.org/static/pyfa"
118 SRC_URI="http://dl.evefit.org/${FOLDER}/${PN}-${MY_PV}.tar.bz2"
119
120 LICENSE="GPL-3+ LGPL-2.1+ CCPL-Attribution-2.5 free-noncomm"
121 SLOT="0"
122 KEYWORDS="~amd64 ~x86"
123 IUSE="+graph"
124
125 RDEPEND="dev-python/sqlalchemy
126 dev-python/wxpython:2.8
127 graph? ( dev-python/matplotlib[wxwidgets] dev-python/numpy )"
128 DEPEND="app-text/dos2unix"
129
130 S=${WORKDIR}/${PN}
131
132 pkg_setup() {
133 python_set_active_version 2
134 python_pkg_setup
135 }
136
137 src_prepare() {
138 # get rid of CRLF line endings introduced in 1.1.10 so patches work
139 dos2unix config.py pyfa.py service/settings.py || die
140
141 # make staticPath settable from configforced again
142 epatch "${FILESDIR}/${PN}-1.1-staticPath.patch"
143
144 # use correct slot of wxpython, http://trac.evefit.org/ticket/475
145 epatch "${FILESDIR}/${PN}-1.1.4-wxversion.patch"
146
147 # do not try to save exported html to python sitedir
148 epatch "${FILESDIR}/${PN}-1.1.8-html-export-path.patch"
149
150 chmod 755 pyfa.py || die "chmod failed"
151 python_convert_shebangs -r -x 2 .
152 sed -e "s:%%SITEDIR%%:$(python_get_sitedir):" \
153 -e "s:%%EPREFIX%%:${EPREFIX}:" \
154 "${FILESDIR}/configforced.py" > configforced.py
155 }
156
157 src_install() {
158 local packagedir=$(python_get_sitedir)/${PN}
159 insinto "${packagedir}"
160 doins -r eos gui icons service config*.py info.py gpl.txt
161 exeinto "${packagedir}"
162 doexe ${PN}.py
163 dosym "${packagedir}/${PN}.py" /usr/bin/${PN}
164 insinto /usr/share/${PN}
165 doins -r staticdata
166 dodoc readme.txt
167 insinto /usr/share/icons/hicolor/32x32/apps
168 doins icons/pyfa.png
169 insinto /usr/share/icons/hicolor/64x64/apps
170 newins icons/pyfa64.png pyfa.png
171 domenu "${FILESDIR}/${PN}.desktop"
172 }
173
174 pkg_preinst() {
175 gnome2_icon_savelist
176 }
177
178 pkg_postinst() {
179 gnome2_icon_cache_update
180 python_mod_optimize ${PN}
181 }
182
183 pkg_postrm() {
184 gnome2_icon_cache_update
185 python_mod_cleanup ${PN}
186 }