1 |
commit: 6c551d91e87ae3785005be586a3421c8e9aa8be7 |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 22 07:40:08 2015 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 22 07:40:08 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=6c551d91 |
7 |
|
8 |
sci-mathematics/cadabra: Fix unknown deps |
9 |
|
10 |
drop old |
11 |
|
12 |
Package-Manager: portage-2.2.21 |
13 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
14 |
|
15 |
sci-mathematics/cadabra/cadabra-1.33.ebuild | 88 ----------------------------- |
16 |
sci-mathematics/cadabra/cadabra-1.39.ebuild | 11 ++-- |
17 |
2 files changed, 6 insertions(+), 93 deletions(-) |
18 |
|
19 |
diff --git a/sci-mathematics/cadabra/cadabra-1.33.ebuild b/sci-mathematics/cadabra/cadabra-1.33.ebuild |
20 |
deleted file mode 100644 |
21 |
index 5886476..0000000 |
22 |
--- a/sci-mathematics/cadabra/cadabra-1.33.ebuild |
23 |
+++ /dev/null |
24 |
@@ -1,88 +0,0 @@ |
25 |
-# Copyright 1999-2014 Gentoo Foundation |
26 |
-# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Id$ |
28 |
- |
29 |
-EAPI="5" |
30 |
- |
31 |
-inherit eutils texlive-common |
32 |
- |
33 |
-DESCRIPTION="Field-theory motivated computer algebra system" |
34 |
-HOMEPAGE="http://cadabra.phi-sci.com" |
35 |
-SRC_URI="http://cadabra.phi-sci.com/${P}.tar.gz" |
36 |
- |
37 |
-LICENSE="GPL-2" |
38 |
-SLOT="0" |
39 |
-KEYWORDS="~amd64 ~x86" |
40 |
-IUSE="doc examples X test" |
41 |
- |
42 |
-CDEPEND=" |
43 |
- sci-libs/modglue |
44 |
- sci-mathematics/lie |
45 |
- dev-libs/gmp[cxx] |
46 |
- dev-libs/libpcre |
47 |
- X? ( |
48 |
- x11-libs/gtk+:2 |
49 |
- dev-cpp/gtkmm:2.4 |
50 |
- dev-cpp/pangomm:1.4 |
51 |
- app-text/dvipng )" |
52 |
-DEPEND="${CDEPEND} |
53 |
- doc? ( |
54 |
- app-doc/doxygen |
55 |
- dev-texlive/texlive-latexextra |
56 |
- || ( app-text/texlive-core dev-tex/pdftex ) ) |
57 |
- test? ( sys-process/time )" |
58 |
-RDEPEND="${CDEPEND} |
59 |
- virtual/latex-base |
60 |
- dev-texlive/texlive-latexrecommended" |
61 |
- |
62 |
-src_prepare(){ |
63 |
- # fixing the flag mess |
64 |
- epatch "${FILESDIR}/${PN}-1.33-FLAGS.patch" |
65 |
-} |
66 |
- |
67 |
-src_configure(){ |
68 |
- econf $(use_enable X gui) \ |
69 |
- --disable-runtime-dependency-check |
70 |
-} |
71 |
- |
72 |
-src_compile() { |
73 |
- default |
74 |
- |
75 |
- if use doc; then |
76 |
- cd "${S}/doc" |
77 |
- emake |
78 |
- cd doxygen/latex |
79 |
- emake pdf |
80 |
- fi |
81 |
-} |
82 |
- |
83 |
-src_install() { |
84 |
- # cadabra strip binaries unless you are on OS X. |
85 |
- # So faking it to avoid outright stripping. |
86 |
- emake DESTDIR="${D}" DEVDESTDIR="${D}" MACTEST=1 install |
87 |
- |
88 |
- dodoc AUTHORS ChangeLog INSTALL |
89 |
- |
90 |
- if use doc; then |
91 |
- cd "${S}/doc/doxygen" |
92 |
- dohtml html/* |
93 |
- dodoc latex/*.pdf |
94 |
- fi |
95 |
- |
96 |
- if use examples; then |
97 |
- dodoc -r "${S}/examples/" |
98 |
- fi |
99 |
- |
100 |
- rm -rf "${D}/usr/share/TeXmacs" || die |
101 |
-} |
102 |
- |
103 |
-pkg_postinst() { |
104 |
- etexmf-update |
105 |
- elog "This version of the cadabra ebuild is still under development." |
106 |
- elog "Help us improve the ebuild in:" |
107 |
- elog "http://bugs.gentoo.org/show_bug.cgi?id= 194393" |
108 |
-} |
109 |
- |
110 |
-pkg_postrm() { |
111 |
- etexmf-update |
112 |
-} |
113 |
|
114 |
diff --git a/sci-mathematics/cadabra/cadabra-1.39.ebuild b/sci-mathematics/cadabra/cadabra-1.39.ebuild |
115 |
index cdb3661..ce3603b 100644 |
116 |
--- a/sci-mathematics/cadabra/cadabra-1.39.ebuild |
117 |
+++ b/sci-mathematics/cadabra/cadabra-1.39.ebuild |
118 |
@@ -1,4 +1,4 @@ |
119 |
-# Copyright 1999-2014 Gentoo Foundation |
120 |
+# Copyright 1999-2015 Gentoo Foundation |
121 |
# Distributed under the terms of the GNU General Public License v2 |
122 |
# $Id$ |
123 |
|
124 |
@@ -29,7 +29,8 @@ DEPEND="${CDEPEND} |
125 |
doc? ( |
126 |
app-doc/doxygen |
127 |
dev-texlive/texlive-latexextra |
128 |
- || ( app-text/texlive-core dev-tex/pdftex ) ) |
129 |
+ app-text/texlive-core |
130 |
+ ) |
131 |
test? ( sys-process/time )" |
132 |
RDEPEND="${CDEPEND} |
133 |
virtual/latex-base |
134 |
@@ -49,9 +50,9 @@ src_compile() { |
135 |
default |
136 |
|
137 |
if use doc; then |
138 |
- cd "${S}/doc" |
139 |
+ cd "${S}/doc" || die |
140 |
emake |
141 |
- cd doxygen/latex |
142 |
+ cd doxygen/latex || die |
143 |
emake pdf |
144 |
fi |
145 |
} |
146 |
@@ -64,7 +65,7 @@ src_install() { |
147 |
dodoc AUTHORS ChangeLog INSTALL |
148 |
|
149 |
if use doc; then |
150 |
- cd "${S}/doc/doxygen" |
151 |
+ cd "${S}/doc/doxygen" || die |
152 |
dohtml html/* |
153 |
dodoc latex/*.pdf |
154 |
fi |