diff options
author | Andrey Grozin <grozin@gentoo.org> | 2015-12-23 21:19:40 +0600 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2015-12-23 21:21:02 +0600 |
commit | 924f515d1cf351850428af99b39513c9bce6b570 (patch) | |
tree | 34157e31fff5c30a5bcf49d1f8a635e998515b22 /sci-mathematics/maxima | |
parent | dev-db/mariadb: Drop old revision (diff) | |
download | gentoo-924f515d1cf351850428af99b39513c9bce6b570.tar.gz gentoo-924f515d1cf351850428af99b39513c9bce6b570.tar.bz2 gentoo-924f515d1cf351850428af99b39513c9bce6b570.zip |
sci-mathematics/maxima: remove 5.37.3-r1
Package-Manager: portage-2.2.26
Diffstat (limited to 'sci-mathematics/maxima')
-rw-r--r-- | sci-mathematics/maxima/files/wish-1.patch | 28 | ||||
-rw-r--r-- | sci-mathematics/maxima/maxima-5.37.3-r1.ebuild | 184 |
2 files changed, 0 insertions, 212 deletions
diff --git a/sci-mathematics/maxima/files/wish-1.patch b/sci-mathematics/maxima/files/wish-1.patch deleted file mode 100644 index 6e002d99267d..000000000000 --- a/sci-mathematics/maxima/files/wish-1.patch +++ /dev/null @@ -1,28 +0,0 @@ -diff -r -U1 maxima-5.35.1.orig/configure.ac maxima-5.35.1/configure.ac ---- maxima-5.35.1.orig/configure.ac 2014-12-13 06:44:51.000000000 +0600 -+++ maxima-5.35.1/configure.ac 2014-12-15 16:30:07.574773386 +0600 -@@ -989,6 +989,11 @@ - [ --with-wish=<prog> Use <prog> for Tk wish shell (default wish)], -- [WISH="${withval}"], -- [WISH="wish"]) -+ [], -+ [with_wish="wish"]) -+case "${with_wish}" in -+ no) WISH="none" ;; -+ yes) WISH="wish" ;; -+ *) WISH="${with_wish}" ;; -+esac - AC_SUBST(WISH) -- -+AM_CONDITIONAL(WANT_TK, test x"${with_wish}" != xno) - -diff -r -U1 maxima-5.35.1.orig/interfaces/Makefile.am maxima-5.35.1/interfaces/Makefile.am ---- maxima-5.35.1.orig/interfaces/Makefile.am 2013-10-07 10:37:11.000000000 +0700 -+++ maxima-5.35.1/interfaces/Makefile.am 2014-12-15 16:31:18.056770422 +0600 -@@ -1,2 +1,6 @@ -+if WANT_TK - SUBDIRS = emacs xmaxima -+else -+SUBDIRS = emacs -+endif - EXTRA_DIST = bin/xmaxima.iss diff --git a/sci-mathematics/maxima/maxima-5.37.3-r1.ebuild b/sci-mathematics/maxima/maxima-5.37.3-r1.ebuild deleted file mode 100644 index e71ebf02c7e3..000000000000 --- a/sci-mathematics/maxima/maxima-5.37.3-r1.ebuild +++ /dev/null @@ -1,184 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit autotools elisp-common eutils - -DESCRIPTION="Free computer algebra environment based on Macsyma" -HOMEPAGE="http://maxima.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" - -# Supported lisps -LISPS=( sbcl cmucl gcl ecls clozurecl clisp ) -# <lisp> supports readline: . - no, y - yes -SUPP_RL=( . . y . . y ) -# . - just --enable-<lisp>, <flag> - --enable-<flag> -CONF_FLAG=( . . . ecl ccl . ) -# patch file version; . - no patch -PATCH_V=( 1 1 . 2 2 1 ) - -IUSE="latex emacs tk nls unicode xemacs X ${LISPS[*]}" - -# Languages -LANGS="es pt pt_BR" -for lang in ${LANGS}; do - IUSE="${IUSE} linguas_${lang}" -done - -RDEPEND="X? ( x11-misc/xdg-utils - sci-visualization/gnuplot[gd] - tk? ( dev-lang/tk:0 ) ) - latex? ( virtual/latex-base ) - emacs? ( virtual/emacs - latex? ( app-emacs/auctex ) ) - xemacs? ( app-editors/xemacs - latex? ( app-emacs/auctex ) )" - -PDEPEND="emacs? ( app-emacs/imaxima )" - -# generating lisp dependencies -depends() { - local LISP DEP - LISP=${LISPS[$1]} - DEP="dev-lisp/${LISP}:=" - if [ "${SUPP_RL[$1]}" = "." ]; then - DEP="${DEP} app-misc/rlwrap" - fi - echo ${DEP} -} - -n=${#LISPS[*]} -for ((n--; n >= 0; n--)); do - LISP=${LISPS[${n}]} - RDEPEND="${RDEPEND} ${LISP}? ( $(depends ${n}) )" - DEF_DEP="${DEF_DEP} !${LISP}? ( " -done - -# default lisp -DEF_LISP=0 # sbcl -ARM_LISP=2 # gcl -DEF_DEP="${DEF_DEP} arm? ( `depends ${ARM_LISP}` ) !arm? ( `depends ${DEF_LISP}` )" - -n=${#LISPS[*]} -for ((n--; n >= 0; n--)); do - DEF_DEP="${DEF_DEP} )" -done - -unset LISP - -RDEPEND="${RDEPEND} - ${DEF_DEP}" - -DEPEND="${RDEPEND} - sys-apps/texinfo" - -TEXMF="${EPREFIX}"/usr/share/texmf-site - -pkg_setup() { - local n=${#LISPS[*]} - - for ((n--; n >= 0; n--)); do - use ${LISPS[${n}]} && NLISPS="${NLISPS} ${n}" - done - - if [ -z "${NLISPS}" ]; then - ewarn "No lisp specified in USE flags, choosing ${LISPS[${DEF_LISP}]} as default" - NLISPS=${DEF_LISP} - fi -} - -src_prepare() { - local n PATCHES v - PATCHES=( imaxima-0 rmaxima-0 wish-1 xdg-utils-0 db-0 ) - - n=${#PATCHES[*]} - for ((n--; n >= 0; n--)); do - epatch "${FILESDIR}"/${PATCHES[${n}]}.patch - done - - n=${#LISPS[*]} - for ((n--; n >= 0; n--)); do - v=${PATCH_V[${n}]} - if [ "${v}" != "." ]; then - epatch "${FILESDIR}"/${LISPS[${n}]}-${v}.patch - fi - done - - # bug #343331 - rm share/Makefile.in || die - rm src/Makefile.in || die - touch src/*.mk - touch src/Makefile.am - eautoreconf -} - -src_configure() { - local CONFS CONF n lang - for n in ${NLISPS}; do - CONF=${CONF_FLAG[${n}]} - if [ ${CONF} = . ]; then - CONF=${LISPS[${n}]} - fi - CONFS="${CONFS} --enable-${CONF}" - done - - # enable existing translated doc - if use nls; then - for lang in ${LANGS}; do - if use "linguas_${lang}"; then - CONFS="${CONFS} --enable-lang-${lang}" - use unicode && CONFS="${CONFS} --enable-lang-${lang}-utf8" - fi - done - fi - - econf ${CONFS} $(use_with tk wish) --with-lispdir="${EPREFIX}/${SITELISP}"/${PN} -} - -src_install() { - docompress -x /usr/share/info - emake DESTDIR="${D}" emacsdir="${EPREFIX}/${SITELISP}/${PN}" install - - use tk && make_desktop_entry xmaxima xmaxima \ - /usr/share/${PN}/${PV}/xmaxima/maxima-new.png \ - "Science;Math;Education" - - if use latex; then - insinto ${TEXMF}/tex/latex/emaxima - doins interfaces/emacs/emaxima/emaxima.sty - fi - - # do not use dodoc because interfaces can't read compressed files - # read COPYING before attempt to remove it from dodoc - insinto /usr/share/${PN}/${PV}/doc - doins AUTHORS COPYING README README.lisps || die - dodir /usr/share/doc - dosym ../${PN}/${PV}/doc /usr/share/doc/${PF} || die - - if use emacs; then - elisp-site-file-install "${FILESDIR}"/50maxima-gentoo-0.el || die - fi - - # if we use ecls, build an ecls library for maxima - if use ecls; then - ECLLIB=`ecl -eval "(princ (SI:GET-LIBRARY-PATHNAME))" -eval "(quit)"` - insinto "${ECLLIB#${EPREFIX}}" - doins src/binary-ecl/maxima.fas - fi -} - -pkg_postinst() { - use emacs && elisp-site-regen - use latex && mktexlsr -} - -pkg_postrm() { - use emacs && elisp-site-regen - use latex && mktexlsr -} |