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: gretl-1.9.90.ebuild ChangeLog gretl-1.9.12.ebuild
Date: Wed, 28 May 2014 17:35:35
Message-Id: 20140528173531.798A22004E@flycatcher.gentoo.org
1 bicatali 14/05/28 17:35:31
2
3 Modified: ChangeLog
4 Added: gretl-1.9.90.ebuild
5 Removed: gretl-1.9.12.ebuild
6 Log:
7 Version bump
8
9 (Portage version: HEAD/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
10
11 Revision Changes Path
12 1.46 sci-mathematics/gretl/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/gretl/ChangeLog?rev=1.46&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/gretl/ChangeLog?rev=1.46&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/gretl/ChangeLog?r1=1.45&r2=1.46
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/ChangeLog,v
21 retrieving revision 1.45
22 retrieving revision 1.46
23 diff -u -r1.45 -r1.46
24 --- ChangeLog 27 Mar 2014 03:38:20 -0000 1.45
25 +++ ChangeLog 28 May 2014 17:35:31 -0000 1.46
26 @@ -1,6 +1,12 @@
27 # ChangeLog for sci-mathematics/gretl
28 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/ChangeLog,v 1.45 2014/03/27 03:38:20 bicatali Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/ChangeLog,v 1.46 2014/05/28 17:35:31 bicatali Exp $
31 +
32 +*gretl-1.9.90 (28 May 2014)
33 +
34 + 28 May 2014; Sébastien Fabbro <bicatali@g.o> +gretl-1.9.90.ebuild,
35 + -files/gretl-1.9.12-gtksourceview.patch, -gretl-1.9.12.ebuild:
36 + Version bump
37
38 27 Mar 2014; Sébastien Fabbro <bicatali@g.o>
39 +files/gretl-1.9.14-readline.patch, gretl-1.9.14.ebuild, metadata.xml:
40
41
42
43 1.1 sci-mathematics/gretl/gretl-1.9.90.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/gretl/gretl-1.9.90.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/gretl/gretl-1.9.90.ebuild?rev=1.1&content-type=text/plain
47
48 Index: gretl-1.9.90.ebuild
49 ===================================================================
50 # Copyright 1999-2014 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/gretl-1.9.90.ebuild,v 1.1 2014/05/28 17:35:31 bicatali Exp $
53
54 EAPI=5
55
56 USE_EINSTALL=true
57
58 inherit eutils elisp-common toolchain-funcs
59
60 DESCRIPTION="Regression, econometrics and time-series library"
61 HOMEPAGE="http://gretl.sourceforge.net/"
62 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
63
64 LICENSE="GPL-3"
65 SLOT="0/10"
66 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
67 IUSE="accessibility avx +curl emacs gnome gtk mpi nls odbc openmp python
68 readline sse2 R static-libs"
69
70 CDEPEND="
71 dev-libs/glib:2=
72 dev-libs/gmp:0=
73 dev-libs/libxml2:2=
74 dev-libs/mpfr:0=
75 sci-libs/fftw:3.0=
76 sci-visualization/gnuplot
77 virtual/lapack
78 virtual/latex-base
79 accessibility? ( app-accessibility/flite:= )
80 curl? ( net-misc/curl:0= )
81 emacs? ( virtual/emacs )
82 gtk? (
83 media-libs/gd:2=[png]
84 sci-visualization/gnuplot[gd]
85 x11-libs/gtk+:3=
86 x11-libs/gtksourceview:3.0= )
87 mpi? ( virtual/mpi )
88 odbc? ( dev-db/unixODBC:0= )
89 R? ( dev-lang/R:0= )
90 readline? ( sys-libs/readline:0= )"
91 RDEPEND="${CDEPEND}
92 python? ( dev-python/numpy )"
93 DEPEND="${CDEPEND}
94 virtual/pkgconfig"
95
96 SITEFILE=50${PN}-gentoo.el
97
98 REQUIRED_USE="emacs? ( gtk ) !curl? ( !gtk )"
99
100 pkg_setup() {
101 if use openmp && [[ $(tc-getCC)$ == *gcc* ]] && ! tc-has-openmp ; then
102 ewarn "You are using a non capable gcc compiler ( < 4.2 ? )"
103 die "Need an OpenMP capable compiler"
104 fi
105 }
106
107 src_configure() {
108 econf \
109 --disable-rpath \
110 --enable-shared \
111 --with-mpfr \
112 --docdir="${EPREFIX}/usr/share/doc/${PF}" \
113 --htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \
114 $(use_enable avx) \
115 $(use_enable curl www) \
116 $(use_enable gtk gui) \
117 $(use_enable gtk xdg) \
118 $(use_enable gtk xdg-utils) \
119 $(use_enable nls) \
120 $(use_enable openmp) \
121 $(use_enable sse2) \
122 $(use_enable static-libs static) \
123 $(use_with accessibility audio) \
124 $(use_with mpi) \
125 $(use_with odbc) \
126 $(use_with readline) \
127 $(use_with R libR) \
128 ${myconf} \
129 LAPACK_LIBS="$($(tc-getPKG_CONFIG) --libs lapack)"
130 }
131
132 src_compile() {
133 emake
134 if use emacs; then
135 cd utils/emacs && emake
136 elisp-compile gretl.el
137 fi
138 }
139
140 src_install() {
141 # to fix
142 emake -j1 DESTDIR="${D}" install
143 if use emacs; then
144 elisp-install ${PN} utils/emacs/gretl.{el,elc}
145 elisp-site-file-install "${FILESDIR}/${SITEFILE}"
146 fi
147 dodoc README README.audio ChangeLog CompatLog
148 }
149
150 pkg_postinst() {
151 if use emacs; then
152 elisp-site-regen
153 elog "To use gretl-mode for all \".inp\" files that you edit,"
154 elog "add the following line to your \"~/.emacs\" file:"
155 elog " (add-to-list 'auto-mode-alist '(\"\\\\.inp\\\\'\" . gretl-mode))"
156 fi
157 }
158
159 pkg_postrm() {
160 use emacs && elisp-site-regen
161 }