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