summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2010-12-04 16:30:15 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2010-12-04 16:30:15 +0000
commitdc366c1d2cd246560c719dd46e8e0e7a590e5a8c (patch)
tree2bb028ba16b31baeefc34a1d1d2541e1068bbfda /sci-mathematics/gretl
parentstable amd64 (diff)
downloadhistorical-dc366c1d2cd246560c719dd46e8e0e7a590e5a8c.tar.gz
historical-dc366c1d2cd246560c719dd46e8e0e7a590e5a8c.tar.bz2
historical-dc366c1d2cd246560c719dd46e8e0e7a590e5a8c.zip
Version bump
Package-Manager: portage-2.1.9.25/cvs/Linux x86_64
Diffstat (limited to 'sci-mathematics/gretl')
-rw-r--r--sci-mathematics/gretl/ChangeLog7
-rw-r--r--sci-mathematics/gretl/Manifest10
-rw-r--r--sci-mathematics/gretl/gretl-1.9.3.ebuild121
3 files changed, 133 insertions, 5 deletions
diff --git a/sci-mathematics/gretl/ChangeLog b/sci-mathematics/gretl/ChangeLog
index ca15b3b4a2bc..77cd27106b02 100644
--- a/sci-mathematics/gretl/ChangeLog
+++ b/sci-mathematics/gretl/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-mathematics/gretl
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/ChangeLog,v 1.26 2010/11/19 07:14:06 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/ChangeLog,v 1.27 2010/12/04 16:30:15 bicatali Exp $
+
+*gretl-1.9.3 (04 Dec 2010)
+
+ 04 Dec 2010; SĂ©bastien Fabbro <bicatali@gentoo.org> +gretl-1.9.3.ebuild:
+ Version bump
*gretl-1.9.2 (19 Nov 2010)
diff --git a/sci-mathematics/gretl/Manifest b/sci-mathematics/gretl/Manifest
index c5ec981ec54c..08bc0ff7aced 100644
--- a/sci-mathematics/gretl/Manifest
+++ b/sci-mathematics/gretl/Manifest
@@ -6,14 +6,16 @@ AUX gretl-1.7.5-locale.patch 223 RMD160 2f20cfdf293e12d739797a0424f825dbc4534547
AUX gretl-1.9.0-ldflags.patch 1064 RMD160 d8e4e969168af67b76fb60fa4b150b6351e99f02 SHA1 e833aa9bbf7fd00ec27c90846e039d97aca26636 SHA256 a5883dc6ce46c5892a7c2050689943f886197e23d0cdb106d0a50c354432e81d
DIST gretl-1.9.0.tar.bz2 7497022 RMD160 91a086e875d5d1eeae6e70e15cf504578ee70924 SHA1 f17a7dcd11633a629367f3018e54c821e1cd66cc SHA256 f95c9dc464559e19837e65cc6fef626e573b76c5213597216214407181109d94
DIST gretl-1.9.2.tar.bz2 7747124 RMD160 5e68f0be9a524371d9be14ed8cb9aa65039ab90c SHA1 3fb3cb81985db6db88bc74f4d4ee07a4fc3479ec SHA256 bf77622fee0a839cfdaeeda673e2dfbbeba72969e9eac00b1818637bf573d858
+DIST gretl-1.9.3.tar.bz2 7845369 RMD160 ece93293426e299f219f619087c2b283e4ce2bb9 SHA1 03629470ead24d64ca90714448431c639522d0d3 SHA256 0f54d2d59286656524692fb88a123571dfb1fb5696805346d5cb291f041a9913
EBUILD gretl-1.9.0-r1.ebuild 3240 RMD160 53482a0127a1d22e66e18118bc5c7926b07ac51d SHA1 ddc46771f5467de8cd8629bd69713c926ebf70ee SHA256 603428e951b0f4894667d06ddde9fbd99ec58e2ad38baa72465bfeb44e04ba28
EBUILD gretl-1.9.2.ebuild 3070 RMD160 ab3fc6c55884e3b158b08f658757f91f5647e209 SHA1 894bac48687ea075a1f0bded377b71f0fd3d16a2 SHA256 76b527c06c2661ee24ad6bc5b4222a741da5b8d1dd28149d225a28d0e73daeef
-MISC ChangeLog 4903 RMD160 661f57be0887d2e8bc1a72c1896cf9b7db92b76d SHA1 545be61a38fe5fa066c3842dde532876893cff04 SHA256 8540738fde5ac883beb5c32f6fd5641084ae70503014e79169cd109bb1d88633
+EBUILD gretl-1.9.3.ebuild 3070 RMD160 4a585b56aea89842706cc0d89bdba1b6c977db9d SHA1 6b8652c423023c27dd8f682e62754b0a2c10b947 SHA256 159b9e2fa6dae2ffa02e4c851ca6c25138680c3516af71cc888cef04547f5156
+MISC ChangeLog 5023 RMD160 8e1b131b8407053eb4ca72b4fa1a3b7666a39c6a SHA1 0af78ffca32a47afcd325302ca8bf0d3bc253cba SHA256 7c83677cd94065a6ec8ebd071f58f7ab6c167269b3ed4f4433eded85d3ba867d
MISC metadata.xml 1019 RMD160 081129737d01e3b770f502faf5a58f6f7d038b00 SHA1 e4ac0899c6bb566adc9a390be56f81113a13b4db SHA256 ab32034694a6ec3b41bbae6c71eef42c6f64fafd79e79e2542843c5e9d3b8f03
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
-iEYEARECAAYFAkzmJEIACgkQ1ycZbhPLE2DfFACdH0hF2aOVmpv3bjQ0CHLZhU53
-9H0An39TSM2I4ca+vQ/yLP4p1cdsqcxb
-=eOM+
+iEYEARECAAYFAkz6bPwACgkQ1ycZbhPLE2DB+ACfWD6hUoT2HxOBwvFluzM/bcuR
+6FgAoI9atetx+4/jN+DAsTo006pWTlZH
+=AzDy
-----END PGP SIGNATURE-----
diff --git a/sci-mathematics/gretl/gretl-1.9.3.ebuild b/sci-mathematics/gretl/gretl-1.9.3.ebuild
new file mode 100644
index 000000000000..869878ff38aa
--- /dev/null
+++ b/sci-mathematics/gretl/gretl-1.9.3.ebuild
@@ -0,0 +1,121 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/gretl-1.9.3.ebuild,v 1.1 2010/12/04 16:30:15 bicatali Exp $
+
+USE_EINSTALL=true
+EAPI=2
+inherit eutils gnome2 elisp-common
+
+DESCRIPTION="Regression, econometrics and time-series library"
+HOMEPAGE="http://gretl.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="accessibility emacs gnome gtk nls odbc openmp readline R sourceview static-libs"
+
+RDEPEND="dev-libs/libxml2
+ dev-libs/glib:2
+ >=sci-visualization/gnuplot-4.2
+ virtual/lapack
+ virtual/latex-base
+ sci-libs/fftw:3.0
+ dev-libs/gmp
+ dev-libs/mpfr
+ readline? ( sys-libs/readline )
+ accessibility? ( app-accessibility/flite )
+ gtk? ( sci-visualization/gnuplot[gd]
+ media-libs/gd[png]
+ x11-libs/gtk+:2 )
+ gnome? ( sci-visualization/gnuplot[gd]
+ media-libs/gd[png]
+ gnome-base/libgnomeui
+ gnome-base/libgnomeprint:2.2
+ gnome-base/libgnomeprintui:2.2
+ gnome-base/gconf:2 )
+ R? ( dev-lang/R )
+ sourceview? ( x11-libs/gtksourceview )
+ odbc? ( dev-db/unixODBC )
+ emacs? ( virtual/emacs )"
+
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+SITEFILE=50${PN}-gentoo.el
+
+pkg_setup() {
+ if use openmp &&
+ [[ $(tc-getCC)$ == *gcc* ]] &&
+ ( [[ $(gcc-major-version)$(gcc-minor-version) -lt 42 ]] ||
+ ! has_version sys-devel/gcc[openmp] )
+ then
+ ewarn "You are using gcc and OpenMP is only available with gcc >= 4.2 "
+ die "Need an OpenMP capable compiler"
+ fi
+}
+
+src_configure() {
+ local myconf
+ if use gtk; then
+ myconf="--enable-gui"
+ myconf="${myconf} $(use_with sourceview gtksourceview)"
+ myconf="${myconf} $(use_with gnome)"
+ else
+ myconf="--disable-gui --without-gnome --without-gtksourceview"
+ fi
+
+ econf \
+ --disable-rpath \
+ --enable-shared \
+ --with-mpfr \
+ $(use_enable nls) \
+ $(use_enable openmp) \
+ $(use_enable static-libs static) \
+ $(use_with readline) \
+ $(use_with odbc) \
+ $(use_with accessibility audio) \
+ $(use_with R libR) \
+ ${myconf} \
+ LAPACK_LIBS="$(pkg-config --libs lapack)"
+}
+
+src_compile() {
+ emake || die "emake failed"
+ if use emacs; then
+ elisp-compile utils/emacs/gretl.el || die "elisp-compile failed"
+ fi
+}
+
+src_install() {
+ if use gnome; then
+ gnome2_src_install gnome_prefix="${D}"/usr svprefix="${D}usr"
+ else
+ einstall svprefix="${D}usr"
+ fi
+ if use gtk && ! use gnome; then
+ doicon gnome/gretl.png
+ make_desktop_entry gretl_x11 gretl
+ fi
+ if use emacs; then
+ elisp-install ${PN} utils/emacs/gretl.{el,elc} \
+ || die "elisp-install failed"
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" \
+ || die "elisp-site-file-install failed"
+ fi
+ dodoc README README.audio ChangeLog CompatLog
+}
+
+pkg_postinst() {
+ if use emacs; then
+ elisp-site-regen
+ elog "To begin using gretl-mode for all \".inp\" files that you edit,"
+ elog "add the following line to your \"~/.emacs\" file:"
+ elog " (add-to-list 'auto-mode-alist '(\"\\\\.inp\\\\'\" . gretl-mode))"
+ fi
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}