Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-visualization/qtiplot: qtiplot-0.9.4.ebuild ChangeLog qtiplot-0.7.7.ebuild qtiplot-0.9.5.ebuild qtiplot-0.9.3.ebuild
Date: Tue, 29 Apr 2008 14:55:56
Message-Id: E1JqrFJ-0000m1-65@stork.gentoo.org
1 bicatali 08/04/29 14:55:53
2
3 Modified: qtiplot-0.9.4.ebuild ChangeLog qtiplot-0.7.7.ebuild
4 Added: qtiplot-0.9.5.ebuild
5 Removed: qtiplot-0.9.3.ebuild
6 Log:
7 Version bump. Separated patches for fit plugins and qtiplot.pro for better re-usability
8 (Portage version: 2.1.5_rc6)
9
10 Revision Changes Path
11 1.2 sci-visualization/qtiplot/qtiplot-0.9.4.ebuild
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.4.ebuild?rev=1.2&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.4.ebuild?rev=1.2&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.4.ebuild?r1=1.1&r2=1.2
16
17 Index: qtiplot-0.9.4.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.4.ebuild,v
20 retrieving revision 1.1
21 retrieving revision 1.2
22 diff -u -r1.1 -r1.2
23 --- qtiplot-0.9.4.ebuild 28 Mar 2008 18:30:44 -0000 1.1
24 +++ qtiplot-0.9.4.ebuild 29 Apr 2008 14:55:52 -0000 1.2
25 @@ -1,6 +1,6 @@
26 # Copyright 1999-2008 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.4.ebuild,v 1.1 2008/03/28 18:30:44 bicatali Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.4.ebuild,v 1.2 2008/04/29 14:55:52 bicatali Exp $
30
31 inherit eutils multilib qt4
32
33 @@ -26,7 +26,7 @@
34 !bindist? ( sci-libs/gsl )
35 bindist? ( <sci-libs/gsl-1.10 )"
36
37 -DEPEND="${RDEPEND}
38 +DEPEND="${CDEPEND}
39 dev-util/pkgconfig
40 python? ( >=dev-python/sip-4.5.2 )"
41
42 @@ -36,8 +36,6 @@
43 dev-python/pygsl
44 sci-libs/scipy )"
45
46 -QT4_BUILT_WITH_USE_CHECK="qt3support"
47 -
48 src_unpack() {
49 unpack ${A}
50 cd "${S}"
51 @@ -45,7 +43,7 @@
52
53 # docs: remove default doc building
54 sed -i -e '/manual/d' qtiplot.pro qtiplot/qtiplot.pro \
55 - || die "die sed for docs failed"
56 + || die "sed for docs failed"
57 sed -i -e "s:doc/${PN}:doc/${PF}:" qtiplot/qtiplot.pro
58
59 if ! use python; then
60
61
62
63 1.21 sci-visualization/qtiplot/ChangeLog
64
65 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/qtiplot/ChangeLog?rev=1.21&view=markup
66 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/qtiplot/ChangeLog?rev=1.21&content-type=text/plain
67 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/qtiplot/ChangeLog?r1=1.20&r2=1.21
68
69 Index: ChangeLog
70 ===================================================================
71 RCS file: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/ChangeLog,v
72 retrieving revision 1.20
73 retrieving revision 1.21
74 diff -u -r1.20 -r1.21
75 --- ChangeLog 28 Mar 2008 18:30:44 -0000 1.20
76 +++ ChangeLog 29 Apr 2008 14:55:52 -0000 1.21
77 @@ -1,6 +1,17 @@
78 # ChangeLog for sci-visualization/qtiplot
79 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
80 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/ChangeLog,v 1.20 2008/03/28 18:30:44 bicatali Exp $
81 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/ChangeLog,v 1.21 2008/04/29 14:55:52 bicatali Exp $
82 +
83 +*qtiplot-0.9.5 (29 Apr 2008)
84 +
85 + 29 Apr 2008; Sébastien Fabbro <bicatali@g.o>
86 + -files/qtiplot-0.9.3-homepage.patch,
87 + -files/qtiplot-0.9.3-systemlibs.patch,
88 + +files/qtiplot-0.9.5-fitplugins.patch, +files/qtiplot-0.9.5-profile.patch,
89 + qtiplot-0.7.7.ebuild, -qtiplot-0.9.3.ebuild, qtiplot-0.9.4.ebuild,
90 + +qtiplot-0.9.5.ebuild:
91 + Version bump. Separated patches for fit plugins and qtiplot.pro for better
92 + re-usability
93
94 *qtiplot-0.9.4 (28 Mar 2008)
95
96
97
98
99 1.5 sci-visualization/qtiplot/qtiplot-0.7.7.ebuild
100
101 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.7.7.ebuild?rev=1.5&view=markup
102 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.7.7.ebuild?rev=1.5&content-type=text/plain
103 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.7.7.ebuild?r1=1.4&r2=1.5
104
105 Index: qtiplot-0.7.7.ebuild
106 ===================================================================
107 RCS file: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.7.7.ebuild,v
108 retrieving revision 1.4
109 retrieving revision 1.5
110 diff -u -r1.4 -r1.5
111 --- qtiplot-0.7.7.ebuild 13 Feb 2008 14:33:59 -0000 1.4
112 +++ qtiplot-0.7.7.ebuild 29 Apr 2008 14:55:52 -0000 1.5
113 @@ -1,6 +1,6 @@
114 # Copyright 1999-2008 Gentoo Foundation
115 # Distributed under the terms of the GNU General Public License v2
116 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.7.7.ebuild,v 1.4 2008/02/13 14:33:59 markusle Exp $
117 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.7.7.ebuild,v 1.5 2008/04/29 14:55:52 bicatali Exp $
118
119 inherit eutils multilib qt3
120
121 @@ -14,7 +14,7 @@
122 IUSE="bindist"
123
124 RDEPEND="$(qt_min_version 3.3)
125 - >=x11-libs/qwt-4.2.0
126 + <x11-libs/qwt-5
127 <x11-libs/qwtplot3d-0.2.7
128 !bindist? ( sci-libs/gsl )
129 bindist? ( <sci-libs/gsl-1.10 )"
130
131
132
133 1.1 sci-visualization/qtiplot/qtiplot-0.9.5.ebuild
134
135 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.5.ebuild?rev=1.1&view=markup
136 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.5.ebuild?rev=1.1&content-type=text/plain
137
138 Index: qtiplot-0.9.5.ebuild
139 ===================================================================
140 # Copyright 1999-2008 Gentoo Foundation
141 # Distributed under the terms of the GNU General Public License v2
142 # $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.5.ebuild,v 1.1 2008/04/29 14:55:52 bicatali Exp $
143
144 EAPI="1"
145 inherit eutils multilib qt4
146
147 DESCRIPTION="Qt based clone of the Origin plotting package"
148 HOMEPAGE="http://soft.proindependent.com/qtiplot.html"
149 SRC_URI="http://soft.proindependent.com/src/${P}.tar.bz2
150 doc? ( mirror://gentoo/${P}-manual-en.tar.bz2 )"
151
152 LICENSE="GPL-2"
153 SLOT="0"
154 KEYWORDS="~amd64 ~ppc64 ~x86"
155 IUSE="python doc bindist"
156
157 LANGS="de es fr ja ru sv"
158 for l in ${LANGS}; do
159 IUSE="${IUSE} linguas_${l}"
160 done
161
162 CDEPEND=">=x11-libs/qwt-5.0.2
163 >=x11-libs/qwtplot3d-0.2.7
164 >=dev-cpp/muParser-1.28
165 >=sci-libs/liborigin-20080225
166 !bindist? ( sci-libs/gsl )
167 bindist? ( <sci-libs/gsl-1.10 )"
168
169 DEPEND="${CDEPEND}
170 dev-util/pkgconfig
171 python? ( >=dev-python/sip-4.5.2 )"
172
173 RDEPEND="${CDEPEND}
174 python? ( >=dev-lang/python-2.5
175 dev-python/PyQt4
176 dev-python/pygsl
177 sci-libs/scipy )"
178
179 src_unpack() {
180 unpack ${A}
181 cd "${S}"
182 epatch "${FILESDIR}"/${P}-profile.patch
183 epatch "${FILESDIR}"/${P}-fitplugins.patch
184
185 sed -i \
186 -e '/manual/d'\
187 -e '/3rd/d' \
188 qtiplot.pro || die "sed qtiplot.pro failed"
189
190 if ! use python; then
191 sed -i \
192 -e '/^SCRIPTING_LANGS += Python/d' \
193 -e '/sipcmd/d' \
194 qtiplot/qtiplot.pro || die "sed for python option failed"
195 fi
196
197 # the lib$$suff did not work in the fitRational*.pro files
198 sed -i \
199 -e "s|/usr/lib\$\${libsuff}|/usr/$(get_libdir)|g" \
200 fitPlugins/fit*/fitRational*.pro \
201 || die "sed fitRational* failed"
202
203 for l in ${LANGS}; do
204 if ! use linguas_${l}; then
205 sed -i \
206 -e "s:translations/qtiplot_${l}.ts::" \
207 qtiplot/qtiplot.pro || die
208 fi
209 done
210 }
211
212 src_compile() {
213 eqmake4 || die "eqmake4 failed"
214 emake || die "emake failed"
215 }
216
217 src_install() {
218 emake INSTALL_ROOT="${D}" install || die 'emake install failed'
219
220 newicon qtiplot_logo.png qtiplot.png
221 make_desktop_entry qtiplot QtiPlot qtiplot
222 doman qtiplot.1 || die "doman failed"
223
224 if use doc; then
225 insinto /usr/share/doc/${PF}/html
226 doins -r "${WORKDIR}"/qtiplot-manual-en/* \
227 || die "install manual failed"
228 fi
229
230 if use python; then
231 insinto /etc
232 doins qtiplot/{qtiplotrc,qtiUtil}.py \
233 || die "install python config failed"
234 fi
235 }
236
237
238
239 --
240 gentoo-commits@l.g.o mailing list