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