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-mathematics/gretl: ChangeLog metadata.xml gretl-1.7.2.ebuild gretl-1.7.0.ebuild
Date: Tue, 26 Feb 2008 09:49:18
Message-Id: E1JTwR1-00079V-FI@stork.gentoo.org
1 bicatali 08/02/26 09:49:15
2
3 Modified: ChangeLog metadata.xml
4 Added: gretl-1.7.2.ebuild
5 Removed: gretl-1.7.0.ebuild
6 Log:
7 Version bump
8 (Portage version: 2.1.4.4)
9
10 Revision Changes Path
11 1.8 sci-mathematics/gretl/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/gretl/ChangeLog?rev=1.8&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/gretl/ChangeLog?rev=1.8&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/gretl/ChangeLog?r1=1.7&r2=1.8
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/ChangeLog,v
20 retrieving revision 1.7
21 retrieving revision 1.8
22 diff -u -r1.7 -r1.8
23 --- ChangeLog 12 Jan 2008 19:54:36 -0000 1.7
24 +++ ChangeLog 26 Feb 2008 09:49:14 -0000 1.8
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sci-mathematics/gretl
27 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/ChangeLog,v 1.7 2008/01/12 19:54:36 bicatali Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/ChangeLog,v 1.8 2008/02/26 09:49:14 bicatali Exp $
30 +
31 +*gretl-1.7.2 (26 Feb 2008)
32 +
33 + 26 Feb 2008; Sébastien Fabbro <bicatali@g.o> metadata.xml,
34 + -gretl-1.7.0.ebuild, +gretl-1.7.2.ebuild:
35 + Version bump. Closes bug #211474.
36
37 *gretl-1.7.1 (12 Jan 2008)
38
39
40
41
42 1.2 sci-mathematics/gretl/metadata.xml
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/gretl/metadata.xml?rev=1.2&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/gretl/metadata.xml?rev=1.2&content-type=text/plain
46 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/gretl/metadata.xml?r1=1.1&r2=1.2
47
48 Index: metadata.xml
49 ===================================================================
50 RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/metadata.xml,v
51 retrieving revision 1.1
52 retrieving revision 1.2
53 diff -u -r1.1 -r1.2
54 --- metadata.xml 7 Nov 2007 09:13:18 -0000 1.1
55 +++ metadata.xml 26 Feb 2008 09:49:14 -0000 1.2
56 @@ -3,15 +3,15 @@
57 <pkgmetadata>
58 <herd>sci-mathematics</herd>
59 <longdescription lang="en">
60 -Gretl (GNU regression, econometrics and time-series library) provides
61 -a library which comprises various functions relating to econometric
62 -estimation, a command-line client program and a GUI. The library is
63 -based on the stand-alone command-line econometrics program ESL,
64 -originally written by Ramu Ramanathan of the Department of Economics
65 -at UC-San Diego. The interfaces offer several least-squares based
66 -estimators. Besides reading data files in its own format it also
67 -reads RATS 4 databases. It has a built-in spreadsheet for editing
68 -data, and uses gnuplot for graphing. It can output regression results
69 -in LaTeX format.
70 + GNU Regression, Econometrics and Time-series Library provides
71 + a library which comprises various functions relating to econometric
72 + estimation, a command-line client program and a GUI. The library is
73 + based on the stand-alone command-line econometrics program ESL,
74 + originally written by Ramu Ramanathan of the Department of Economics
75 + at UC-San Diego. The interfaces offer several least-squares based
76 + estimators. Besides reading data files in its own format it also
77 + reads RATS 4 databases. It has a built-in spreadsheet for editing
78 + data, and uses gnuplot for graphing. It can output regression results
79 + in LaTeX format.
80 </longdescription>
81 </pkgmetadata>
82
83
84
85 1.1 sci-mathematics/gretl/gretl-1.7.2.ebuild
86
87 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/gretl/gretl-1.7.2.ebuild?rev=1.1&view=markup
88 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/gretl/gretl-1.7.2.ebuild?rev=1.1&content-type=text/plain
89
90 Index: gretl-1.7.2.ebuild
91 ===================================================================
92 # Copyright 1999-2008 Gentoo Foundation
93 # Distributed under the terms of the GNU General Public License v2
94 # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/gretl-1.7.2.ebuild,v 1.1 2008/02/26 09:49:14 bicatali Exp $
95
96 USE_EINSTALL=true
97
98 inherit eutils gnome2 elisp-common
99
100 DESCRIPTION="Regression, econometrics and time-series library"
101 HOMEPAGE="http://gretl.sourceforge.net/"
102 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
103
104 LICENSE="GPL-2"
105 SLOT="0"
106 KEYWORDS="~amd64 ~x86"
107
108 IUSE="accessibility emacs gmp gnome gtk nls png readline sourceview"
109
110 RDEPEND="dev-libs/libxml2
111 >=dev-libs/glib-2
112 sci-visualization/gnuplot
113 virtual/lapack
114 >=sci-libs/fftw-3
115 dev-libs/mpfr
116 png? ( media-libs/libpng )
117 readline? ( sys-libs/readline )
118 gmp? ( dev-libs/gmp )
119 accessibility? ( app-accessibility/flite )
120 gtk? ( >=x11-libs/gtk+-2.0 )
121 gnome? ( >=gnome-base/libgnomeui-2.0
122 >=gnome-base/libgnomeprint-2.2
123 >=gnome-base/libgnomeprintui-2.2
124 >=gnome-base/gconf-2.0 )
125 sourceview? ( x11-libs/gtksourceview )
126 emacs? ( virtual/emacs )"
127
128 DEPEND="${RDEPEND}
129 dev-util/pkgconfig"
130
131 SITEFILE=50${PN}-gentoo.el
132
133 src_unpack() {
134 unpack ${A}
135 cd "${S}"
136 # makefile in cli not propagating flags
137 epatch "${FILESDIR}"/${PN}-1.6.5-cli.patch
138 }
139
140 src_compile() {
141
142 local myconf
143 if use gtk; then
144 if ! built_with_use sci-visualization/gnuplot gd; then
145 eerror "You need to build gnuplot with gd and png to use the gretl gtk GUI"
146 die "configuring with gnuplot failed"
147 fi
148 myconf="--enable-gui"
149 myconf="${myconf} $(use_with sourceview gtksourceview)"
150 myconf="${myconf} $(use_with gnome)"
151 else
152 myconf="--disable-gui --disable-gnome --disable-gtksourceview"
153 fi
154
155 econf \
156 --with-mpfr \
157 --without-libole2 \
158 --without-gtkextra \
159 $(use_enable nls) \
160 $(use_enable png png-comments) \
161 $(use_with readline) \
162 $(use_with gmp) \
163 $(use_with accessibility audio) \
164 ${myconf} \
165 LAPACK_LIBS="$(pkg-config --libs lapack)" \
166 || die "econf failed"
167
168 emake || die "emake failed"
169
170 if use emacs; then
171 elisp-compile utils/emacs/gretl.el || die "elisp-compile failed"
172 fi
173 }
174
175 src_install() {
176 if use gnome; then
177 gnome2_src_install gnome_prefix="${D}"/usr
178 else
179 einstall || "die einstall failed"
180 fi
181 if use gtk && ! use gnome; then
182 doicon gnome/gretl.png
183 make_desktop_entry gretlx11 gretl
184 fi
185 if use emacs; then
186 elisp-install ${PN} utils/emacs/gretl.{el,elc} \
187 || die "elisp-install failed"
188 elisp-site-file-install "${FILESDIR}/${SITEFILE}" \
189 || die "elisp-site-file-install failed"
190 fi
191 dodoc NEWS README README.audio ChangeLog TODO EXTENDING \
192 || die "dodoc failed"
193 }
194
195 pkg_postinst() {
196 if use emacs; then
197 elisp-site-regen
198 elog "To begin using gretl-mode for all \".inp\" files that you edit,"
199 elog "add the following line to your \"~/.emacs\" file:"
200 elog " (add-to-list 'auto-mode-alist '(\"\\\\.inp\\\\'\" . gretl-mode))"
201 fi
202 }
203
204 pkg_postrm() {
205 use emacs && elisp-site-regen
206 }
207
208
209
210 --
211 gentoo-commits@l.g.o mailing list