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