1 |
bicatali 07/12/03 11:20:15 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: qtiplot-0.9.2.ebuild |
5 |
Removed: qtiplot-0.9.1.ebuild |
6 |
Log: |
7 |
Version bump. Removed 0.9.1 because many issues and missing doc upstream. python-2.5 now only needed if python flag set. |
8 |
(Portage version: 2.1.4_rc4) |
9 |
|
10 |
Revision Changes Path |
11 |
1.13 sci-visualization/qtiplot/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/qtiplot/ChangeLog?rev=1.13&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/qtiplot/ChangeLog?rev=1.13&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/qtiplot/ChangeLog?r1=1.12&r2=1.13 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/ChangeLog,v |
20 |
retrieving revision 1.12 |
21 |
retrieving revision 1.13 |
22 |
diff -u -r1.12 -r1.13 |
23 |
--- ChangeLog 28 Nov 2007 23:28:27 -0000 1.12 |
24 |
+++ ChangeLog 3 Dec 2007 11:20:14 -0000 1.13 |
25 |
@@ -1,6 +1,15 @@ |
26 |
# ChangeLog for sci-visualization/qtiplot |
27 |
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/ChangeLog,v 1.12 2007/11/28 23:28:27 bicatali Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/ChangeLog,v 1.13 2007/12/03 11:20:14 bicatali Exp $ |
30 |
+ |
31 |
+*qtiplot-0.9.2 (03 Dec 2007) |
32 |
+ |
33 |
+ 03 Dec 2007; Sébastien Fabbro <bicatali@g.o> |
34 |
+ -files/qtiplot-0.9.1-systemlibs.patch, |
35 |
+ +files/qtiplot-0.9.2-systemlibs.patch, -qtiplot-0.9.1.ebuild, |
36 |
+ +qtiplot-0.9.2.ebuild: |
37 |
+ Version bump. Removed 0.9.1 because many issues and missing doc upstream. |
38 |
+ python-2.5 now only needed if python flag set. |
39 |
|
40 |
*qtiplot-0.9.1 (28 Nov 2007) |
41 |
|
42 |
|
43 |
|
44 |
|
45 |
1.1 sci-visualization/qtiplot/qtiplot-0.9.2.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.2.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.2.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: qtiplot-0.9.2.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2007 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.2.ebuild,v 1.1 2007/12/03 11:20:14 bicatali Exp $ |
55 |
|
56 |
inherit eutils multilib qt4 python |
57 |
|
58 |
DESCRIPTION="Qt based clone of the Origin plotting package" |
59 |
HOMEPAGE="http://soft.proindependent.com/qtiplot.html" |
60 |
SRC_URI="http://soft.proindependent.com/src/${P}.tar.bz2 |
61 |
doc? ( http://soft.proindependent.com/doc/manual-en.tar.bz2 |
62 |
linguas_es? ( http://soft.proindependent.com/doc/manual-es.zip ) )" |
63 |
|
64 |
LICENSE="GPL-2" |
65 |
SLOT="0" |
66 |
KEYWORDS="~amd64 ~x86" |
67 |
IUSE="python doc" |
68 |
|
69 |
LANGUAGES="de es fr ja ru sv" |
70 |
for l in ${LANGUAGES}; do |
71 |
IUSE="${IUSE} linguas_${l}" |
72 |
done |
73 |
|
74 |
CDEPEND=">=x11-libs/qwt-5.0.2 |
75 |
>=x11-libs/qwtplot3d-0.2.7 |
76 |
>=dev-cpp/muParser-1.28 |
77 |
>=sci-libs/liborigin-20071119 |
78 |
>=sci-libs/gsl-1.10" |
79 |
|
80 |
DEPEND="${RDEPEND} |
81 |
python? ( >=dev-python/sip-4.5.2 ) |
82 |
doc? ( linguas_es? ( app-arch/unzip ) )" |
83 |
|
84 |
RDEPEND="${CDEPEND} |
85 |
python? ( >=dev-lang/python-2.5 |
86 |
dev-python/PyQt4 |
87 |
dev-python/pygsl |
88 |
sci-libs/scipy )" |
89 |
|
90 |
# manual-en.html never changes version |
91 |
# could also uses docbook2html, but the dep is quite heavy |
92 |
RESTRICT=" doc? ( mirror )" |
93 |
|
94 |
QT4_BUILT_WITH_USE_CHECK="qt3support" |
95 |
|
96 |
src_unpack() { |
97 |
unpack ${A} |
98 |
cd "${S}" |
99 |
epatch "${FILESDIR}"/${P}-systemlibs.patch |
100 |
|
101 |
for l in ${LANGUAGES}; do |
102 |
use linguas_${l} || \ |
103 |
sed -i -e "s:translations/qtiplot_${l}.ts::" ${PN}/${PN}.pro |
104 |
done |
105 |
use python || sed -i -e 's/^\(SCRIPTING_LANGS += Python\)/#\1/' ${PN}.pro |
106 |
|
107 |
# the lib$$suff did not work in the fitRational*.pro files |
108 |
sed -i \ |
109 |
-e "s|/usr/lib\$\${libsuff}|$(get_libdir)|g" \ |
110 |
fitPlugins/fit*/fitRational*.pro \ |
111 |
|| die "sed fitRational* failed" |
112 |
} |
113 |
|
114 |
src_compile() { |
115 |
eqmake4 ${PN}.pro || die "eqmake4 failed" |
116 |
emake || die "emake failed" |
117 |
} |
118 |
|
119 |
src_install() { |
120 |
emake INSTALL_ROOT="${D}" install || die 'emake install failed' |
121 |
|
122 |
newicon qtiplot_logo.png qtiplot.png |
123 |
make_desktop_entry qtiplot QtiPlot qtiplot Science |
124 |
doman qtiplot.1 |
125 |
|
126 |
if use doc; then |
127 |
insinto "/usr/share/doc/${PF}" |
128 |
doins -r "${WORKDIR}"/manual-en |
129 |
use linguas_es && doins -r "${WORKDIR}"/manual-es |
130 |
fi |
131 |
|
132 |
for l in ${LANGUAGES}; do |
133 |
if use linguas_${l}; then |
134 |
insinto /usr/share/${PN}/translations |
135 |
doins ${PN}/translations/*${l}*.qm |
136 |
fi |
137 |
done |
138 |
|
139 |
if use python; then |
140 |
cd "${S}"/${PN} |
141 |
insinto /etc |
142 |
doins qtiplotrc.py |
143 |
python_version |
144 |
insinto /usr/$(get_libdir)/python${PYVER}/site-packages/ |
145 |
doins qtiUtil.py |
146 |
fi |
147 |
} |
148 |
|
149 |
pkg_postinst() { |
150 |
use python && python_mod_optimize \ |
151 |
"${ROOT}"/usr/$(get_libdir)/python${PYVER}/site-packages/qtiUtil |
152 |
} |
153 |
|
154 |
pkg_postrm() { |
155 |
use python && python_mod_cleanup \ |
156 |
"${ROOT}"/usr/$(get_libdir)/python${PYVER}/site-packages/qtiUtil |
157 |
} |
158 |
|
159 |
|
160 |
|
161 |
-- |
162 |
gentoo-commits@g.o mailing list |