Gentoo Archives: gentoo-commits

From: Andrey Grozin <grozin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/files/, sci-mathematics/maxima/
Date: Fri, 27 Nov 2015 12:17:55
Message-Id: 1448626296.ad0a006bbf3a9460f3c3d74190e763bd3fcea1af.grozin@gentoo
1 commit: ad0a006bbf3a9460f3c3d74190e763bd3fcea1af
2 Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
3 AuthorDate: Fri Nov 27 12:09:59 2015 +0000
4 Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 27 12:11:36 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad0a006b
7
8 sci-mathematics/maxima: cleaning old
9
10 Package-Manager: portage-2.2.25
11
12 sci-mathematics/maxima/Manifest | 1 -
13 sci-mathematics/maxima/files/clozurecl-1.patch | 28 ----
14 sci-mathematics/maxima/maxima-5.36.1.ebuild | 190 -------------------------
15 sci-mathematics/maxima/maxima-5.37.3.ebuild | 190 -------------------------
16 4 files changed, 409 deletions(-)
17
18 diff --git a/sci-mathematics/maxima/Manifest b/sci-mathematics/maxima/Manifest
19 index 4465bce..321acdc 100644
20 --- a/sci-mathematics/maxima/Manifest
21 +++ b/sci-mathematics/maxima/Manifest
22 @@ -1,3 +1,2 @@
23 DIST maxima-5.34.1.tar.gz 29469851 SHA256 20ca416ca912c8d3d99299f2ef45342a1beb2f077cf501c6a647de46bfdb89b7 SHA512 24a9ce0d2bfb0fa107460bbeec561869f9d3f2ce2623e39ab16b810dbf2712981bbf98ceee9c30f4e70fdec7f918a7743b5fb8cf26b67313e1d367dd8f2a1823 WHIRLPOOL 0f59cfe14391686a543027bb5cab8669439d0e36b016924872662f61e36cf05663480f8a3f942d7deccbe39ec7f45ed77deeb8a3c84241189ac0f1993537c47a
24 -DIST maxima-5.36.1.tar.gz 29615673 SHA256 400bf83000b84d280d75e200e078582fe44f23220824562cc06c589d8a993974 SHA512 10e090230ab408777a1145ad90daef6bf237ba38ae31a654ba4d464e7a27e1f48baac5202ce8fb39e4c04ec9a6c9916ac83a58bd071b676ea5a989ea7db87d4c WHIRLPOOL ee7738085ae9e5b156b89afbf724b3ae5ef70b74550bee43cf3ab763f569d5ac51ea9c0e5aad67070f4b71f480b079aad8e4fd44ded34525a1f84cbeeb2d28b0
25 DIST maxima-5.37.3.tar.gz 29964644 SHA256 8bd5dcd672f37ea752385475fc64f8c87dfa29bbe34766cbcb87b1f63dfb5934 SHA512 a337afdc779abc88297e7dadf8af949da881c91a237e85ed654046c98692f2446c0b2ddb8c81b637cb7a35dd3b712832aadc5dedcaa8b681496dae4835c9d0f1 WHIRLPOOL d24eeb7f39f88b9f542e28db28b8f249b1badc059fe744a83209b102b8f776131e4b2f91c28949f4f6de8323f163cb0a6be9bafc3c0ef058a73e9b543622e976
26
27 diff --git a/sci-mathematics/maxima/files/clozurecl-1.patch b/sci-mathematics/maxima/files/clozurecl-1.patch
28 deleted file mode 100644
29 index 07203a2..0000000
30 --- a/sci-mathematics/maxima/files/clozurecl-1.patch
31 +++ /dev/null
32 @@ -1,28 +0,0 @@
33 -diff -r -U1 maxima-5.35.1.orig/configure.ac maxima-5.35.1/configure.ac
34 ---- maxima-5.35.1.orig/configure.ac 2014-12-13 06:44:51.000000000 +0600
35 -+++ maxima-5.35.1/configure.ac 2014-12-20 20:43:04.713305777 +0600
36 -@@ -379,3 +379,3 @@
37 - dnl n.b. openmcl_default_name is hardcoded in "with" message
38 --openmcl_default_name=openmcl
39 -+openmcl_default_name=ccl
40 - AC_ARG_ENABLE(openmcl,
41 -diff -r -U1 maxima-5.35.1.orig/src/Makefile.am maxima-5.35.1/src/Makefile.am
42 ---- maxima-5.35.1.orig/src/Makefile.am 2014-09-24 00:02:16.000000000 +0700
43 -+++ maxima-5.35.1/src/Makefile.am 2014-12-20 20:43:04.713305777 +0600
44 -@@ -359,3 +359,3 @@
45 -
46 --EXECUTEOPENMCL = $(OPENMCL_NAME) -e
47 -+EXECUTEOPENMCL = $(OPENMCL_NAME) --no-init -e
48 - BUILT_FILES += $(OPENMCL_MAXIMA)
49 -Только в maxima-5.35.1/src: Makefile.am.orig
50 -diff -r -U1 maxima-5.35.1.orig/src/maxima.in maxima-5.35.1/src/maxima.in
51 ---- maxima-5.35.1.orig/src/maxima.in 2014-12-03 04:17:05.000000000 +0600
52 -+++ maxima-5.35.1/src/maxima.in 2014-12-20 20:43:04.713305777 +0600
53 -@@ -185,5 +185,5 @@
54 - if [ -x "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" ]; then
55 -- exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" $MAXIMA_LISP_OPTIONS -e '(cl-user::run)' -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
56 -+ exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" $MAXIMA_LISP_OPTIONS --no-init -e '(cl-user::run)' -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
57 - else
58 -- exec "@OPENMCL_NAME@" -I "$maxima_image_base.image" $MAXIMA_LISP_OPTIONS -e '(cl-user::run)' -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
59 -+ exec "@OPENMCL_NAME@" -I "$maxima_image_base.image" $MAXIMA_LISP_OPTIONS --no-init -e '(cl-user::run)' -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
60 - fi
61
62 diff --git a/sci-mathematics/maxima/maxima-5.36.1.ebuild b/sci-mathematics/maxima/maxima-5.36.1.ebuild
63 deleted file mode 100644
64 index 79aa856..0000000
65 --- a/sci-mathematics/maxima/maxima-5.36.1.ebuild
66 +++ /dev/null
67 @@ -1,190 +0,0 @@
68 -# Copyright 1999-2015 Gentoo Foundation
69 -# Distributed under the terms of the GNU General Public License v2
70 -# $Id$
71 -
72 -EAPI=5
73 -
74 -inherit autotools elisp-common eutils
75 -
76 -DESCRIPTION="Free computer algebra environment based on Macsyma"
77 -HOMEPAGE="http://maxima.sourceforge.net/"
78 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
79 -
80 -LICENSE="GPL-2"
81 -SLOT="0"
82 -KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
83 -
84 -# Supported lisps
85 -LISPS=( sbcl cmucl gcl ecls clozurecl clisp )
86 -# <lisp> supports readline: . - no, y - yes
87 -SUPP_RL=( . . y . . y )
88 -# . - just --enable-<lisp>, <flag> - --enable-<flag>
89 -CONF_FLAG=( . . . ecl ccl . )
90 -# patch file version; . - no patch
91 -PATCH_V=( 0 0 . 1 1 0 )
92 -
93 -IUSE="latex emacs tk nls unicode xemacs X ${LISPS[*]}"
94 -
95 -# Languages
96 -LANGS="es pt pt_BR"
97 -for lang in ${LANGS}; do
98 - IUSE="${IUSE} linguas_${lang}"
99 -done
100 -
101 -RDEPEND="X? ( x11-misc/xdg-utils
102 - sci-visualization/gnuplot[gd]
103 - tk? ( dev-lang/tk:0 ) )
104 - latex? ( virtual/latex-base )
105 - emacs? ( virtual/emacs
106 - latex? ( app-emacs/auctex ) )
107 - xemacs? ( app-editors/xemacs
108 - latex? ( app-emacs/auctex ) )"
109 -
110 -PDEPEND="emacs? ( app-emacs/imaxima )"
111 -
112 -# generating lisp dependencies
113 -depends() {
114 - local LISP DEP
115 - LISP=${LISPS[$1]}
116 - DEP="dev-lisp/${LISP}:="
117 - if [ "${SUPP_RL[$1]}" = "." ]; then
118 - DEP="${DEP} app-misc/rlwrap"
119 - fi
120 - echo ${DEP}
121 -}
122 -
123 -n=${#LISPS[*]}
124 -for ((n--; n >= 0; n--)); do
125 - LISP=${LISPS[${n}]}
126 - RDEPEND="${RDEPEND} ${LISP}? ( $(depends ${n}) )"
127 - if (( ${n} > 0 )); then
128 - DEF_DEP="${DEF_DEP} !${LISP}? ( "
129 - fi
130 -done
131 -
132 -# default lisp
133 -if use arm; then
134 - DEF_LISP=2 # gcl
135 -else
136 - DEF_LISP=0 # sbcl
137 -fi
138 -
139 -DEF_DEP="${DEF_DEP} `depends ${DEF_LISP}`"
140 -
141 -n=${#LISPS[*]}
142 -for ((n--; n > 0; n--)); do
143 - DEF_DEP="${DEF_DEP} )"
144 -done
145 -
146 -unset LISP
147 -
148 -RDEPEND="${RDEPEND}
149 - ${DEF_DEP}"
150 -
151 -DEPEND="${RDEPEND}
152 - sys-apps/texinfo"
153 -
154 -TEXMF="${EPREFIX}"/usr/share/texmf-site
155 -
156 -pkg_setup() {
157 - local n=${#LISPS[*]}
158 -
159 - for ((n--; n >= 0; n--)); do
160 - use ${LISPS[${n}]} && NLISPS="${NLISPS} ${n}"
161 - done
162 -
163 - if [ -z "${NLISPS}" ]; then
164 - ewarn "No lisp specified in USE flags, choosing ${LISPS[${DEF_LISP}]} as default"
165 - NLISPS=${DEF_LISP}
166 - fi
167 -}
168 -
169 -src_prepare() {
170 - local n PATCHES v
171 - PATCHES=( imaxima-0 rmaxima-0 wish-1 xdg-utils-0 )
172 -
173 - n=${#PATCHES[*]}
174 - for ((n--; n >= 0; n--)); do
175 - epatch "${FILESDIR}"/${PATCHES[${n}]}.patch
176 - done
177 -
178 - n=${#LISPS[*]}
179 - for ((n--; n >= 0; n--)); do
180 - v=${PATCH_V[${n}]}
181 - if [ "${v}" != "." ]; then
182 - epatch "${FILESDIR}"/${LISPS[${n}]}-${v}.patch
183 - fi
184 - done
185 -
186 - # bug #343331
187 - rm share/Makefile.in || die
188 - rm src/Makefile.in || die
189 - touch src/*.mk
190 - touch src/Makefile.am
191 - eautoreconf
192 -}
193 -
194 -src_configure() {
195 - local CONFS CONF n lang
196 - for n in ${NLISPS}; do
197 - CONF=${CONF_FLAG[${n}]}
198 - if [ ${CONF} = . ]; then
199 - CONF=${LISPS[${n}]}
200 - fi
201 - CONFS="${CONFS} --enable-${CONF}"
202 - done
203 -
204 - # enable existing translated doc
205 - if use nls; then
206 - for lang in ${LANGS}; do
207 - if use "linguas_${lang}"; then
208 - CONFS="${CONFS} --enable-lang-${lang}"
209 - use unicode && CONFS="${CONFS} --enable-lang-${lang}-utf8"
210 - fi
211 - done
212 - fi
213 -
214 - econf ${CONFS} $(use_with tk wish) --with-lispdir="${EPREFIX}/${SITELISP}"/${PN}
215 -}
216 -
217 -src_install() {
218 - docompress -x /usr/share/info
219 - emake DESTDIR="${D}" emacsdir="${EPREFIX}/${SITELISP}/${PN}" install
220 -
221 - use tk && make_desktop_entry xmaxima xmaxima \
222 - /usr/share/${PN}/${PV}/xmaxima/maxima-new.png \
223 - "Science;Math;Education"
224 -
225 - if use latex; then
226 - insinto ${TEXMF}/tex/latex/emaxima
227 - doins interfaces/emacs/emaxima/emaxima.sty
228 - fi
229 -
230 - # do not use dodoc because interfaces can't read compressed files
231 - # read COPYING before attempt to remove it from dodoc
232 - insinto /usr/share/${PN}/${PV}/doc
233 - doins AUTHORS COPYING README README.lisps || die
234 - dodir /usr/share/doc
235 - dosym ../${PN}/${PV}/doc /usr/share/doc/${PF} || die
236 -
237 - if use emacs; then
238 - elisp-site-file-install "${FILESDIR}"/50maxima-gentoo.el || die
239 - fi
240 -
241 - # if we use ecls, build an ecls library for maxima
242 - if use ecls; then
243 - ECLLIB=`ecl -eval "(princ (SI:GET-LIBRARY-PATHNAME))" -eval "(quit)"`
244 - insinto "${ECLLIB#${EPREFIX}}"
245 - doins src/binary-ecl/maxima.fas
246 - fi
247 -}
248 -
249 -pkg_postinst() {
250 - use emacs && elisp-site-regen
251 - use latex && mktexlsr
252 -}
253 -
254 -pkg_postrm() {
255 - use emacs && elisp-site-regen
256 - use latex && mktexlsr
257 -}
258
259 diff --git a/sci-mathematics/maxima/maxima-5.37.3.ebuild b/sci-mathematics/maxima/maxima-5.37.3.ebuild
260 deleted file mode 100644
261 index 8f2f164..0000000
262 --- a/sci-mathematics/maxima/maxima-5.37.3.ebuild
263 +++ /dev/null
264 @@ -1,190 +0,0 @@
265 -# Copyright 1999-2015 Gentoo Foundation
266 -# Distributed under the terms of the GNU General Public License v2
267 -# $Id$
268 -
269 -EAPI=5
270 -
271 -inherit autotools elisp-common eutils
272 -
273 -DESCRIPTION="Free computer algebra environment based on Macsyma"
274 -HOMEPAGE="http://maxima.sourceforge.net/"
275 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
276 -
277 -LICENSE="GPL-2"
278 -SLOT="0"
279 -KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
280 -
281 -# Supported lisps
282 -LISPS=( sbcl cmucl gcl ecls clozurecl clisp )
283 -# <lisp> supports readline: . - no, y - yes
284 -SUPP_RL=( . . y . . y )
285 -# . - just --enable-<lisp>, <flag> - --enable-<flag>
286 -CONF_FLAG=( . . . ecl ccl . )
287 -# patch file version; . - no patch
288 -PATCH_V=( 1 1 . 2 2 1 )
289 -
290 -IUSE="latex emacs tk nls unicode xemacs X ${LISPS[*]}"
291 -
292 -# Languages
293 -LANGS="es pt pt_BR"
294 -for lang in ${LANGS}; do
295 - IUSE="${IUSE} linguas_${lang}"
296 -done
297 -
298 -RDEPEND="X? ( x11-misc/xdg-utils
299 - sci-visualization/gnuplot[gd]
300 - tk? ( dev-lang/tk:0 ) )
301 - latex? ( virtual/latex-base )
302 - emacs? ( virtual/emacs
303 - latex? ( app-emacs/auctex ) )
304 - xemacs? ( app-editors/xemacs
305 - latex? ( app-emacs/auctex ) )"
306 -
307 -PDEPEND="emacs? ( app-emacs/imaxima )"
308 -
309 -# generating lisp dependencies
310 -depends() {
311 - local LISP DEP
312 - LISP=${LISPS[$1]}
313 - DEP="dev-lisp/${LISP}:="
314 - if [ "${SUPP_RL[$1]}" = "." ]; then
315 - DEP="${DEP} app-misc/rlwrap"
316 - fi
317 - echo ${DEP}
318 -}
319 -
320 -n=${#LISPS[*]}
321 -for ((n--; n >= 0; n--)); do
322 - LISP=${LISPS[${n}]}
323 - RDEPEND="${RDEPEND} ${LISP}? ( $(depends ${n}) )"
324 - if (( ${n} > 0 )); then
325 - DEF_DEP="${DEF_DEP} !${LISP}? ( "
326 - fi
327 -done
328 -
329 -# default lisp
330 -if use arm; then
331 - DEF_LISP=2 # gcl
332 -else
333 - DEF_LISP=0 # sbcl
334 -fi
335 -
336 -DEF_DEP="${DEF_DEP} `depends ${DEF_LISP}`"
337 -
338 -n=${#LISPS[*]}
339 -for ((n--; n > 0; n--)); do
340 - DEF_DEP="${DEF_DEP} )"
341 -done
342 -
343 -unset LISP
344 -
345 -RDEPEND="${RDEPEND}
346 - ${DEF_DEP}"
347 -
348 -DEPEND="${RDEPEND}
349 - sys-apps/texinfo"
350 -
351 -TEXMF="${EPREFIX}"/usr/share/texmf-site
352 -
353 -pkg_setup() {
354 - local n=${#LISPS[*]}
355 -
356 - for ((n--; n >= 0; n--)); do
357 - use ${LISPS[${n}]} && NLISPS="${NLISPS} ${n}"
358 - done
359 -
360 - if [ -z "${NLISPS}" ]; then
361 - ewarn "No lisp specified in USE flags, choosing ${LISPS[${DEF_LISP}]} as default"
362 - NLISPS=${DEF_LISP}
363 - fi
364 -}
365 -
366 -src_prepare() {
367 - local n PATCHES v
368 - PATCHES=( imaxima-0 rmaxima-0 wish-1 xdg-utils-0 db-0 )
369 -
370 - n=${#PATCHES[*]}
371 - for ((n--; n >= 0; n--)); do
372 - epatch "${FILESDIR}"/${PATCHES[${n}]}.patch
373 - done
374 -
375 - n=${#LISPS[*]}
376 - for ((n--; n >= 0; n--)); do
377 - v=${PATCH_V[${n}]}
378 - if [ "${v}" != "." ]; then
379 - epatch "${FILESDIR}"/${LISPS[${n}]}-${v}.patch
380 - fi
381 - done
382 -
383 - # bug #343331
384 - rm share/Makefile.in || die
385 - rm src/Makefile.in || die
386 - touch src/*.mk
387 - touch src/Makefile.am
388 - eautoreconf
389 -}
390 -
391 -src_configure() {
392 - local CONFS CONF n lang
393 - for n in ${NLISPS}; do
394 - CONF=${CONF_FLAG[${n}]}
395 - if [ ${CONF} = . ]; then
396 - CONF=${LISPS[${n}]}
397 - fi
398 - CONFS="${CONFS} --enable-${CONF}"
399 - done
400 -
401 - # enable existing translated doc
402 - if use nls; then
403 - for lang in ${LANGS}; do
404 - if use "linguas_${lang}"; then
405 - CONFS="${CONFS} --enable-lang-${lang}"
406 - use unicode && CONFS="${CONFS} --enable-lang-${lang}-utf8"
407 - fi
408 - done
409 - fi
410 -
411 - econf ${CONFS} $(use_with tk wish) --with-lispdir="${EPREFIX}/${SITELISP}"/${PN}
412 -}
413 -
414 -src_install() {
415 - docompress -x /usr/share/info
416 - emake DESTDIR="${D}" emacsdir="${EPREFIX}/${SITELISP}/${PN}" install
417 -
418 - use tk && make_desktop_entry xmaxima xmaxima \
419 - /usr/share/${PN}/${PV}/xmaxima/maxima-new.png \
420 - "Science;Math;Education"
421 -
422 - if use latex; then
423 - insinto ${TEXMF}/tex/latex/emaxima
424 - doins interfaces/emacs/emaxima/emaxima.sty
425 - fi
426 -
427 - # do not use dodoc because interfaces can't read compressed files
428 - # read COPYING before attempt to remove it from dodoc
429 - insinto /usr/share/${PN}/${PV}/doc
430 - doins AUTHORS COPYING README README.lisps || die
431 - dodir /usr/share/doc
432 - dosym ../${PN}/${PV}/doc /usr/share/doc/${PF} || die
433 -
434 - if use emacs; then
435 - elisp-site-file-install "${FILESDIR}"/50maxima-gentoo.el || die
436 - fi
437 -
438 - # if we use ecls, build an ecls library for maxima
439 - if use ecls; then
440 - ECLLIB=`ecl -eval "(princ (SI:GET-LIBRARY-PATHNAME))" -eval "(quit)"`
441 - insinto "${ECLLIB#${EPREFIX}}"
442 - doins src/binary-ecl/maxima.fas
443 - fi
444 -}
445 -
446 -pkg_postinst() {
447 - use emacs && elisp-site-regen
448 - use latex && mktexlsr
449 -}
450 -
451 -pkg_postrm() {
452 - use emacs && elisp-site-regen
453 - use latex && mktexlsr
454 -}