diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2007-09-13 22:28:03 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2007-09-13 22:28:03 +0000 |
commit | d27d8aa5b91468b8326b405f97d740dfd682acbd (patch) | |
tree | 7bf477c6f6f0311f8b5d7cca1082b78519bbfe10 /sci-mathematics | |
parent | Depend on openssl >=0.9.8, bug #192371 (diff) | |
download | historical-d27d8aa5b91468b8326b405f97d740dfd682acbd.tar.gz historical-d27d8aa5b91468b8326b405f97d740dfd682acbd.tar.bz2 historical-d27d8aa5b91468b8326b405f97d740dfd682acbd.zip |
updated sbcl as default lisp and some cleanup
Package-Manager: portage-2.1.2.12
Diffstat (limited to 'sci-mathematics')
-rw-r--r-- | sci-mathematics/maxima/ChangeLog | 5 | ||||
-rw-r--r-- | sci-mathematics/maxima/Manifest | 22 | ||||
-rw-r--r-- | sci-mathematics/maxima/maxima-5.13.0.ebuild | 51 |
3 files changed, 44 insertions, 34 deletions
diff --git a/sci-mathematics/maxima/ChangeLog b/sci-mathematics/maxima/ChangeLog index 869bfb9baf34..a16da34f8e50 100644 --- a/sci-mathematics/maxima/ChangeLog +++ b/sci-mathematics/maxima/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sci-mathematics/maxima # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/maxima/ChangeLog,v 1.30 2007/09/13 14:08:30 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/maxima/ChangeLog,v 1.31 2007/09/13 22:28:03 bicatali Exp $ + + 13 Sep 2007; SĂ©bastien Fabbro <bicatali@gentoo.org> maxima-5.13.0.ebuild: + updated sbcl as default lisp and some cleanup *maxima-5.13.0 (13 Sep 2007) diff --git a/sci-mathematics/maxima/Manifest b/sci-mathematics/maxima/Manifest index 6f98ea4ea40e..5e72c7c96785 100644 --- a/sci-mathematics/maxima/Manifest +++ b/sci-mathematics/maxima/Manifest @@ -28,18 +28,18 @@ EBUILD maxima-5.11.0-r2.ebuild 5224 RMD160 5c818c91d34191f46d0bf0132bff2caacf480 MD5 0b8dce2d4c1e5b477b07b0d439e09b04 maxima-5.11.0-r2.ebuild 5224 RMD160 5c818c91d34191f46d0bf0132bff2caacf480f58 maxima-5.11.0-r2.ebuild 5224 SHA256 1013bdc9df10b895dbed820013e18f6d52636f39027224a7e17239fa277a41e5 maxima-5.11.0-r2.ebuild 5224 -EBUILD maxima-5.13.0.ebuild 4922 RMD160 25f23a7d4974c316220a0a0eea4c615bd07f353c SHA1 5648fdc9751dfd96a17a08cbc4eb87578306922d SHA256 70676b2383c41b274c33d6fb18d6faebbd1f21e7daa3127d0da691af688680c7 -MD5 5973f6b9bf5f14209084650cdd85dfe0 maxima-5.13.0.ebuild 4922 -RMD160 25f23a7d4974c316220a0a0eea4c615bd07f353c maxima-5.13.0.ebuild 4922 -SHA256 70676b2383c41b274c33d6fb18d6faebbd1f21e7daa3127d0da691af688680c7 maxima-5.13.0.ebuild 4922 +EBUILD maxima-5.13.0.ebuild 5168 RMD160 60db9dc2b84734ec18b3152ebf1c71e5eb6a99f6 SHA1 2df653694c5da795dbab86c118df3fe5b1663204 SHA256 dc67825f65a33431d4d66845d0845a9b64f72fdaf3519fb6af0878ee0e679f57 +MD5 b5731b629f3772875c1c2bee5ad7cceb maxima-5.13.0.ebuild 5168 +RMD160 60db9dc2b84734ec18b3152ebf1c71e5eb6a99f6 maxima-5.13.0.ebuild 5168 +SHA256 dc67825f65a33431d4d66845d0845a9b64f72fdaf3519fb6af0878ee0e679f57 maxima-5.13.0.ebuild 5168 EBUILD maxima-5.9.1.ebuild 2532 RMD160 a4145d603c61df84ece22b2a06631f487904c514 SHA1 1320a275640b088b452b78542dc472f545f83df2 SHA256 6bbb7dc68d8bc64954ee7e621a4c3afc26a8b777c6cea8eb7e50210fa1083bcc MD5 a5bd93bd68dec962956ea5ed64b5c276 maxima-5.9.1.ebuild 2532 RMD160 a4145d603c61df84ece22b2a06631f487904c514 maxima-5.9.1.ebuild 2532 SHA256 6bbb7dc68d8bc64954ee7e621a4c3afc26a8b777c6cea8eb7e50210fa1083bcc maxima-5.9.1.ebuild 2532 -MISC ChangeLog 9542 RMD160 a92d11bcab9e3a180d938b445ac5f55b35cec93b SHA1 e8849d5ace7fde233e4f49d6a1d4bc2575d93088 SHA256 98d0b88b34da2af2f1b3338b0f108f4a572b869d79ce4ba47ca12777dfbf4f87 -MD5 7a489f64d536031f519dbbc63ea3f016 ChangeLog 9542 -RMD160 a92d11bcab9e3a180d938b445ac5f55b35cec93b ChangeLog 9542 -SHA256 98d0b88b34da2af2f1b3338b0f108f4a572b869d79ce4ba47ca12777dfbf4f87 ChangeLog 9542 +MISC ChangeLog 9668 RMD160 221cd3609dbc670384669512ae9722e0cac4b4b8 SHA1 fb58edb1b139aa9a4e63f99d24d0cb92e8f25034 SHA256 336b6e0101542893a6aa44d35cfee8a12fedb380f7011c03343cd0bdc7b65419 +MD5 3be1452151c478930dc19e23e592f949 ChangeLog 9668 +RMD160 221cd3609dbc670384669512ae9722e0cac4b4b8 ChangeLog 9668 +SHA256 336b6e0101542893a6aa44d35cfee8a12fedb380f7011c03343cd0bdc7b65419 ChangeLog 9668 MISC metadata.xml 737 RMD160 6f833e02ea5b87a66064c32e7c35889c63c96649 SHA1 bff378e387662ce5e4c4168c74ee7ff1493c41a4 SHA256 9deb0b30538b6d35c0877384b97620eda2dde0bf3b4c702ccdadb007e868daef MD5 747fd88897ef9ae5002fa891864f42aa metadata.xml 737 RMD160 6f833e02ea5b87a66064c32e7c35889c63c96649 metadata.xml 737 @@ -56,7 +56,7 @@ SHA256 c9f64acc636ed728a8c03269f4e58f16cb6b335b25c49fc4f7e308d06629d687 files/di -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) -iD8DBQFG6URk1ycZbhPLE2ARArkUAJ9Sy0eKVsSIaUpyZAugC0XioWkoXwCfY3hG -SAjYXGu+OFmS/Xua9mq5cvg= -=E2Iv +iD8DBQFG6bl51ycZbhPLE2ARAmAGAJ9Bv9CidAI1K7OEnl+VtyvfdO4ZqwCdFKum +0hYnyPF/3PKt+lrS7np3c3k= +=wRpW -----END PGP SIGNATURE----- diff --git a/sci-mathematics/maxima/maxima-5.13.0.ebuild b/sci-mathematics/maxima/maxima-5.13.0.ebuild index d5db4891753e..d8d77292c0f1 100644 --- a/sci-mathematics/maxima/maxima-5.13.0.ebuild +++ b/sci-mathematics/maxima/maxima-5.13.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/maxima/maxima-5.13.0.ebuild,v 1.1 2007/09/13 14:08:30 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/maxima/maxima-5.13.0.ebuild,v 1.2 2007/09/13 22:28:03 bicatali Exp $ inherit eutils elisp-common autotools @@ -21,23 +21,20 @@ RDEPEND=">=sci-visualization/gnuplot-4.0 tetex? ( || ( app-emacs/auctex app-xemacs/auctex ) ) ) clisp? ( >=dev-lisp/clisp-2.33.2-r1 ) gcl? ( >=dev-lisp/gcl-2.6.7 ) - sbcl? ( >=dev-lisp/sbcl-0.9.4 app-misc/rlwrap ) + sbcl? ( >=dev-lisp/sbcl-1.0 app-misc/rlwrap ) cmucl? ( >=dev-lisp/cmucl-19a app-misc/rlwrap ) - !clisp? ( !sbcl? ( !cmucl? ( >=dev-lisp/gcl-2.6.7 ) ) ) + !clisp? ( !gcl? ( !cmucl? ( >=dev-lisp/gcl-2.6.7 ) ) ) tk? ( >=dev-lang/tk-8.3.3 )" DEPEND="${RDEPEND} >=sys-apps/texinfo-4.3" -# the make install already strips maxima exec. -RESTRICT="strip" LANGS="es pt pt_BR" - for lang in ${LANGS}; do IUSE="${IUSE} linguas_${lang}" done pkg_setup() { -# Don't install in the main tree, as this may cause file collisions + # Don't install in the main tree, as this may cause file collisions if use tetex; then local TEXMFPATH="$(kpsewhich -var-value=TEXMFSITE)" local TEXMFCONFIGFILE="$(kpsewhich texmf.cnf)" @@ -53,8 +50,7 @@ pkg_setup() { # the output to a generic format, so IFS has to be redefined. local IFS="${IFS}:" - for strippedpath in ${TEXMFPATH} - do + for strippedpath in ${TEXMFPATH}; do if [ -d ${strippedpath} ]; then MAXIMA_TEXMFDIR="${strippedpath}" break @@ -79,37 +75,46 @@ pkg_setup() { fi # enable gcl if no other lisp selected - if use gcl || (! use cmucl && ! use clisp && ! use sbcl ); then + if use sbcl || (! use cmucl && ! use clisp && ! use gcl ); then + ENABLE_SBCL="--enable-sbcl" + fi + + if use gcl; then + einfo "Using gcl: it might break, recompile with another lisp, or use default (sbcl)." if ! built_with_use dev-lisp/gcl ansi; then eerror "GCL must be installed with ANSI." eerror "Try USE=\"ansi\" emerge gcl" die "This package needs gcl with USE=ansi" fi - enablegcl="--enable-gcl --enable-gcl-alt-link" fi } src_unpack() { unpack ${A} # use xdg-open to view ps, pdf - epatch "${FILESDIR}/${P}-xdg-utils.patch" + epatch "${FILESDIR}"/${P}-xdg-utils.patch } src_compile() { eautoreconf # remove rmaxima if neither cmucl nor sbcl - if ! use sbcl && ! use cmucl ; then - sed -i -e '/^@WIN32_FALSE@bin_SCRIPTS/s/rmaxima//' src/Makefile.in + if !use sbcl && ! use cmucl && [[ -z ${ENABLE_SBCL} ]]; then + sed -i \ + -e '/^@WIN32_FALSE@bin_SCRIPTS/s/rmaxima//' \ + src/Makefile.in || die "sed for rmaxima failed" fi + local myconf=${ENABLE_SBCL} + # remove xmaxima if no tk - local myconf="${enablegcl}" if use tk; then myconf="${myconf} --with-wish=wish" else myconf="${myconf} --with-wish=none" - sed -i -e '/^SUBDIRS/s/xmaxima//' interfaces/Makefile.in + sed -i \ + -e '/^SUBDIRS/s/xmaxima//' \ + interfaces/Makefile.in || die "sed for tk failed" fi # enable existing translated doc @@ -125,7 +130,7 @@ src_compile() { econf \ $(use_enable cmucl) \ $(use_enable clisp) \ - $(use_enable sbcl) \ + $(use_enable gcl) \ ${myconf} \ || die "econf failed" emake || die "emake failed" @@ -138,17 +143,19 @@ src_install() { /usr/share/${PN}/${PV}/xmaxima/maxima-new.png use emacs && \ - elisp-site-file-install "${FILESDIR}/50maxima-gentoo.el" + elisp-site-file-install "${FILESDIR}"/50maxima-gentoo.el if use tetex; then - insinto "${MAXIMA_TEXMFDIR}/tex/latex/emaxima" + insinto "${MAXIMA_TEXMFDIR}"/tex/latex/emaxima doins interfaces/emacs/emaxima/emaxima.sty fi - insinto "/usr/share/${PN}/${PV}/doc" - doins AUTHORS ChangeLog COPYING NEWS README* + # do not use dodoc because interfaces can't read compressed files + # read COPYING before attempt to remove it + insinto /usr/share/${PN}/${PV}/doc + doins AUTHORS COPYING ChangeLog-${PV} README README.lisps dodir /usr/share/doc - dosym "/usr/share/${PN}/${PV}/doc" "/usr/share/doc/${PF}" + dosym /usr/share/${PN}/${PV}/doc /usr/share/doc/${PF} } pkg_preinst() { |