Version bump
authorSebastien Fabbro <bicatali@gentoo.org>
Tue, 3 Jan 2012 02:44:19 +0000 (02:44 +0000)
committerSebastien Fabbro <bicatali@gentoo.org>
Tue, 3 Jan 2012 02:44:19 +0000 (02:44 +0000)
Package-Manager: portage-2.1.10.41/cvs/Linux x86_64

sci-mathematics/gretl/ChangeLog
sci-mathematics/gretl/Manifest
sci-mathematics/gretl/gretl-1.9.7.ebuild [new file with mode: 0644]

index 0e59181d4d3fa2908a3578e728e7e2548e7f8ed8..2f064d305e734564f9b015d2552b17544f36b8b0 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for sci-mathematics/gretl
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/ChangeLog,v 1.34 2011/12/17 06:25:21 bicatali Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/ChangeLog,v 1.35 2012/01/03 02:44:19 bicatali Exp $
+
+*gretl-1.9.7 (03 Jan 2012)
+
+  03 Jan 2012; Sébastien Fabbro <bicatali@gentoo.org> +gretl-1.9.7.ebuild:
+  Version bump
 
 *gretl-1.9.6-r1 (17 Dec 2011)
 
index f0c2bf68375dd03072cc33ab9d5611413d56a79a..ca79688eaa5cb760a3d33b8d9d5340bce164c246 100644 (file)
@@ -4,14 +4,16 @@ Hash: SHA1
 AUX 50gretl-gentoo.el 473 RMD160 3b16bc41fe78a2e8b02a6d02624e74ae1f9c656e SHA1 c992256afbde18e06f5fc3c70ca7e0c7dafafc87 SHA256 7f5398d85016858044257a900e33d9441aa7a3981ac1d71feff79c26b03aa939
 DIST gretl-1.9.5.tar.bz2 8843566 RMD160 9ca3fd0bdafa71d9aa8a8dd516018ebf42b1961c SHA1 18bd3fd06c54966b8f8378b0017905af25dcebd2 SHA256 cfc6bc9a7c78c3e6819b42c4e5b892e106203a622b1ae76552aed7cf418eb307
 DIST gretl-1.9.6.tar.bz2 9131807 RMD160 7e9f138371dcb2cd047ef36287cdfb73a41854c9 SHA1 847a30769737ea3b874e99a8f295fc5299c1817b SHA256 2ec972a8c1935b91d2b6334f9aee64f0fe2b2022496679a959efdc577b0dff71
+DIST gretl-1.9.7.tar.bz2 9179132 RMD160 56bef3f39ab1ab5b6b3334cb6ea9c31736db0afa SHA1 070a17ddbaf6f4bc6c1c68fcadc83850d19efc7b SHA256 5921fdf58c81c956212084e86f43120559d9d6634dc27be2501cc1b4721ea041
 EBUILD gretl-1.9.5.ebuild 2991 RMD160 15634799abcb8ccfd9a7b02bce71d11cff9b5844 SHA1 b124044f4181d32d317f663a2d1e57946b46eb7c SHA256 23b7f5d21d089fe00fa27742a34d719b1d104ca060c8f8ae154c3b4765c78801
 EBUILD gretl-1.9.6-r1.ebuild 2966 RMD160 eac2f461957b958831f63a70903022caacdf717e SHA1 c84ec662db67f6ee0b5fdfa4c55bf5bc811c529d SHA256 68c482e37ba1bc0b34c2fdc592b7be9dc91ba141946fb476b44ced3cf915abec
-MISC ChangeLog 6200 RMD160 bbd5841683956b2b643b4fd70f76cd19fc0f446d SHA1 7a48ab415b41058b0b9424b0e9dd19314a254d17 SHA256 282ee0d7a4b86618b6e5a75e729dcaf5913efa9d79d0588abea0adf5127260ad
+EBUILD gretl-1.9.7.ebuild 2963 RMD160 e7603220be70b4e11c9569ed33a05dd53eecfe7e SHA1 c3f114bc542ac1b8d2b5800cbe8e111c1036555a SHA256 b95a6aaebfe04cf7f4a7a5239c707a559ab6d7662df12b68e04632fd46574bb4
+MISC ChangeLog 6320 RMD160 c190e86fed64baf1b1cab8cb91a84954cdc373a8 SHA1 87fe335687151b58780e0d21a78f35cdf4ed1d91 SHA256 f2aa775b33974099e3f5e88924423d97491a0b653591204143748548d50a725d
 MISC metadata.xml 1083 RMD160 639362ab2ac0c7ce47d64463ee99e00214252008 SHA1 e687bee4c752e9d507ae5ef0d84852dcce3834d2 SHA256 b3c287f4d11616deac347457c019d926a7345d10f8043467d2bb3847e5770edd
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.18 (GNU/Linux)
 
-iEYEARECAAYFAk7sNdoACgkQ1ycZbhPLE2DTKwCdHA+st/8ZCahFzHSRMIBye4B7
-3gAAnirCWKtGKlW5jHCdLGDG58NlxLZt
-=X1e3
+iEYEARECAAYFAk8Ca4wACgkQ1ycZbhPLE2A90wCdFcC3AvHL0S3VKTAQfxX8VeDa
+tkcAniKnIQ+YO0VLiraTM4TvtkHaXdm+
+=w61w
 -----END PGP SIGNATURE-----
diff --git a/sci-mathematics/gretl/gretl-1.9.7.ebuild b/sci-mathematics/gretl/gretl-1.9.7.ebuild
new file mode 100644 (file)
index 0000000..2bbf1c5
--- /dev/null
@@ -0,0 +1,118 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/gretl-1.9.7.ebuild,v 1.1 2012/01/03 02:44:19 bicatali Exp $
+
+USE_EINSTALL=true
+EAPI=4
+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 gtk3 nls odbc openmp readline sse2 R static-libs"
+
+RDEPEND="dev-libs/libxml2:2
+       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
+                       x11-libs/gtksourceview:2.0 )
+       gtk3? ( sci-visualization/gnuplot[gd]
+                       media-libs/gd[png]
+                       x11-libs/gtk+:3
+                       x11-libs/gtksourceview:3.0 )
+       gnome? ( sci-visualization/gnuplot[gd]
+                        media-libs/gd[png]
+                        gnome-base/libgnomeui
+                        gnome-base/gconf:2 )
+       R? ( dev-lang/R )
+       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() {
+       econf \
+               --disable-rpath \
+               --enable-shared \
+               --with-mpfr \
+               $(use_enable gtk gui) \
+               $(use_enable gtk3) \
+               $(use_enable nls) \
+               $(use_enable openmp) \
+               $(use_enable sse2) \
+               $(use_enable static-libs static) \
+               $(use_with accessibility audio) \
+               $(use_with gnome) \
+               $(use_with odbc) \
+               $(use_with readline) \
+               $(use_with R libR) \
+               ${myconf} \
+               LAPACK_LIBS="$(pkg-config --libs lapack)"
+}
+
+src_compile() {
+       emake
+       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="${ED}"/usr svprefix="${ED}usr"
+       else
+               einstall svprefix="${ED}usr"
+       fi
+       if use gtk || use gtk3 && ! 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
+}