1 |
commit: a1e9a011645237b0401e65acdeb2a2f039bbdbaf |
2 |
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 3 03:56:58 2020 +0000 |
4 |
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 3 04:02:36 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=a1e9a011 |
7 |
|
8 |
sci-mathematics/cadabra: remove from tree. |
9 |
|
10 |
SRC_URI is dead, simple version bump did not work. |
11 |
|
12 |
Bug: https://bugs.gentoo.org/707558 |
13 |
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org> |
14 |
|
15 |
sci-mathematics/cadabra/cadabra-1.39.ebuild | 88 ----------- |
16 |
.../cadabra/files/cadabra-1.33-FLAGS.patch | 171 --------------------- |
17 |
.../cadabra/files/cadabra-1.39-FLAGS.patch | 171 --------------------- |
18 |
sci-mathematics/cadabra/metadata.xml | 9 -- |
19 |
4 files changed, 439 deletions(-) |
20 |
|
21 |
diff --git a/sci-mathematics/cadabra/cadabra-1.39.ebuild b/sci-mathematics/cadabra/cadabra-1.39.ebuild |
22 |
deleted file mode 100644 |
23 |
index 095ab87dd..000000000 |
24 |
--- a/sci-mathematics/cadabra/cadabra-1.39.ebuild |
25 |
+++ /dev/null |
26 |
@@ -1,88 +0,0 @@ |
27 |
-# Copyright 1999-2015 Gentoo Foundation |
28 |
-# Distributed under the terms of the GNU General Public License v2 |
29 |
- |
30 |
-EAPI=5 |
31 |
- |
32 |
-inherit eutils texlive-common |
33 |
- |
34 |
-DESCRIPTION="Field-theory motivated computer algebra system" |
35 |
-HOMEPAGE="http://cadabra.phi-sci.com" |
36 |
-SRC_URI="http://cadabra.phi-sci.com/${P}.tar.gz" |
37 |
- |
38 |
-LICENSE="GPL-2" |
39 |
-SLOT="0" |
40 |
-KEYWORDS="~amd64 ~x86" |
41 |
-IUSE="doc examples X test" |
42 |
- |
43 |
-CDEPEND=" |
44 |
- sci-libs/modglue |
45 |
- sci-mathematics/lie |
46 |
- dev-libs/gmp[cxx] |
47 |
- dev-libs/libpcre |
48 |
- X? ( |
49 |
- x11-libs/gtk+:2 |
50 |
- dev-cpp/gtkmm:2.4 |
51 |
- dev-cpp/pangomm:1.4 |
52 |
- app-text/dvipng )" |
53 |
-DEPEND="${CDEPEND} |
54 |
- doc? ( |
55 |
- app-doc/doxygen |
56 |
- dev-texlive/texlive-latexextra |
57 |
- app-text/texlive-core |
58 |
- ) |
59 |
- test? ( sys-process/time )" |
60 |
-RDEPEND="${CDEPEND} |
61 |
- virtual/latex-base |
62 |
- dev-texlive/texlive-latexrecommended" |
63 |
- |
64 |
-src_prepare(){ |
65 |
- # fixing the flag mess |
66 |
- epatch "${FILESDIR}/${P}-FLAGS.patch" |
67 |
-} |
68 |
- |
69 |
-src_configure(){ |
70 |
- econf $(use_enable X gui) \ |
71 |
- --disable-runtime-dependency-check |
72 |
-} |
73 |
- |
74 |
-src_compile() { |
75 |
- default |
76 |
- |
77 |
- if use doc; then |
78 |
- cd "${S}/doc" || die |
79 |
- default |
80 |
- cd doxygen/latex || die |
81 |
- emake pdf |
82 |
- fi |
83 |
-} |
84 |
- |
85 |
-src_install() { |
86 |
- # cadabra strip binaries unless you are on OS X. |
87 |
- # So faking it to avoid outright stripping. |
88 |
- emake DESTDIR="${D}" DEVDESTDIR="${D}" MACTEST=1 install |
89 |
- |
90 |
- dodoc AUTHORS ChangeLog INSTALL |
91 |
- |
92 |
- if use doc; then |
93 |
- cd "${S}/doc/doxygen" || die |
94 |
- dohtml html/* |
95 |
- dodoc latex/*.pdf |
96 |
- fi |
97 |
- |
98 |
- if use examples; then |
99 |
- dodoc -r "${S}/examples/" |
100 |
- fi |
101 |
- |
102 |
- rm -rf "${D}/usr/share/TeXmacs" || die |
103 |
-} |
104 |
- |
105 |
-pkg_postinst() { |
106 |
- etexmf-update |
107 |
- elog "This version of the cadabra ebuild is still under development." |
108 |
- elog "Help us improve the ebuild in:" |
109 |
- elog "http://bugs.gentoo.org/show_bug.cgi?id= 194393" |
110 |
-} |
111 |
- |
112 |
-pkg_postrm() { |
113 |
- etexmf-update |
114 |
-} |
115 |
|
116 |
diff --git a/sci-mathematics/cadabra/files/cadabra-1.33-FLAGS.patch b/sci-mathematics/cadabra/files/cadabra-1.33-FLAGS.patch |
117 |
deleted file mode 100644 |
118 |
index 2d78e9327..000000000 |
119 |
--- a/sci-mathematics/cadabra/files/cadabra-1.33-FLAGS.patch |
120 |
+++ /dev/null |
121 |
@@ -1,171 +0,0 @@ |
122 |
---- Makefile.in.orig 2013-09-05 21:45:20.026339263 +1200 |
123 |
-+++ Makefile.in 2013-09-05 21:48:20.859739672 +1200 |
124 |
-@@ -24,7 +24,7 @@ |
125 |
- ( cd src && $(MAKE) static ); |
126 |
- |
127 |
- profile: |
128 |
-- ( export CFLAGS=-pg && export LDFLAGS=-pg && cd src && $(MAKE) ); |
129 |
-+ ( export CFLAGS="$(CFLAGS) -pg" && CXXFLAGS="$(CXXFLAGS) -pg" && cd src && $(MAKE) ); |
130 |
- |
131 |
- doc: |
132 |
- ( cd doc && $(MAKE) ); |
133 |
---- src/Makefile.in.orig 2013-09-05 21:45:35.546373837 +1200 |
134 |
-+++ src/Makefile.in 2013-09-05 21:53:51.146459582 +1200 |
135 |
-@@ -22,12 +22,13 @@ |
136 |
- |
137 |
- SRCS = `find . -name "*.cc"` |
138 |
- MCFLAGS = @CFLAGS@ -I. -I@top_srcdir@/src `pkg-config modglue --cflags` |
139 |
-+MCXXFLAGS = @CXXFLAGS@ -I. -I@top_srcdir@/src `pkg-config modglue --cflags` |
140 |
- TIMESTAMP = -D"RELEASE=\"${RELEASE}\"" -D"DATETIME=\"`date | sed -e 's/ / /'`\"" -DHOSTNAME=\"`hostname`\" |
141 |
- |
142 |
- |
143 |
- |
144 |
- %.o: %.cc |
145 |
-- @CXX@ ${MCFLAGS} ${TIMESTAMP} -c -o $@ $< |
146 |
-+ @CXX@ ${MCXXFLAGS} ${TIMESTAMP} -c -o $@ $< |
147 |
- |
148 |
- modules/xperm.o: modules/xperm.c |
149 |
- @CC@ @NESTED@ ${MCFLAGS} ${TIMESTAMP} -c -o $@ $< |
150 |
-@@ -42,10 +43,10 @@ |
151 |
- |
152 |
- ifeq ($(strip $(MACTEST)),) |
153 |
- cadabra: $(OBJS) $(MOBJS) |
154 |
-- @CXX@ -o cadabra ${LDFLAGS} -Wl,--as-needed $+ `pkg-config modglue --libs` -lgmpxx -lpcrecpp -lgmp |
155 |
-+ @CXX@ -o cadabra ${MCXXFLAGS} ${LDFLAGS} -Wl,--as-needed $+ `pkg-config modglue --libs` -lgmpxx -lpcrecpp -lgmp |
156 |
- else |
157 |
- cadabra: $(OBJS) $(MOBJS) |
158 |
-- @CXX@ -o cadabra ${LDFLAGS} -Wl,-dead_strip_dylibs $+ `pkg-config modglue --libs` -lgmpxx -lpcrecpp -lgmp |
159 |
-+ @CXX@ -o cadabra ${MCXXFLAGS} ${LDFLAGS} -Wl,-dead_strip_dylibs $+ `pkg-config modglue --libs` -lgmpxx -lpcrecpp -lgmp |
160 |
- endif |
161 |
- |
162 |
- #`pkg-config glib-2.0 --libs` |
163 |
-@@ -53,15 +54,15 @@ |
164 |
- |
165 |
- cadabra_static: $(OBJS) $(MOBJS) |
166 |
- rm -f main.o |
167 |
-- @CXX@ -Wall -g ${MCFLAGS} ${TIMESTAMP} -DSTATICBUILD -c -o main.o main.cc |
168 |
-+ @CXX@ -Wall -g ${MCXXFLAGS} ${TIMESTAMP} -DSTATICBUILD -c -o main.o main.cc |
169 |
- ifeq ($(strip $(MACTEST)),) |
170 |
-- @CXX@ -o cadabra -static $+ ${LDFLAGS} `pkg-config modglue --libs` -lmodglue \ |
171 |
-+ @CXX@ -o cadabra -static ${MCXXFLAGS} $+ ${LDFLAGS} `pkg-config modglue --libs` -lmodglue \ |
172 |
- -lgmpxx -lgmp -lpcrecpp -lpcre \ |
173 |
- `pkg-config sigc++-2.0 --libs` -lsigc-2.0 -lutil |
174 |
- |
175 |
- else |
176 |
- export MACOSX_DEPLOYMENT_TARGET=10.3 |
177 |
-- @CXX@ -o cadabra $+ ${LDFLAGS} `pkg-config modglue --libs` \ |
178 |
-+ @CXX@ -o cadabra ${MCXXFLAGS} $+ ${LDFLAGS} `pkg-config modglue --libs` \ |
179 |
- -lgmp -lgmpxx -lpcre++ -lpcre -lexpect |
180 |
- endif |
181 |
- |
182 |
-@@ -77,32 +78,32 @@ |
183 |
- # @CXX@ -c -o defaults.o defaults.cc |
184 |
- |
185 |
- test_tree: test_tree.o |
186 |
-- @CXX@ -o test_tree test_tree.o |
187 |
-+ @CXX@ ${MCXXFLAGS} -o test_tree test_tree.o |
188 |
- |
189 |
- test_lie: test_lie.o modules/lie.o |
190 |
- ifeq ($(strip $(MACTEST)),) |
191 |
-- @CXX@ -o test_lie test_lie.o modules/lie.o `pkg-config --libs modglue` |
192 |
-+ @CXX@ ${MCXXFLAGS} -o test_lie test_lie.o modules/lie.o `pkg-config --libs modglue` |
193 |
- else |
194 |
-- @CXX@ -o test_lie test_lie.o modules/lie.o `pkg-config --libs modglue` |
195 |
-+ @CXX@ ${MCXXFLAGS} -o test_lie test_lie.o modules/lie.o `pkg-config --libs modglue` |
196 |
- endif |
197 |
- |
198 |
- tree_regression_tests: tree_regression_tests.o |
199 |
-- @CXX@ -o tree_regression_tests tree_regression_tests.o |
200 |
-+ @CXX@ ${MCXXFLAGS} -o tree_regression_tests tree_regression_tests.o |
201 |
- |
202 |
- test_xperm: test_xperm.o modules/xperm.o |
203 |
-- @CXX@ -o test_xperm test_xperm.o modules/xperm.o |
204 |
-+ @CXX@ ${MCXXFLAGS} -o test_xperm test_xperm.o modules/xperm.o |
205 |
- |
206 |
- tree_example: tree_example.o tree.hh |
207 |
-- @CXX@ -o tree_example tree_example.o |
208 |
-+ @CXX@ ${MCXXFLAGS} -o tree_example tree_example.o |
209 |
- |
210 |
- test_combinatorics: test_combinatorics.o combinatorics.o |
211 |
-- @CXX@ -o test_combinatorics test_combinatorics.o combinatorics.o |
212 |
-+ @CXX@ ${MCXXFLAGS} -o test_combinatorics test_combinatorics.o combinatorics.o |
213 |
- |
214 |
- test_young: test_young.o youngtab.o combinatorics.o |
215 |
-- @CXX@ -o test_young test_young.o youngtab.o combinatorics.o ${LDFLAGS} -lgmpxx -lgmp |
216 |
-+ @CXX@ ${MCXXFLAGS} -o test_young test_young.o youngtab.o combinatorics.o ${LDFLAGS} -lgmpxx -lgmp |
217 |
- |
218 |
- test_preprocessor: test_preprocessor.o preprocessor.o |
219 |
-- @CXX@ -o test_preprocessor test_preprocessor.o preprocessor.o ${LDFLAGS} -lgmpxx -lgmp |
220 |
-+ @CXX@ ${MCXXFLAGS} -o test_preprocessor test_preprocessor.o preprocessor.o ${LDFLAGS} -lgmpxx -lgmp |
221 |
- |
222 |
- mpi_pass_tree: mpi_pass_tree.o |
223 |
- @CXX@ -o mpi_pass_tree mpi_pass_tree.o -L/usr/lib/mpich/lib -lmpich++ -lpmpich -lmpich |
224 |
-@@ -133,13 +134,13 @@ |
225 |
- # Then the actual compilation. |
226 |
- |
227 |
- lex.yy.o: lex.yy.c parser2.tab.h |
228 |
-- @CXX@ -c -o lex.yy.o lex.yy.c |
229 |
-+ @CXX@ ${MCXXFLAGS} -c -o lex.yy.o lex.yy.c |
230 |
- |
231 |
- parser2.tab.o: parser2.tab.c |
232 |
-- @CXX@ -c -o parser2.tab.o parser2.tab.c |
233 |
-+ @CXX@ ${MCXXFLAGS} -c -o parser2.tab.o parser2.tab.c |
234 |
- |
235 |
- parser2: parser2.tab.o lex.yy.o storage.o props.o |
236 |
-- @CXX@ -o parser2 $+ -ll -ly -lgmpxx -lgmp -lpcrecpp |
237 |
-+ @CXX@ ${MCXXFLAGS} -o parser2 $+ -ll -ly -lgmpxx -lgmp -lpcrecpp |
238 |
- |
239 |
- |
240 |
- |
241 |
-@@ -170,7 +171,7 @@ |
242 |
- .depend: |
243 |
- rm -f .depend |
244 |
- for i in ${SRCS}; \ |
245 |
-- do @CXX@ ${MCFLAGS} -E -MM -MT `echo $$i | sed -e 's/\.\///' -e 's/\.cc/\.o/'` ${CFLAGS} $$i >> .depend; \ |
246 |
-+ do @CXX@ ${MCXXFLAGS} -E -MM -MT `echo $$i | sed -e 's/\.\///' -e 's/\.cc/\.o/'` ${CXXFLAGS} $$i >> .depend; \ |
247 |
- done |
248 |
- |
249 |
- include .depend |
250 |
---- gui/Makefile.in.orig 2013-09-05 21:45:50.989408184 +1200 |
251 |
-+++ gui/Makefile.in 2013-09-05 21:57:17.495902104 +1200 |
252 |
-@@ -8,26 +8,26 @@ |
253 |
- static: xcadabra_static |
254 |
- |
255 |
- OBJS = help.o widgets.o window.o main.o ../src/stopwatch.o |
256 |
--CFLAGS = -O2 -I. -I@top_srcdir@/include `pkg-config modglue --cflags` `pkg-config --cflags gtkmm-2.4` \ |
257 |
-+MCXXFLAGS = -O2 $(CXXFLAGS) -I. -I@top_srcdir@/include `pkg-config modglue --cflags` `pkg-config --cflags gtkmm-2.4` \ |
258 |
- `pkg-config --cflags pango` |
259 |
- SRCS = `find . -name "*.cc"` |
260 |
- TIMESTAMP = -D"RELEASE=\"${RELEASE}\"" -D"DATETIME=\"`date | sed -e 's/ / /'`\"" -DHOSTNAME=\"`hostname`\" |
261 |
- |
262 |
- %.o: %.cc |
263 |
-- @CXX@ -Wall @CFLAGS@ -D"DESTDIR=\"@prefix@\"" ${TIMESTAMP} ${CFLAGS} -c -o $@ $< |
264 |
-+ @CXX@ -Wall $(MCXXFLAGS) -D"DESTDIR=\"@prefix@\"" ${TIMESTAMP} -c -o $@ $< |
265 |
- |
266 |
- main.o: $(OBJS) Makefile |
267 |
- |
268 |
- xcadabra: $(OBJS) |
269 |
-- @CXX@ -o xcadabra $+ `pkg-config modglue --libs` `pkg-config --libs gtkmm-2.4` -lpcrecpp |
270 |
-+ @CXX@ $(MCXXFLAGS) -o xcadabra $+ $(LDFLAGS) `pkg-config modglue --libs` `pkg-config --libs gtkmm-2.4` -lpcrecpp |
271 |
- |
272 |
- xcadabra_static: $(OBJS) |
273 |
-- @CXX@ -o xcadabra -static $+ -L@prefix@/lib `pkg-config modglue --libs` \ |
274 |
-+ @CXX@ $(MCXXFLAGS) -o xcadabra -static $+ $(LDFLAGS) -L@prefix@/lib `pkg-config modglue --libs` \ |
275 |
- `pkg-config --libs gtkmm-2.4` `pkg-config libxml++-2.6` \ |
276 |
- -lpthread -lexpat |
277 |
- |
278 |
- test_texit: texit.o test_texit.o |
279 |
-- @CXX@ -o test_texit `pkg-config modglue --libs` `pkg-config --libs gtkmm-2.4` $+ |
280 |
-+ @CXX@ $(MCXXFLAGS) -o test_texit `pkg-config modglue --libs` `pkg-config --libs gtkmm-2.4` $+ |
281 |
- |
282 |
- install: |
283 |
- ifeq ($(strip $(MACTEST)),) |
284 |
-@@ -50,7 +50,7 @@ |
285 |
- .depend: |
286 |
- rm -f .depend |
287 |
- for i in ${SRCS}; \ |
288 |
-- do g++ -E -MM -MT `echo $$i | sed -e 's/\.\///' -e 's/\.cc/\.o/'` ${CFLAGS} $$i >> .depend; \ |
289 |
-+ do g++ -E -MM -MT `echo $$i | sed -e 's/\.\///' -e 's/\.cc/\.o/'` ${MCXXFLAGS} $$i >> .depend; \ |
290 |
- done |
291 |
- |
292 |
- include .depend |
293 |
|
294 |
diff --git a/sci-mathematics/cadabra/files/cadabra-1.39-FLAGS.patch b/sci-mathematics/cadabra/files/cadabra-1.39-FLAGS.patch |
295 |
deleted file mode 100644 |
296 |
index 2f18edb2a..000000000 |
297 |
--- a/sci-mathematics/cadabra/files/cadabra-1.39-FLAGS.patch |
298 |
+++ /dev/null |
299 |
@@ -1,171 +0,0 @@ |
300 |
---- Makefile.in |
301 |
-+++ Makefile.in |
302 |
-@@ -24,7 +24,7 @@ |
303 |
- ( cd src && $(MAKE) static ); |
304 |
- |
305 |
- profile: |
306 |
-- ( export CFLAGS=-pg && export LDFLAGS=-pg && cd src && $(MAKE) ); |
307 |
-+ ( export CFLAGS="$(CFLAGS) -pg" && CXXFLAGS="$(CXXFLAGS) -pg" && cd src && $(MAKE) ); |
308 |
- |
309 |
- doc: |
310 |
- ( cd doc && $(MAKE) ); |
311 |
---- gui/Makefile.in |
312 |
-+++ gui/Makefile.in |
313 |
-@@ -8,26 +8,26 @@ |
314 |
- static: xcadabra_static |
315 |
- |
316 |
- OBJS = help.o widgets.o window.o main.o ../src/stopwatch.o |
317 |
--CFLAGS = -O2 -I. -I@top_srcdir@/include `pkg-config modglue --cflags` `pkg-config --cflags gtkmm-2.4` \ |
318 |
-+MCXXFLAGS = -O2 $(CXXFLAGS) -I. -I@top_srcdir@/include `pkg-config modglue --cflags` `pkg-config --cflags gtkmm-2.4` \ |
319 |
- `pkg-config --cflags pango` |
320 |
- SRCS = `find . -name "*.cc"` |
321 |
- TIMESTAMP = -D"RELEASE=\"${RELEASE}\"" -D"DATETIME=\"`date | sed -e 's/ / /'`\"" -DHOSTNAME=\"`hostname`\" |
322 |
- |
323 |
- %.o: %.cc |
324 |
-- @CXX@ -Wall @CFLAGS@ -D"DESTDIR=\"@prefix@\"" ${TIMESTAMP} ${CFLAGS} -c -o $@ $< |
325 |
-+ @CXX@ -Wall $(MCXXFLAGS) -D"DESTDIR=\"@prefix@\"" ${TIMESTAMP} -c -o $@ $< |
326 |
- |
327 |
- main.o: $(OBJS) Makefile |
328 |
- |
329 |
- xcadabra: $(OBJS) |
330 |
-- @CXX@ -o xcadabra $+ `pkg-config modglue --libs` `pkg-config --libs gtkmm-2.4` -lpcrecpp |
331 |
-+ @CXX@ $(MCXXFLAGS) -o xcadabra $+ $(LDFLAGS) `pkg-config modglue --libs` `pkg-config --libs gtkmm-2.4` -lpcrecpp |
332 |
- |
333 |
- xcadabra_static: $(OBJS) |
334 |
-- @CXX@ -o xcadabra -static $+ -L@prefix@/lib `pkg-config modglue --libs` \ |
335 |
-+ @CXX@ $(MCXXFLAGS) -o xcadabra -static $+ $(LDFLAGS) -L@prefix@/lib `pkg-config modglue --libs` \ |
336 |
- `pkg-config --libs gtkmm-2.4` `pkg-config libxml++-2.6` \ |
337 |
- -lpthread -lexpat |
338 |
- |
339 |
- test_texit: texit.o test_texit.o |
340 |
-- @CXX@ -o test_texit `pkg-config modglue --libs` `pkg-config --libs gtkmm-2.4` $+ |
341 |
-+ @CXX@ $(MCXXFLAGS) -o test_texit `pkg-config modglue --libs` `pkg-config --libs gtkmm-2.4` $+ |
342 |
- |
343 |
- install: |
344 |
- ifeq ($(strip $(MACTEST)),) |
345 |
-@@ -50,7 +50,7 @@ |
346 |
- .depend: |
347 |
- rm -f .depend |
348 |
- for i in ${SRCS}; \ |
349 |
-- do g++ -E -MM -MT `echo $$i | sed -e 's/\.\///' -e 's/\.cc/\.o/'` ${CFLAGS} $$i >> .depend; \ |
350 |
-+ do g++ -E -MM -MT `echo $$i | sed -e 's/\.\///' -e 's/\.cc/\.o/'` ${MCXXFLAGS} $$i >> .depend; \ |
351 |
- done |
352 |
- |
353 |
- include .depend |
354 |
-diff -u -r cadabra-1.39.orig/src/Makefile.in cadabra-1.39/src/Makefile.in |
355 |
---- src/Makefile.in |
356 |
-+++ src/Makefile.in |
357 |
-@@ -22,12 +22,13 @@ |
358 |
- |
359 |
- SRCS = `find . -name "*.cc"` |
360 |
- MCFLAGS = @CFLAGS@ -I. -I@top_srcdir@/src `pkg-config modglue --cflags` |
361 |
-+MCXXFLAGS = @CXXFLAGS@ -I. -I@top_srcdir@/src `pkg-config modglue --cflags` |
362 |
- TIMESTAMP = -D"RELEASE=\"${RELEASE}\"" -D"DATETIME=\"`date | sed -e 's/ / /'`\"" -DHOSTNAME=\"`hostname`\" |
363 |
- |
364 |
- |
365 |
- |
366 |
- %.o: %.cc |
367 |
-- @CXX@ ${MCFLAGS} ${TIMESTAMP} -c -o $@ $< |
368 |
-+ @CXX@ ${MCXXFLAGS} ${TIMESTAMP} -c -o $@ $< |
369 |
- |
370 |
- # modules/xperm.o: modules/xperm.c |
371 |
- # @CC@ @NESTED@ ${MCFLAGS} ${TIMESTAMP} -c -o $@ $< |
372 |
-@@ -42,10 +43,10 @@ |
373 |
- |
374 |
- ifeq ($(strip $(MACTEST)),) |
375 |
- cadabra: $(OBJS) $(MOBJS) |
376 |
-- @CXX@ -o cadabra ${LDFLAGS} -Wl,--as-needed $+ `pkg-config modglue --libs` -lgmpxx -lpcrecpp -lgmp |
377 |
-+ @CXX@ -o cadabra ${MCXXFLAGS} ${LDFLAGS} -Wl,--as-needed $+ `pkg-config modglue --libs` -lgmpxx -lpcrecpp -lgmp |
378 |
- else |
379 |
- cadabra: $(OBJS) $(MOBJS) |
380 |
-- @CXX@ -o cadabra ${LDFLAGS} -Wl,-dead_strip_dylibs $+ `pkg-config modglue --libs` -lgmpxx -lpcrecpp -lgmp |
381 |
-+ @CXX@ -o cadabra ${MCXXFLAGS} ${LDFLAGS} -Wl,-dead_strip_dylibs $+ `pkg-config modglue --libs` -lgmpxx -lpcrecpp -lgmp |
382 |
- endif |
383 |
- |
384 |
- #`pkg-config glib-2.0 --libs` |
385 |
-@@ -53,15 +54,15 @@ |
386 |
- |
387 |
- cadabra_static: $(OBJS) $(MOBJS) |
388 |
- rm -f main.o |
389 |
-- @CXX@ -Wall -g ${MCFLAGS} ${TIMESTAMP} -DSTATICBUILD -c -o main.o main.cc |
390 |
-+ @CXX@ -Wall -g ${MCXXFLAGS} ${TIMESTAMP} -DSTATICBUILD -c -o main.o main.cc |
391 |
- ifeq ($(strip $(MACTEST)),) |
392 |
-- @CXX@ -o cadabra -static $+ ${LDFLAGS} `pkg-config modglue --libs` -lmodglue \ |
393 |
-+ @CXX@ -o cadabra -static ${MCXXFLAGS} $+ ${LDFLAGS} `pkg-config modglue --libs` -lmodglue \ |
394 |
- -lgmpxx -lgmp -lpcrecpp -lpcre \ |
395 |
- `pkg-config sigc++-2.0 --libs` -lsigc-2.0 -lutil |
396 |
- |
397 |
- else |
398 |
- export MACOSX_DEPLOYMENT_TARGET=10.3 |
399 |
-- @CXX@ -o cadabra $+ ${LDFLAGS} `pkg-config modglue --libs` \ |
400 |
-+ @CXX@ -o cadabra ${MCXXFLAGS} $+ ${LDFLAGS} `pkg-config modglue --libs` \ |
401 |
- -lgmp -lgmpxx -lpcre++ -lpcre -lexpect |
402 |
- endif |
403 |
- |
404 |
-@@ -77,32 +78,32 @@ |
405 |
- # @CXX@ -c -o defaults.o defaults.cc |
406 |
- |
407 |
- test_tree: test_tree.o |
408 |
-- @CXX@ -o test_tree test_tree.o |
409 |
-+ @CXX@ ${MCXXFLAGS} -o test_tree test_tree.o |
410 |
- |
411 |
- test_lie: test_lie.o modules/lie.o |
412 |
- ifeq ($(strip $(MACTEST)),) |
413 |
-- @CXX@ -o test_lie test_lie.o modules/lie.o `pkg-config --libs modglue` |
414 |
-+ @CXX@ ${MCXXFLAGS} -o test_lie test_lie.o modules/lie.o `pkg-config --libs modglue` |
415 |
- else |
416 |
-- @CXX@ -o test_lie test_lie.o modules/lie.o `pkg-config --libs modglue` |
417 |
-+ @CXX@ ${MCXXFLAGS} -o test_lie test_lie.o modules/lie.o `pkg-config --libs modglue` |
418 |
- endif |
419 |
- |
420 |
- tree_regression_tests: tree_regression_tests.o |
421 |
-- @CXX@ -o tree_regression_tests tree_regression_tests.o |
422 |
-+ @CXX@ ${MCXXFLAGS} -o tree_regression_tests tree_regression_tests.o |
423 |
- |
424 |
- #test_xperm: test_xperm.o modules/xperm_new.o |
425 |
- # @CXX@ -o test_xperm test_xperm.o modules/xperm_new.o |
426 |
- |
427 |
- tree_example: tree_example.o tree.hh |
428 |
-- @CXX@ -o tree_example tree_example.o |
429 |
-+ @CXX@ ${MCXXFLAGS} -o tree_example tree_example.o |
430 |
- |
431 |
- test_combinatorics: test_combinatorics.o combinatorics.o |
432 |
-- @CXX@ -o test_combinatorics test_combinatorics.o combinatorics.o |
433 |
-+ @CXX@ ${MCXXFLAGS} -o test_combinatorics test_combinatorics.o combinatorics.o |
434 |
- |
435 |
- test_young: test_young.o youngtab.o combinatorics.o |
436 |
-- @CXX@ -o test_young test_young.o youngtab.o combinatorics.o ${LDFLAGS} -lgmpxx -lgmp |
437 |
-+ @CXX@ ${MCXXFLAGS} -o test_young test_young.o youngtab.o combinatorics.o ${LDFLAGS} -lgmpxx -lgmp |
438 |
- |
439 |
- test_preprocessor: test_preprocessor.o preprocessor.o |
440 |
-- @CXX@ -o test_preprocessor test_preprocessor.o preprocessor.o ${LDFLAGS} -lgmpxx -lgmp |
441 |
-+ @CXX@ ${MCXXFLAGS} -o test_preprocessor test_preprocessor.o preprocessor.o ${LDFLAGS} -lgmpxx -lgmp |
442 |
- |
443 |
- mpi_pass_tree: mpi_pass_tree.o |
444 |
- @CXX@ -o mpi_pass_tree mpi_pass_tree.o -L/usr/lib/mpich/lib -lmpich++ -lpmpich -lmpich |
445 |
-@@ -133,13 +134,13 @@ |
446 |
- # Then the actual compilation. |
447 |
- |
448 |
- lex.yy.o: lex.yy.c parser2.tab.h |
449 |
-- @CXX@ -c -o lex.yy.o lex.yy.c |
450 |
-+ @CXX@ ${MCXXFLAGS} -c -o lex.yy.o lex.yy.c |
451 |
- |
452 |
- parser2.tab.o: parser2.tab.c |
453 |
-- @CXX@ -c -o parser2.tab.o parser2.tab.c |
454 |
-+ @CXX@ ${MCXXFLAGS} -c -o parser2.tab.o parser2.tab.c |
455 |
- |
456 |
- parser2: parser2.tab.o lex.yy.o storage.o props.o |
457 |
-- @CXX@ -o parser2 $+ -ll -ly -lgmpxx -lgmp -lpcrecpp |
458 |
-+ @CXX@ ${MCXXFLAGS} -o parser2 $+ -ll -ly -lgmpxx -lgmp -lpcrecpp |
459 |
- |
460 |
- |
461 |
- |
462 |
-@@ -170,7 +171,7 @@ |
463 |
- .depend: |
464 |
- rm -f .depend |
465 |
- for i in ${SRCS}; \ |
466 |
-- do @CXX@ ${MCFLAGS} -E -MM -MT `echo $$i | sed -e 's/\.\///' -e 's/\.cc/\.o/'` ${CFLAGS} $$i >> .depend; \ |
467 |
-+ do @CXX@ ${MCXXFLAGS} -E -MM -MT `echo $$i | sed -e 's/\.\///' -e 's/\.cc/\.o/'` ${CXXFLAGS} $$i >> .depend; \ |
468 |
- done |
469 |
- |
470 |
- include .depend |
471 |
|
472 |
diff --git a/sci-mathematics/cadabra/metadata.xml b/sci-mathematics/cadabra/metadata.xml |
473 |
deleted file mode 100644 |
474 |
index 0cc2fca48..000000000 |
475 |
--- a/sci-mathematics/cadabra/metadata.xml |
476 |
+++ /dev/null |
477 |
@@ -1,9 +0,0 @@ |
478 |
-<?xml version="1.0" encoding="UTF-8"?> |
479 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
480 |
-<pkgmetadata> |
481 |
- <maintainer type="project"> |
482 |
- <email>sci-mathematics@g.o</email> |
483 |
- <name>Gentoo Mathematics Project</name> |
484 |
- </maintainer> |
485 |
- <longdescription>Cadabra is a computer algebra system (CAS) designed specifically for the solution of problems encountered in field theory. It has extensive functionality for tensor computer algebra, tensor polynomial simplification including multi-term symmetries, fermions and anti-commuting variables, Clifford algebras and Fierz transformations, implicit coordinate dependence, multiple index types and many more.</longdescription> |
486 |
-</pkgmetadata> |