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