1 |
commit: 924f515d1cf351850428af99b39513c9bce6b570 |
2 |
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Dec 23 15:19:40 2015 +0000 |
4 |
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 23 15:21:02 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=924f515d |
7 |
|
8 |
sci-mathematics/maxima: remove 5.37.3-r1 |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
sci-mathematics/maxima/files/wish-1.patch | 28 ---- |
13 |
sci-mathematics/maxima/maxima-5.37.3-r1.ebuild | 184 ------------------------- |
14 |
2 files changed, 212 deletions(-) |
15 |
|
16 |
diff --git a/sci-mathematics/maxima/files/wish-1.patch b/sci-mathematics/maxima/files/wish-1.patch |
17 |
deleted file mode 100644 |
18 |
index 6e002d9..0000000 |
19 |
--- a/sci-mathematics/maxima/files/wish-1.patch |
20 |
+++ /dev/null |
21 |
@@ -1,28 +0,0 @@ |
22 |
-diff -r -U1 maxima-5.35.1.orig/configure.ac maxima-5.35.1/configure.ac |
23 |
---- maxima-5.35.1.orig/configure.ac 2014-12-13 06:44:51.000000000 +0600 |
24 |
-+++ maxima-5.35.1/configure.ac 2014-12-15 16:30:07.574773386 +0600 |
25 |
-@@ -989,6 +989,11 @@ |
26 |
- [ --with-wish=<prog> Use <prog> for Tk wish shell (default wish)], |
27 |
-- [WISH="${withval}"], |
28 |
-- [WISH="wish"]) |
29 |
-+ [], |
30 |
-+ [with_wish="wish"]) |
31 |
-+case "${with_wish}" in |
32 |
-+ no) WISH="none" ;; |
33 |
-+ yes) WISH="wish" ;; |
34 |
-+ *) WISH="${with_wish}" ;; |
35 |
-+esac |
36 |
- AC_SUBST(WISH) |
37 |
-- |
38 |
-+AM_CONDITIONAL(WANT_TK, test x"${with_wish}" != xno) |
39 |
- |
40 |
-diff -r -U1 maxima-5.35.1.orig/interfaces/Makefile.am maxima-5.35.1/interfaces/Makefile.am |
41 |
---- maxima-5.35.1.orig/interfaces/Makefile.am 2013-10-07 10:37:11.000000000 +0700 |
42 |
-+++ maxima-5.35.1/interfaces/Makefile.am 2014-12-15 16:31:18.056770422 +0600 |
43 |
-@@ -1,2 +1,6 @@ |
44 |
-+if WANT_TK |
45 |
- SUBDIRS = emacs xmaxima |
46 |
-+else |
47 |
-+SUBDIRS = emacs |
48 |
-+endif |
49 |
- EXTRA_DIST = bin/xmaxima.iss |
50 |
|
51 |
diff --git a/sci-mathematics/maxima/maxima-5.37.3-r1.ebuild b/sci-mathematics/maxima/maxima-5.37.3-r1.ebuild |
52 |
deleted file mode 100644 |
53 |
index e71ebf0..0000000 |
54 |
--- a/sci-mathematics/maxima/maxima-5.37.3-r1.ebuild |
55 |
+++ /dev/null |
56 |
@@ -1,184 +0,0 @@ |
57 |
-# Copyright 1999-2015 Gentoo Foundation |
58 |
-# Distributed under the terms of the GNU General Public License v2 |
59 |
-# $Id$ |
60 |
- |
61 |
-EAPI=5 |
62 |
- |
63 |
-inherit autotools elisp-common eutils |
64 |
- |
65 |
-DESCRIPTION="Free computer algebra environment based on Macsyma" |
66 |
-HOMEPAGE="http://maxima.sourceforge.net/" |
67 |
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
68 |
- |
69 |
-LICENSE="GPL-2" |
70 |
-SLOT="0" |
71 |
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" |
72 |
- |
73 |
-# Supported lisps |
74 |
-LISPS=( sbcl cmucl gcl ecls clozurecl clisp ) |
75 |
-# <lisp> supports readline: . - no, y - yes |
76 |
-SUPP_RL=( . . y . . y ) |
77 |
-# . - just --enable-<lisp>, <flag> - --enable-<flag> |
78 |
-CONF_FLAG=( . . . ecl ccl . ) |
79 |
-# patch file version; . - no patch |
80 |
-PATCH_V=( 1 1 . 2 2 1 ) |
81 |
- |
82 |
-IUSE="latex emacs tk nls unicode xemacs X ${LISPS[*]}" |
83 |
- |
84 |
-# Languages |
85 |
-LANGS="es pt pt_BR" |
86 |
-for lang in ${LANGS}; do |
87 |
- IUSE="${IUSE} linguas_${lang}" |
88 |
-done |
89 |
- |
90 |
-RDEPEND="X? ( x11-misc/xdg-utils |
91 |
- sci-visualization/gnuplot[gd] |
92 |
- tk? ( dev-lang/tk:0 ) ) |
93 |
- latex? ( virtual/latex-base ) |
94 |
- emacs? ( virtual/emacs |
95 |
- latex? ( app-emacs/auctex ) ) |
96 |
- xemacs? ( app-editors/xemacs |
97 |
- latex? ( app-emacs/auctex ) )" |
98 |
- |
99 |
-PDEPEND="emacs? ( app-emacs/imaxima )" |
100 |
- |
101 |
-# generating lisp dependencies |
102 |
-depends() { |
103 |
- local LISP DEP |
104 |
- LISP=${LISPS[$1]} |
105 |
- DEP="dev-lisp/${LISP}:=" |
106 |
- if [ "${SUPP_RL[$1]}" = "." ]; then |
107 |
- DEP="${DEP} app-misc/rlwrap" |
108 |
- fi |
109 |
- echo ${DEP} |
110 |
-} |
111 |
- |
112 |
-n=${#LISPS[*]} |
113 |
-for ((n--; n >= 0; n--)); do |
114 |
- LISP=${LISPS[${n}]} |
115 |
- RDEPEND="${RDEPEND} ${LISP}? ( $(depends ${n}) )" |
116 |
- DEF_DEP="${DEF_DEP} !${LISP}? ( " |
117 |
-done |
118 |
- |
119 |
-# default lisp |
120 |
-DEF_LISP=0 # sbcl |
121 |
-ARM_LISP=2 # gcl |
122 |
-DEF_DEP="${DEF_DEP} arm? ( `depends ${ARM_LISP}` ) !arm? ( `depends ${DEF_LISP}` )" |
123 |
- |
124 |
-n=${#LISPS[*]} |
125 |
-for ((n--; n >= 0; n--)); do |
126 |
- DEF_DEP="${DEF_DEP} )" |
127 |
-done |
128 |
- |
129 |
-unset LISP |
130 |
- |
131 |
-RDEPEND="${RDEPEND} |
132 |
- ${DEF_DEP}" |
133 |
- |
134 |
-DEPEND="${RDEPEND} |
135 |
- sys-apps/texinfo" |
136 |
- |
137 |
-TEXMF="${EPREFIX}"/usr/share/texmf-site |
138 |
- |
139 |
-pkg_setup() { |
140 |
- local n=${#LISPS[*]} |
141 |
- |
142 |
- for ((n--; n >= 0; n--)); do |
143 |
- use ${LISPS[${n}]} && NLISPS="${NLISPS} ${n}" |
144 |
- done |
145 |
- |
146 |
- if [ -z "${NLISPS}" ]; then |
147 |
- ewarn "No lisp specified in USE flags, choosing ${LISPS[${DEF_LISP}]} as default" |
148 |
- NLISPS=${DEF_LISP} |
149 |
- fi |
150 |
-} |
151 |
- |
152 |
-src_prepare() { |
153 |
- local n PATCHES v |
154 |
- PATCHES=( imaxima-0 rmaxima-0 wish-1 xdg-utils-0 db-0 ) |
155 |
- |
156 |
- n=${#PATCHES[*]} |
157 |
- for ((n--; n >= 0; n--)); do |
158 |
- epatch "${FILESDIR}"/${PATCHES[${n}]}.patch |
159 |
- done |
160 |
- |
161 |
- n=${#LISPS[*]} |
162 |
- for ((n--; n >= 0; n--)); do |
163 |
- v=${PATCH_V[${n}]} |
164 |
- if [ "${v}" != "." ]; then |
165 |
- epatch "${FILESDIR}"/${LISPS[${n}]}-${v}.patch |
166 |
- fi |
167 |
- done |
168 |
- |
169 |
- # bug #343331 |
170 |
- rm share/Makefile.in || die |
171 |
- rm src/Makefile.in || die |
172 |
- touch src/*.mk |
173 |
- touch src/Makefile.am |
174 |
- eautoreconf |
175 |
-} |
176 |
- |
177 |
-src_configure() { |
178 |
- local CONFS CONF n lang |
179 |
- for n in ${NLISPS}; do |
180 |
- CONF=${CONF_FLAG[${n}]} |
181 |
- if [ ${CONF} = . ]; then |
182 |
- CONF=${LISPS[${n}]} |
183 |
- fi |
184 |
- CONFS="${CONFS} --enable-${CONF}" |
185 |
- done |
186 |
- |
187 |
- # enable existing translated doc |
188 |
- if use nls; then |
189 |
- for lang in ${LANGS}; do |
190 |
- if use "linguas_${lang}"; then |
191 |
- CONFS="${CONFS} --enable-lang-${lang}" |
192 |
- use unicode && CONFS="${CONFS} --enable-lang-${lang}-utf8" |
193 |
- fi |
194 |
- done |
195 |
- fi |
196 |
- |
197 |
- econf ${CONFS} $(use_with tk wish) --with-lispdir="${EPREFIX}/${SITELISP}"/${PN} |
198 |
-} |
199 |
- |
200 |
-src_install() { |
201 |
- docompress -x /usr/share/info |
202 |
- emake DESTDIR="${D}" emacsdir="${EPREFIX}/${SITELISP}/${PN}" install |
203 |
- |
204 |
- use tk && make_desktop_entry xmaxima xmaxima \ |
205 |
- /usr/share/${PN}/${PV}/xmaxima/maxima-new.png \ |
206 |
- "Science;Math;Education" |
207 |
- |
208 |
- if use latex; then |
209 |
- insinto ${TEXMF}/tex/latex/emaxima |
210 |
- doins interfaces/emacs/emaxima/emaxima.sty |
211 |
- fi |
212 |
- |
213 |
- # do not use dodoc because interfaces can't read compressed files |
214 |
- # read COPYING before attempt to remove it from dodoc |
215 |
- insinto /usr/share/${PN}/${PV}/doc |
216 |
- doins AUTHORS COPYING README README.lisps || die |
217 |
- dodir /usr/share/doc |
218 |
- dosym ../${PN}/${PV}/doc /usr/share/doc/${PF} || die |
219 |
- |
220 |
- if use emacs; then |
221 |
- elisp-site-file-install "${FILESDIR}"/50maxima-gentoo-0.el || die |
222 |
- fi |
223 |
- |
224 |
- # if we use ecls, build an ecls library for maxima |
225 |
- if use ecls; then |
226 |
- ECLLIB=`ecl -eval "(princ (SI:GET-LIBRARY-PATHNAME))" -eval "(quit)"` |
227 |
- insinto "${ECLLIB#${EPREFIX}}" |
228 |
- doins src/binary-ecl/maxima.fas |
229 |
- fi |
230 |
-} |
231 |
- |
232 |
-pkg_postinst() { |
233 |
- use emacs && elisp-site-regen |
234 |
- use latex && mktexlsr |
235 |
-} |
236 |
- |
237 |
-pkg_postrm() { |
238 |
- use emacs && elisp-site-regen |
239 |
- use latex && mktexlsr |
240 |
-} |