summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Dittrich <markusle@gentoo.org>2008-05-20 13:46:51 +0000
committerMarkus Dittrich <markusle@gentoo.org>2008-05-20 13:46:51 +0000
commitbdd9f3f8a905b7d5a65413226ad7aae9b4af5cc3 (patch)
tree7683c80c6d91bf996abb8e5acf3ef6d42366eafd /sci-mathematics
parentTODO doesn't exist (diff)
downloadhistorical-bdd9f3f8a905b7d5a65413226ad7aae9b4af5cc3.tar.gz
historical-bdd9f3f8a905b7d5a65413226ad7aae9b4af5cc3.tar.bz2
historical-bdd9f3f8a905b7d5a65413226ad7aae9b4af5cc3.zip
Version bump (fixes bug #222871).
Package-Manager: portage-2.1.5_rc10
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/gretl/ChangeLog7
-rw-r--r--sci-mathematics/gretl/Manifest14
-rw-r--r--sci-mathematics/gretl/gretl-1.7.4.ebuild115
3 files changed, 124 insertions, 12 deletions
diff --git a/sci-mathematics/gretl/ChangeLog b/sci-mathematics/gretl/ChangeLog
index d4b43da4b43e..e6d8d6b79e8c 100644
--- a/sci-mathematics/gretl/ChangeLog
+++ b/sci-mathematics/gretl/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-mathematics/gretl
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/ChangeLog,v 1.8 2008/02/26 09:49:14 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/ChangeLog,v 1.9 2008/05/20 13:46:51 markusle Exp $
+
+*gretl-1.7.4 (20 May 2008)
+
+ 20 May 2008; Markus Dittrich <markusle@gentoo.org> +gretl-1.7.4.ebuild:
+ Version bump (fixes bug #222871).
*gretl-1.7.2 (26 Feb 2008)
diff --git a/sci-mathematics/gretl/Manifest b/sci-mathematics/gretl/Manifest
index 8ae7a2f956b9..015a2fae56c8 100644
--- a/sci-mathematics/gretl/Manifest
+++ b/sci-mathematics/gretl/Manifest
@@ -1,18 +1,10 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX 50gretl-gentoo.el 473 RMD160 3b16bc41fe78a2e8b02a6d02624e74ae1f9c656e SHA1 c992256afbde18e06f5fc3c70ca7e0c7dafafc87 SHA256 7f5398d85016858044257a900e33d9441aa7a3981ac1d71feff79c26b03aa939
AUX gretl-1.6.5-cli.patch 1040 RMD160 acb538691db639c3afbfe5af1bfb910fe4aa82bc SHA1 9642fcec8ccd10c63f35abf7d6243cf28f8c8b28 SHA256 cd5a24d4227e772d0a544e3f059b12bef627189e1f52de4b9bcddc4dcc32be71
DIST gretl-1.7.1.tar.bz2 4748191 RMD160 fac615136468ac82e0e68b5caec340aae1a35f57 SHA1 427d4b7f95e7ce6fa5f3e6edc73f3a885048168a SHA256 3a9ac36536941a1ac958a154c27e2b4be825e711e52334bb94f4fa0325ce7fec
DIST gretl-1.7.2.tar.bz2 4810082 RMD160 693dbbc57d5445e4ccb097ca95c661a73d0da340 SHA1 7d9790fc44c12fe18d448e2d9ce9923b4a1edac2 SHA256 a5566db93acac0e27285a8ad92802c4daab293fb3b15f963da3324222350b683
+DIST gretl-1.7.4.tar.bz2 4863597 RMD160 7a39c4c8b2a7ff63743c3f74ebbf65bcc7909a7e SHA1 b2b19c5e71eb0db5cf632e839833bbc3db8bfbd1 SHA256 09de2f523fc733559806387b2cd400ccec331f55bc44f242fa631573a75531bf
EBUILD gretl-1.7.1.ebuild 2917 RMD160 3bb1766c6c6fdb35848699ca3d0f87ef7aa68fb6 SHA1 7fe9d5b6441df2261e754590ad751f5d411b4730 SHA256 890f00ca8ba83c7b5f6161c2334d14340bed3510c46edeacb938f7aed746b53e
EBUILD gretl-1.7.2.ebuild 2917 RMD160 2dc62ea5f76f98b1d1fa652ddafaebc05652edaa SHA1 4a4946deb45f55ba40ff730b07a222f7f73c87c0 SHA256 c3a1c553b143157b73a64e699f1e57a3996d977529329540fc49d4c29d3b4e89
-MISC ChangeLog 1615 RMD160 01c2103cbc93b081e3b1f0f54b0b5486879f9f89 SHA1 96aab71eed0a474bf9c884cdc977f3aa449d4483 SHA256 fd0c48846d6528fa9dd44d88fa76f539045cee1cc05ca029b2c7b4dbe16d8958
+EBUILD gretl-1.7.4.ebuild 2917 RMD160 2379a9f62bd6dd43e2dc3933df402fa194a0e1d2 SHA1 abb7ce742ccaacf880d512484b4e4cef57f6ba46 SHA256 0ec1e03b9ff86f80fda5fa2a42ece4bcfba3a614465545cd1878fb6ff99d5087
+MISC ChangeLog 1754 RMD160 d151f3d94828ca566d1bf2a077ec594c5b6b0a0f SHA1 6fd9a95e2b0bfbc87627d78d5ca67b555ff97ebc SHA256 256fc4287253ed0cbcab7fb9b340ab4eb7b669ed94566561ab6f80e48439d273
MISC metadata.xml 850 RMD160 6a5e9256df07857bd82298296e8b2d71141dda8d SHA1 5c5c62dedefe8c45574ae0dd3a34e53b3f2e208e SHA256 d303ec89d9ffdb1cc1f3b1c7028d9d2c8b56b03fe9c7981b6fd588938e0917cb
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.7 (GNU/Linux)
-
-iD8DBQFHw+Ck1ycZbhPLE2ARAuiEAKCj6AR5wVdyS1n+DrC4GUzKUhFOSwCgkQju
-Czobp85JJfWxxRELB3e61h8=
-=MSza
------END PGP SIGNATURE-----
diff --git a/sci-mathematics/gretl/gretl-1.7.4.ebuild b/sci-mathematics/gretl/gretl-1.7.4.ebuild
new file mode 100644
index 000000000000..c403fb07d9f9
--- /dev/null
+++ b/sci-mathematics/gretl/gretl-1.7.4.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/gretl-1.7.4.ebuild,v 1.1 2008/05/20 13:46:51 markusle Exp $
+
+USE_EINSTALL=true
+
+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 gmp gnome gtk nls png readline sourceview"
+
+RDEPEND="dev-libs/libxml2
+ >=dev-libs/glib-2
+ sci-visualization/gnuplot
+ virtual/lapack
+ >=sci-libs/fftw-3
+ dev-libs/mpfr
+ png? ( media-libs/libpng )
+ readline? ( sys-libs/readline )
+ gmp? ( dev-libs/gmp )
+ accessibility? ( app-accessibility/flite )
+ gtk? ( >=x11-libs/gtk+-2.0 )
+ gnome? ( >=gnome-base/libgnomeui-2.0
+ >=gnome-base/libgnomeprint-2.2
+ >=gnome-base/libgnomeprintui-2.2
+ >=gnome-base/gconf-2.0 )
+ sourceview? ( x11-libs/gtksourceview )
+ emacs? ( virtual/emacs )"
+
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+SITEFILE=50${PN}-gentoo.el
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ # makefile in cli not propagating flags
+ epatch "${FILESDIR}"/${PN}-1.6.5-cli.patch
+}
+
+src_compile() {
+
+ local myconf
+ if use gtk; then
+ if ! built_with_use sci-visualization/gnuplot gd; then
+ eerror "You need to build gnuplot with gd and png to use the gretl gtk GUI"
+ die "configuring with gnuplot failed"
+ fi
+ myconf="--enable-gui"
+ myconf="${myconf} $(use_with sourceview gtksourceview)"
+ myconf="${myconf} $(use_with gnome)"
+ else
+ myconf="--disable-gui --disable-gnome --disable-gtksourceview"
+ fi
+
+ econf \
+ --with-mpfr \
+ --without-libole2 \
+ --without-gtkextra \
+ $(use_enable nls) \
+ $(use_enable png png-comments) \
+ $(use_with readline) \
+ $(use_with gmp) \
+ $(use_with accessibility audio) \
+ ${myconf} \
+ LAPACK_LIBS="$(pkg-config --libs lapack)" \
+ || die "econf failed"
+
+ 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
+ else
+ einstall || "die einstall failed"
+ fi
+ if use gtk && ! use gnome; then
+ doicon gnome/gretl.png
+ make_desktop_entry gretlx11 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 NEWS README README.audio ChangeLog TODO EXTENDING \
+ || die "dodoc failed"
+}
+
+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
+}