1 |
commit: 792d167b6d8ecc25eedef389d9542ba721bda449 |
2 |
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 30 15:44:25 2020 +0000 |
4 |
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 30 15:44:25 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=792d167b |
7 |
|
8 |
sci-mathematics/maxima: cleaning old |
9 |
|
10 |
Package-Manager: Portage-2.3.85, Repoman-2.3.20 |
11 |
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org> |
12 |
|
13 |
sci-mathematics/maxima/Manifest | 2 - |
14 |
sci-mathematics/maxima/maxima-5.43.0.ebuild | 216 ---------------------------- |
15 |
2 files changed, 218 deletions(-) |
16 |
|
17 |
diff --git a/sci-mathematics/maxima/Manifest b/sci-mathematics/maxima/Manifest |
18 |
index ab667a5ad2b..f4d6e2af05f 100644 |
19 |
--- a/sci-mathematics/maxima/Manifest |
20 |
+++ b/sci-mathematics/maxima/Manifest |
21 |
@@ -1,6 +1,4 @@ |
22 |
DIST maxima-5.38.1.tar.gz 38641257 BLAKE2B 0244b5dbdd337e64d4f7c3e7f6b946463b0246a9fd0660588798f7891fd1599cf400369fe0d1ce3433d01ce2e4b8bc86ad405d3f8368b429cd028362ec66a1b4 SHA512 abca10984dbb22a48bae481b2e803cb5bee6776e974b4bb9271773aa035fb5e49f34b2458aabca01f0a681a07179e57c012273be6f8d53c615b3309b1034abf9 |
23 |
DIST maxima-5.42.1.tar.gz 41865510 BLAKE2B d3b8a50594dc0cef0c354c42be1aee96df77a4e222dbe457edeb47d7fe77a8fe376b10ce8da9e4ff6c447242e9c53a32286d09a64d8600112f6feda92f1fb58d SHA512 79c5e70119b0384d9dd8aa47c7e96a0ccb7e6367526b8a14d21f00137a1c2f0c8b7990bb7231d7c90ffa0090f67c1fa30a418d013d9c5982030ae68de9717f48 |
24 |
DIST maxima-5.42.2.tar.gz 41840181 BLAKE2B bca8a94366f1fe2f508436fdef8de80107b19c9b267a4b72dc6f56870078d35b3feb7dbdda384589b38c5351d6eeede1b9738a5ec2152063de2afacd1ced48c4 SHA512 5033b02272121f6aacff5ededf90eaad5e644a06d0c62aafd745401c08429da979ecd8274f7aa12596a0e32ddb614659af14e4273f59d372fe1ecbec081e7829 |
25 |
-DIST maxima-5.43.0-missing-texi-file.tar.gz 6713 BLAKE2B 4e2c8c7a2ec9007c47cbb45272eb00f930c0014e0a70e52418124bd06731668d47dd76a854c395ccfa2ef00f87e60d8a5811d9237653126680ecfa2d3013e9ec SHA512 e09f983e2eb76adbf8b237c2b2909ff643bd562e16c28f50096509470cd3c9e72d69d39d4ac35315698d20937489c28883604e24302c4424222b51ecc20e438d |
26 |
-DIST maxima-5.43.0.tar.gz 34605709 BLAKE2B db9db75b7eff0454d4b9595120d726969b4e8b651f611ac69dcd92c4496bf9530ce76867348fd87a33444eef3abb7d123ef2726a7b96ebde9e43f231b21a2b8c SHA512 6611eda4bf81bc5454bf6dd641c73a470cc07b2f768d9550b3abeb7b68f1b4675fd5eca766c52844438e9247d8035be537c7120c9f49cdaed9f918d49ed16659 |
27 |
DIST maxima-5.43.2.tar.gz 40871773 BLAKE2B a00a6ca06159d5acde195d9dc0f59d3a4b72738b2690997c18a9d1b2c642983b3a2005aee98544d4f45d8bc9ee5d9c6b0e43e4be40df4224b0174662bd75f71d SHA512 b2503440b2c4d515de9a39dd6acbe1c8dfae5daf083c47b6af2ffce381ad48923d1fa4e5f25ec1dc0621ad592b23cebc4c456b8ee2ee52bea958df6fb9df26fd |
28 |
|
29 |
diff --git a/sci-mathematics/maxima/maxima-5.43.0.ebuild b/sci-mathematics/maxima/maxima-5.43.0.ebuild |
30 |
deleted file mode 100644 |
31 |
index ab449ae5f1e..00000000000 |
32 |
--- a/sci-mathematics/maxima/maxima-5.43.0.ebuild |
33 |
+++ /dev/null |
34 |
@@ -1,216 +0,0 @@ |
35 |
-# Copyright 1999-2019 Gentoo Authors |
36 |
-# Distributed under the terms of the GNU General Public License v2 |
37 |
- |
38 |
-EAPI=6 |
39 |
- |
40 |
-inherit autotools elisp-common eutils xdg-utils |
41 |
- |
42 |
-DESCRIPTION="Free computer algebra environment based on Macsyma" |
43 |
-HOMEPAGE="http://maxima.sourceforge.net/" |
44 |
-# the 5.43.0 tarball misses doc/info/de/include-maxima.de.texi #687244 |
45 |
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz |
46 |
- https://dev.gentoo.org/~ulm/distfiles/${P}-missing-texi-file.tar.gz" |
47 |
- |
48 |
-LICENSE="GPL-2 GPL-2+" |
49 |
-SLOT="0" |
50 |
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" |
51 |
- |
52 |
-# Supported lisps |
53 |
-LISPS=( sbcl cmucl gcl ecls clozurecl clisp ) |
54 |
-# <lisp> supports readline: . - no, y - yes |
55 |
-SUPP_RL=( . . y . . y ) |
56 |
-# . - just --enable-<lisp>, <flag> - --enable-<flag> |
57 |
-CONF_FLAG=( . . . ecl ccl . ) |
58 |
-# patch file version; . - no patch |
59 |
-PATCH_V=( 2 1 . 3 3 1 ) |
60 |
- |
61 |
-IUSE="emacs tk nls unicode X test ${LISPS[*]}" |
62 |
-RESTRICT="!test? ( test )" |
63 |
- |
64 |
-# Languages |
65 |
-LANGS="de es pt pt_BR" |
66 |
-for lang in ${LANGS}; do |
67 |
- IUSE="${IUSE} l10n_${lang/_/-}" |
68 |
-done |
69 |
- |
70 |
-# texlive-latexrecommended needed by imaxima for breqn.sty |
71 |
-RDEPEND="!app-emacs/imaxima |
72 |
- X? ( x11-misc/xdg-utils |
73 |
- sci-visualization/gnuplot[gd] |
74 |
- tk? ( dev-lang/tk:0 ) ) |
75 |
- emacs? ( >=app-editors/emacs-23.1:* |
76 |
- virtual/latex-base |
77 |
- app-emacs/auctex |
78 |
- app-text/ghostscript-gpl |
79 |
- dev-texlive/texlive-latexrecommended )" |
80 |
- |
81 |
-# generating lisp dependencies |
82 |
-depends() { |
83 |
- local LISP DEP |
84 |
- LISP=${LISPS[$1]} |
85 |
- DEP="dev-lisp/${LISP}:=" |
86 |
- if [ "${SUPP_RL[$1]}" = "." ]; then |
87 |
- DEP="${DEP} app-misc/rlwrap" |
88 |
- fi |
89 |
- echo ${DEP} |
90 |
-} |
91 |
- |
92 |
-n=${#LISPS[*]} |
93 |
-for ((n--; n >= 0; n--)); do |
94 |
- LISP=${LISPS[${n}]} |
95 |
- RDEPEND="${RDEPEND} ${LISP}? ( $(depends ${n}) )" |
96 |
- DEF_DEP="${DEF_DEP} !${LISP}? ( " |
97 |
-done |
98 |
- |
99 |
-# default lisp |
100 |
-DEF_LISP=0 # sbcl |
101 |
-ARM_LISP=2 # gcl |
102 |
-DEF_DEP="${DEF_DEP} arm? ( `depends ${ARM_LISP}` ) !arm? ( `depends ${DEF_LISP}` )" |
103 |
- |
104 |
-n=${#LISPS[*]} |
105 |
-for ((n--; n >= 0; n--)); do |
106 |
- DEF_DEP="${DEF_DEP} )" |
107 |
-done |
108 |
- |
109 |
-unset LISP |
110 |
- |
111 |
-RDEPEND="${RDEPEND} |
112 |
- ${DEF_DEP}" |
113 |
- |
114 |
-DEPEND="${RDEPEND} |
115 |
- test? ( sci-visualization/gnuplot ) |
116 |
- sys-apps/texinfo" |
117 |
- |
118 |
-TEXMF="${EPREFIX}"/usr/share/texmf-site |
119 |
- |
120 |
-pkg_setup() { |
121 |
- local n=${#LISPS[*]} |
122 |
- |
123 |
- for ((n--; n >= 0; n--)); do |
124 |
- use ${LISPS[${n}]} && NLISPS="${NLISPS} ${n}" |
125 |
- done |
126 |
- |
127 |
- if [ -z "${NLISPS}" ]; then |
128 |
- use arm && DEF_LISP=${ARM_LISP} |
129 |
- ewarn "No lisp specified in USE flags, choosing ${LISPS[${DEF_LISP}]} as default" |
130 |
- NLISPS=${DEF_LISP} |
131 |
- fi |
132 |
-} |
133 |
- |
134 |
-src_prepare() { |
135 |
- local n PATCHES v |
136 |
- PATCHES=( emacs-0 rmaxima-0 wish-2 xdg-utils-1 texinfo-0 ) |
137 |
- |
138 |
- n=${#PATCHES[*]} |
139 |
- for ((n--; n >= 0; n--)); do |
140 |
- eapply "${FILESDIR}"/${PATCHES[${n}]}.patch |
141 |
- done |
142 |
- |
143 |
- n=${#LISPS[*]} |
144 |
- for ((n--; n >= 0; n--)); do |
145 |
- v=${PATCH_V[${n}]} |
146 |
- if [ "${v}" != "." ]; then |
147 |
- eapply "${FILESDIR}"/${LISPS[${n}]}-${v}.patch |
148 |
- fi |
149 |
- done |
150 |
- |
151 |
- eapply_user |
152 |
- |
153 |
- # bug #343331 |
154 |
- rm share/Makefile.in || die |
155 |
- rm src/Makefile.in || die |
156 |
- touch src/*.mk |
157 |
- touch src/Makefile.am |
158 |
- eautoreconf |
159 |
-} |
160 |
- |
161 |
-src_configure() { |
162 |
- local CONFS CONF n lang |
163 |
- for n in ${NLISPS}; do |
164 |
- CONF=${CONF_FLAG[${n}]} |
165 |
- if [ ${CONF} = . ]; then |
166 |
- CONF=${LISPS[${n}]} |
167 |
- fi |
168 |
- CONFS="${CONFS} --enable-${CONF}" |
169 |
- done |
170 |
- |
171 |
- # enable existing translated doc |
172 |
- if use nls; then |
173 |
- for lang in ${LANGS}; do |
174 |
- if use "l10n_${lang/_/-}"; then |
175 |
- CONFS="${CONFS} --enable-lang-${lang}" |
176 |
- use unicode && CONFS="${CONFS} --enable-lang-${lang}-utf8" |
177 |
- fi |
178 |
- done |
179 |
- fi |
180 |
- |
181 |
- econf ${CONFS} \ |
182 |
- $(use_with tk wish) \ |
183 |
- $(use_enable emacs) \ |
184 |
- --with-lispdir="${EPREFIX}/${SITELISP}/${PN}" |
185 |
-} |
186 |
- |
187 |
-src_compile() { |
188 |
- emake |
189 |
- if use emacs; then |
190 |
- pushd interfaces/emacs/emaxima > /dev/null |
191 |
- elisp-compile *.el |
192 |
- popd > /dev/null |
193 |
- pushd interfaces/emacs/imaxima > /dev/null |
194 |
- BYTECOMPFLAGS="-L . -L ../emaxima" |
195 |
- elisp-compile *.el |
196 |
- popd > /dev/null |
197 |
- fi |
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 |
- # do not use dodoc because interfaces can't read compressed files |
209 |
- # read COPYING before attempt to remove it from dodoc |
210 |
- insinto /usr/share/${PN}/${PV}/doc |
211 |
- doins AUTHORS COPYING README README.lisps |
212 |
- dodir /usr/share/doc |
213 |
- dosym ../${PN}/${PV}/doc /usr/share/doc/${PF} |
214 |
- |
215 |
- if use emacs; then |
216 |
- elisp-install ${PN} interfaces/emacs/{emaxima,imaxima}/*.{el,elc,lisp} |
217 |
- elisp-site-file-install "${FILESDIR}"/50maxima-gentoo-1.el |
218 |
- |
219 |
- rm "${ED}"/${SITELISP}/${PN}/emaxima.sty || die |
220 |
- insinto ${TEXMF}/tex/latex/emaxima |
221 |
- doins interfaces/emacs/emaxima/emaxima.sty |
222 |
- |
223 |
- insinto /usr/share/${PN}/${PV}/doc/imaxima |
224 |
- doins interfaces/emacs/imaxima/README |
225 |
- doins -r interfaces/emacs/imaxima/imath-example |
226 |
- fi |
227 |
- |
228 |
- # if we use ecls, build an ecls library for maxima |
229 |
- if use ecls; then |
230 |
- ECLLIB=`ecl -eval "(princ (SI:GET-LIBRARY-PATHNAME))" -eval "(quit)"` |
231 |
- insinto "${ECLLIB#${EPREFIX}}" |
232 |
- doins src/binary-ecl/maxima.fas |
233 |
- fi |
234 |
-} |
235 |
- |
236 |
-pkg_postinst() { |
237 |
- xdg_mimeinfo_database_update |
238 |
- if use emacs; then |
239 |
- elisp-site-regen |
240 |
- mktexlsr |
241 |
- fi |
242 |
-} |
243 |
- |
244 |
-pkg_postrm() { |
245 |
- xdg_mimeinfo_database_update |
246 |
- if use emacs; then |
247 |
- elisp-site-regen |
248 |
- mktexlsr |
249 |
- fi |
250 |
-} |