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