1 |
tetromino 14/06/04 13:56:31 |
2 |
|
3 |
Modified: ChangeLog pyfa-9999.ebuild |
4 |
Added: pyfa-1.2.0.ebuild |
5 |
Removed: pyfa-1.1.21.ebuild pyfa-1.1.22.ebuild |
6 |
Log: |
7 |
Version bump for Kronos; lots of improvements, see https://github.com/DarkFenX/Pyfa/releases/tag/v1.2.0 for the announcement. Remove obsolete. |
8 |
|
9 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key CF0ADD61) |
10 |
|
11 |
Revision Changes Path |
12 |
1.28 games-util/pyfa/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-util/pyfa/ChangeLog?rev=1.28&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-util/pyfa/ChangeLog?rev=1.28&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-util/pyfa/ChangeLog?r1=1.27&r2=1.28 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/games-util/pyfa/ChangeLog,v |
21 |
retrieving revision 1.27 |
22 |
retrieving revision 1.28 |
23 |
diff -u -r1.27 -r1.28 |
24 |
--- ChangeLog 17 Mar 2014 01:08:46 -0000 1.27 |
25 |
+++ ChangeLog 4 Jun 2014 13:56:31 -0000 1.28 |
26 |
@@ -1,6 +1,14 @@ |
27 |
# ChangeLog for games-util/pyfa |
28 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/games-util/pyfa/ChangeLog,v 1.27 2014/03/17 01:08:46 tetromino Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/games-util/pyfa/ChangeLog,v 1.28 2014/06/04 13:56:31 tetromino Exp $ |
31 |
+ |
32 |
+*pyfa-1.2.0 (04 Jun 2014) |
33 |
+ |
34 |
+ 04 Jun 2014; Alexandre Rostovtsev <tetromino@g.o> -pyfa-1.1.21.ebuild, |
35 |
+ -pyfa-1.1.22.ebuild, +pyfa-1.2.0.ebuild, pyfa-9999.ebuild: |
36 |
+ Version bump for Kronos; lots of improvements, see |
37 |
+ https://github.com/DarkFenX/Pyfa/releases/tag/v1.2.0 for the announcement. |
38 |
+ Remove obsolete. |
39 |
|
40 |
*pyfa-1.1.22 (17 Mar 2014) |
41 |
|
42 |
|
43 |
|
44 |
|
45 |
1.3 games-util/pyfa/pyfa-9999.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-util/pyfa/pyfa-9999.ebuild?rev=1.3&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-util/pyfa/pyfa-9999.ebuild?rev=1.3&content-type=text/plain |
49 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-util/pyfa/pyfa-9999.ebuild?r1=1.2&r2=1.3 |
50 |
|
51 |
Index: pyfa-9999.ebuild |
52 |
=================================================================== |
53 |
RCS file: /var/cvsroot/gentoo-x86/games-util/pyfa/pyfa-9999.ebuild,v |
54 |
retrieving revision 1.2 |
55 |
retrieving revision 1.3 |
56 |
diff -u -r1.2 -r1.3 |
57 |
--- pyfa-9999.ebuild 5 Feb 2014 06:17:45 -0000 1.2 |
58 |
+++ pyfa-9999.ebuild 4 Jun 2014 13:56:31 -0000 1.3 |
59 |
@@ -1,6 +1,6 @@ |
60 |
# Copyright 1999-2014 Gentoo Foundation |
61 |
# Distributed under the terms of the GNU General Public License v2 |
62 |
-# $Header: /var/cvsroot/gentoo-x86/games-util/pyfa/pyfa-9999.ebuild,v 1.2 2014/02/05 06:17:45 tetromino Exp $ |
63 |
+# $Header: /var/cvsroot/gentoo-x86/games-util/pyfa/pyfa-9999.ebuild,v 1.3 2014/06/04 13:56:31 tetromino Exp $ |
64 |
|
65 |
EAPI="5" |
66 |
PYTHON_COMPAT=( python{2_6,2_7} ) |
67 |
@@ -18,7 +18,7 @@ |
68 |
inherit git-2 |
69 |
KEYWORDS="" |
70 |
else |
71 |
- SRC_URI="https://github.com/DarkFenX/Pyfa/releases/download/v${PV}/${P}-rubicon-1.1-src.zip" |
72 |
+ SRC_URI="https://github.com/DarkFenX/Pyfa/releases/download/v${PV}/${P}-kronos-1.0-src.zip" |
73 |
KEYWORDS="~amd64 ~arm ~x86" |
74 |
fi |
75 |
IUSE="+graph" |
76 |
|
77 |
|
78 |
|
79 |
1.1 games-util/pyfa/pyfa-1.2.0.ebuild |
80 |
|
81 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-util/pyfa/pyfa-1.2.0.ebuild?rev=1.1&view=markup |
82 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-util/pyfa/pyfa-1.2.0.ebuild?rev=1.1&content-type=text/plain |
83 |
|
84 |
Index: pyfa-1.2.0.ebuild |
85 |
=================================================================== |
86 |
# Copyright 1999-2014 Gentoo Foundation |
87 |
# Distributed under the terms of the GNU General Public License v2 |
88 |
# $Header: /var/cvsroot/gentoo-x86/games-util/pyfa/pyfa-1.2.0.ebuild,v 1.1 2014/06/04 13:56:31 tetromino Exp $ |
89 |
|
90 |
EAPI="5" |
91 |
PYTHON_COMPAT=( python{2_6,2_7} ) |
92 |
PYTHON_REQ_USE="sqlite,threads" |
93 |
|
94 |
inherit eutils gnome2-utils python-r1 |
95 |
|
96 |
DESCRIPTION="Python Fitting Assistant - a ship fitting application for EVE Online" |
97 |
HOMEPAGE="https://github.com/DarkFenX/Pyfa" |
98 |
|
99 |
LICENSE="GPL-3+ LGPL-2.1+ CC-BY-2.5 free-noncomm" |
100 |
SLOT="0" |
101 |
if [[ ${PV} = 9999 ]]; then |
102 |
EGIT_REPO_URI="https://github.com/DarkFenX/Pyfa.git" |
103 |
inherit git-2 |
104 |
KEYWORDS="" |
105 |
else |
106 |
SRC_URI="https://github.com/DarkFenX/Pyfa/releases/download/v${PV}/${P}-kronos-1.0-src.zip" |
107 |
KEYWORDS="~amd64 ~arm ~x86" |
108 |
fi |
109 |
IUSE="+graph" |
110 |
|
111 |
RDEPEND="dev-python/sqlalchemy[${PYTHON_USEDEP}] |
112 |
dev-python/wxpython:2.8[${PYTHON_USEDEP}] |
113 |
graph? ( |
114 |
dev-python/matplotlib[wxwidgets,${PYTHON_USEDEP}] |
115 |
dev-python/numpy[${PYTHON_USEDEP}] ) |
116 |
${PYTHON_DEPS}" |
117 |
DEPEND="app-arch/unzip" |
118 |
|
119 |
S=${WORKDIR}/${PN} |
120 |
|
121 |
src_prepare() { |
122 |
# get rid of CRLF line endings introduced in 1.1.10 so patches work |
123 |
edos2unix config.py pyfa.py service/settings.py |
124 |
|
125 |
# make staticPath settable from configforced again |
126 |
epatch "${FILESDIR}/${PN}-1.1.20-staticPath.patch" |
127 |
|
128 |
# do not try to save exported html to python sitedir |
129 |
epatch "${FILESDIR}/${PN}-1.1.8-html-export-path.patch" |
130 |
|
131 |
# fix import path in the main script for systemwide installation |
132 |
epatch "${FILESDIR}/${PN}-1.1.11-import-pyfa.patch" |
133 |
touch __init__.py |
134 |
|
135 |
pyfa_make_configforced() { |
136 |
mkdir -p "${BUILD_DIR}" || die |
137 |
sed -e "s:%%SITEDIR%%:$(python_get_sitedir):" \ |
138 |
-e "s:%%EPREFIX%%:${EPREFIX}:" \ |
139 |
"${FILESDIR}/configforced.py" > "${BUILD_DIR}/configforced.py" |
140 |
sed -e "s:%%SITEDIR%%:$(python_get_sitedir):" \ |
141 |
pyfa.py > "${BUILD_DIR}/pyfa" |
142 |
} |
143 |
python_foreach_impl pyfa_make_configforced |
144 |
} |
145 |
|
146 |
src_install() { |
147 |
pyfa_py_install() { |
148 |
local packagedir=$(python_get_sitedir)/${PN} |
149 |
insinto "${packagedir}" |
150 |
doins -r eos gui icons service config*.py __init__.py gpl.txt |
151 |
[[ -e info.py ]] && doins info.py # only in zip releases |
152 |
doins "${BUILD_DIR}/configforced.py" |
153 |
python_doscript "${BUILD_DIR}/pyfa" |
154 |
python_optimize |
155 |
} |
156 |
python_foreach_impl pyfa_py_install |
157 |
|
158 |
insinto /usr/share/${PN} |
159 |
doins -r staticdata |
160 |
dodoc readme.txt |
161 |
insinto /usr/share/icons/hicolor/32x32/apps |
162 |
doins icons/pyfa.png |
163 |
insinto /usr/share/icons/hicolor/64x64/apps |
164 |
newins icons/pyfa64.png pyfa.png |
165 |
domenu "${FILESDIR}/${PN}.desktop" |
166 |
} |
167 |
|
168 |
pkg_preinst() { |
169 |
gnome2_icon_savelist |
170 |
} |
171 |
|
172 |
pkg_postinst() { |
173 |
gnome2_icon_cache_update |
174 |
} |
175 |
|
176 |
pkg_postrm() { |
177 |
gnome2_icon_cache_update |
178 |
} |