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.5.ebuild ChangeLog |
Date: | Tue, 03 Apr 2012 15:41:06 |
Message-Id: | 20120403154048.E30D62004B@flycatcher.gentoo.org |
1 | tetromino 12/04/03 15:40:48 |
2 | |
3 | Modified: ChangeLog |
4 | Added: pyfa-1.1.5.ebuild |
5 | Log: |
6 | Bump, adds Crucible 1.6 updates. |
7 | |
8 | (Portage version: 2.2.0_alpha98/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.9 games-util/pyfa/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-util/pyfa/ChangeLog?rev=1.9&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-util/pyfa/ChangeLog?rev=1.9&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-util/pyfa/ChangeLog?r1=1.8&r2=1.9 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/games-util/pyfa/ChangeLog,v |
20 | retrieving revision 1.8 |
21 | retrieving revision 1.9 |
22 | diff -u -r1.8 -r1.9 |
23 | --- ChangeLog 21 Mar 2012 22:45:57 -0000 1.8 |
24 | +++ ChangeLog 3 Apr 2012 15:40:48 -0000 1.9 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for games-util/pyfa |
27 | # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/games-util/pyfa/ChangeLog,v 1.8 2012/03/21 22:45:57 tetromino Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/games-util/pyfa/ChangeLog,v 1.9 2012/04/03 15:40:48 tetromino Exp $ |
30 | + |
31 | +*pyfa-1.1.5 (03 Apr 2012) |
32 | + |
33 | + 03 Apr 2012; Alexandre Rostovtsev <tetromino@g.o> +pyfa-1.1.5.ebuild: |
34 | + Bump, adds Crucible 1.6 updates. |
35 | |
36 | *pyfa-1.1.4-r1 (21 Mar 2012) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 games-util/pyfa/pyfa-1.1.5.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-util/pyfa/pyfa-1.1.5.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-util/pyfa/pyfa-1.1.5.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: pyfa-1.1.5.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2012 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/games-util/pyfa/pyfa-1.1.5.ebuild,v 1.1 2012/04/03 15:40:48 tetromino Exp $ |
51 | |
52 | EAPI="4" |
53 | PYTHON_DEPEND="2:2.6" |
54 | PYTHON_USE_WITH="sqlite threads" |
55 | |
56 | inherit eutils gnome2-utils python |
57 | |
58 | if [[ ${PV/_rc*/} == ${PV} ]] ; then |
59 | MY_PV=${PV}-crucible-src |
60 | FOLDER=stable/${PV} |
61 | else |
62 | MY_PV=${PV/_rc/-stable-RC}-src |
63 | FOLDER=stable/${PV/*_rc/RC} |
64 | fi |
65 | |
66 | DESCRIPTION="Python Fitting Assistant - a ship fitting application for EVE Online" |
67 | HOMEPAGE="http://www.evefit.org/Pyfa" |
68 | SRC_URI="http://dl.evefit.org/${FOLDER}/${PN}-${MY_PV}.tar.bz2" |
69 | |
70 | LICENSE="GPL-3 LGPL-2.1 CCPL-Attribution-2.5 free-noncomm" |
71 | SLOT="0" |
72 | KEYWORDS="~amd64 ~x86" |
73 | IUSE="+graph" |
74 | |
75 | RDEPEND="dev-python/sqlalchemy |
76 | dev-python/wxpython:2.8 |
77 | graph? ( dev-python/matplotlib[wxwidgets] dev-python/numpy )" |
78 | DEPEND="" |
79 | |
80 | S=${WORKDIR}/${PN} |
81 | |
82 | pkg_setup() { |
83 | python_set_active_version 2 |
84 | python_pkg_setup |
85 | } |
86 | |
87 | src_prepare() { |
88 | # make staticPath settable from configforced again |
89 | epatch "${FILESDIR}/${PN}-1.1-staticPath.patch" |
90 | |
91 | # use correct slot of wxpython, http://trac.evefit.org/ticket/475 |
92 | epatch "${FILESDIR}/${PN}-1.1.4-wxversion.patch" |
93 | |
94 | python_convert_shebangs -r -x 2 . |
95 | sed -e "s:%%SITEDIR%%:$(python_get_sitedir):" \ |
96 | -e "s:%%EPREFIX%%:${EPREFIX}:" \ |
97 | "${FILESDIR}/configforced.py" > configforced.py |
98 | } |
99 | |
100 | src_install() { |
101 | local packagedir=$(python_get_sitedir)/${PN} |
102 | insinto "${packagedir}" |
103 | doins -r eos gui icons service config*.py info.py gpl.txt |
104 | exeinto "${packagedir}" |
105 | doexe ${PN}.py |
106 | dosym "${packagedir}/${PN}.py" /usr/bin/${PN} |
107 | insinto /usr/share/${PN} |
108 | doins -r staticdata |
109 | dodoc readme.txt |
110 | insinto /usr/share/icons/hicolor/32x32/apps |
111 | doins icons/pyfa.png |
112 | insinto /usr/share/icons/hicolor/64x64/apps |
113 | newins icons/pyfa64.png pyfa.png |
114 | domenu "${FILESDIR}/${PN}.desktop" |
115 | } |
116 | |
117 | pkg_preinst() { |
118 | gnome2_icon_savelist |
119 | } |
120 | |
121 | pkg_postinst() { |
122 | gnome2_icon_cache_update |
123 | python_mod_optimize ${PN} |
124 | } |
125 | |
126 | pkg_postrm() { |
127 | gnome2_icon_cache_update |
128 | python_mod_cleanup ${PN} |
129 | } |