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