From 8f6bcc954eb6ec722c34de47df7935789b916e05 Mon Sep 17 00:00:00 2001 From: Sebastien Fabbro Date: Thu, 28 Jul 2011 00:10:12 +0000 Subject: Version bump. Switched to EAPI4. Fixed bug #248372 and bug #314373 Package-Manager: portage-2.1.10.7/cvs/Linux x86_64 --- sci-visualization/gri/ChangeLog | 7 +++- sci-visualization/gri/Manifest | 10 +++-- sci-visualization/gri/gri-2.12.23.ebuild | 72 ++++++++++++++++++++++++++++++++ 3 files changed, 84 insertions(+), 5 deletions(-) create mode 100644 sci-visualization/gri/gri-2.12.23.ebuild (limited to 'sci-visualization') diff --git a/sci-visualization/gri/ChangeLog b/sci-visualization/gri/ChangeLog index 21c7c058ddc0..4189d9dab497 100644 --- a/sci-visualization/gri/ChangeLog +++ b/sci-visualization/gri/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-visualization/gri # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gri/ChangeLog,v 1.6 2011/06/15 05:55:30 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gri/ChangeLog,v 1.7 2011/07/28 00:10:12 bicatali Exp $ + +*gri-2.12.23 (28 Jul 2011) + + 28 Jul 2011; Sébastien Fabbro +gri-2.12.23.ebuild: + Version bump. Switched to EAPI4. Fixed bug #248372 and bug #314373 15 Jun 2011; Justin Lecher gri-2.12.19.ebuild: Depend on media-gfx/imagemagick[png], #371583 diff --git a/sci-visualization/gri/Manifest b/sci-visualization/gri/Manifest index 1c5287f54339..79b2e2379d19 100644 --- a/sci-visualization/gri/Manifest +++ b/sci-visualization/gri/Manifest @@ -4,13 +4,15 @@ Hash: SHA1 AUX 50gri-gentoo.el 147 RMD160 2e69a5f9034ef82901a6c004a3f9e167e1e426e4 SHA1 530c8bf902635e5baa3215084b9fa454dcb1c31e SHA256 d3f04f7eb861ed663013e74d99981ea7c08ebf199de67c0ddd255eabc10ea09d AUX gri-2.12.18-postscript.patch 3997 RMD160 4b390be9c915573812ba2e3d2289b2d9037e85ad SHA1 c2993812fc3fbbbbb21bd0516c43e094d6a78090 SHA256 2d3c2d44f39507270581744de930fb92bdcab6c5e3d846653e08ccfec07375b9 DIST gri-2.12.19.tar.gz 1658449 RMD160 6243770193d75224a6034688a8d7897ecb63c2bb SHA1 d7d81354b1d06917eeb8b79167832fd223102d55 SHA256 9c1b315f309268a64c538c691644ac83665c88a65c408d427afe8ed22592b6e6 +DIST gri-2.12.23.tar.gz 1668587 RMD160 9cd7861c88f7db0ec9a23e9cc2a2971a9d763842 SHA1 75856cc100040da28ba7d667e12301293e7dd5a5 SHA256 a24e703f30250ed705c0a242aa59a24748259ea7355fca52152f367f45bfd2e7 EBUILD gri-2.12.19.ebuild 2008 RMD160 efbbb64a9b45ca68711b38253313927690c0bc1d SHA1 42fdba434c2793cd8bf75003305e9766ee69ac47 SHA256 de51045ec596948db848f1300a90fec05c34478f713528e95a00a97b5db1f444 -MISC ChangeLog 6730 RMD160 0b29684840c492c195d2f7da63160ba2c8563eda SHA1 44125479e6c4ddae70d79cdf4340377c3aea4ea2 SHA256 0c7c3e27d7bdff9f07eb237485ecd9d7995ea591f4ac39d1485e3da42d0da98e +EBUILD gri-2.12.23.ebuild 1784 RMD160 79d8374c5a0b8757045b480abe231cf4676d761b SHA1 2c0364bcb3fb21381a9130f64e7e965060bf06f6 SHA256 fba91417420d0a25539b37c41746c1b9e0af2f1b1ad2b03a7c1d93b42c85fd24 +MISC ChangeLog 6908 RMD160 671b6d209b4c8b6eb5c3a412499b25a96803bbef SHA1 2d5c849680ca7a8c798157b0e9e03ea40ab648d1 SHA256 e725690387425c7ff517d5d9da2dce4d3bf33b59581145a8dc443704b564494a MISC metadata.xml 156 RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 SHA1 da2b240a255820145b7c83a5c48e45b96b7e9ee6 SHA256 5d22100902db7507a5b5493dd4a66cdb08025faf80a2c0b75e6392315c47f900 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iEYEARECAAYFAk34SVgACgkQgAnW8HDreRay4ACgiSZ2mA12MWHe9KENBvqesEuE -9z8AoJA7VKM0kfCnwz+7cjFPWyVOaqEq -=9fUA +iEYEARECAAYFAk4wqPAACgkQ1ycZbhPLE2DkEACff6G+6l8Q2ye2cFCaYbYCLjs8 +448AoIH6g9Jh9D3w4pHTzKxw4W5kn6kr +=uhmZ -----END PGP SIGNATURE----- diff --git a/sci-visualization/gri/gri-2.12.23.ebuild b/sci-visualization/gri/gri-2.12.23.ebuild new file mode 100644 index 000000000000..f6ab0e676b67 --- /dev/null +++ b/sci-visualization/gri/gri-2.12.23.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gri/gri-2.12.23.ebuild,v 1.1 2011/07/28 00:10:12 bicatali Exp $ + +EAPI=4 + +inherit eutils elisp-common + +DESCRIPTION="Language for scientific graphics programming" +HOMEPAGE="http://gri.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc emacs examples" + +DEPEND="sci-libs/netcdf + virtual/latex-base + || ( media-gfx/imagemagick[png] media-gfx/graphicsmagick[png] ) + app-text/ghostscript-gpl + emacs? ( virtual/emacs )" +RDEPEND="${DEPEND}" + +SITEFILE="50gri-gentoo.el" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-2.12.18-postscript.patch +} + +src_compile() { + VARTEXFONTS="${T}/fonts" emake + use emacs && elisp-compile src/*.el +} + +src_install() { + default + # license text not necessary + rm "${ED}"/usr/share/gri/doc/license.txt + + # install target installs it always and in the wrong location + # remove it here and call elisp-install in case of USE=emacs below + rm -rf "${ED}"/usr/share/emacs + + if ! use doc; then + sed -i -e "s/Manual at.*//" "${ED}"/usr/share/gri/startup.msg + rm "${ED}"/usr/share/gri/doc/{cmd,}refcard.ps + rm -rf "${D}"/usr/share/gri/doc/html + fi + if ! use examples; then + sed -i -e "s/Examples at.*//" "${ED}"/usr/share/gri/startup.msg + rm -rf "${ED}"/usr/share/gri/doc/examples + fi + + #move docs to the proper place + mv "${ED}"/usr/share/gri/doc/* "${ED}"/usr/share/doc/${PF} + rmdir "${ED}"/usr/share/gri/doc + + if use emacs; then + cd src + elisp-install ${PN} *.{el,elc} + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + fi +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} -- cgit v1.2.3-65-gdbad