1 |
commit: 683ba92cd683c98b803b8cb34030046a5a8e45cb |
2 |
Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr> |
3 |
AuthorDate: Sun Jan 31 21:10:28 2021 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 31 21:10:28 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=683ba92c |
7 |
|
8 |
sci-mathematics/nestedsums: Drop USE=static-libs |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/19281 |
11 |
Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr> |
12 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
13 |
|
14 |
.../nestedsums/nestedsums-1.5.2-r1.ebuild | 31 +++++++++------------- |
15 |
1 file changed, 12 insertions(+), 19 deletions(-) |
16 |
|
17 |
diff --git a/sci-mathematics/nestedsums/nestedsums-1.5.2-r1.ebuild b/sci-mathematics/nestedsums/nestedsums-1.5.2-r1.ebuild |
18 |
index 99a09d617d4..862b5e97fa2 100644 |
19 |
--- a/sci-mathematics/nestedsums/nestedsums-1.5.2-r1.ebuild |
20 |
+++ b/sci-mathematics/nestedsums/nestedsums-1.5.2-r1.ebuild |
21 |
@@ -1,24 +1,26 @@ |
22 |
-# Copyright 1999-2020 Gentoo Authors |
23 |
+# Copyright 1999-2021 Gentoo Authors |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
EAPI=7 |
27 |
|
28 |
-inherit multilib flag-o-matic |
29 |
+inherit flag-o-matic |
30 |
|
31 |
DESCRIPTION="A GiNaC-based library for symbolic expansion of certain transcendental functions" |
32 |
HOMEPAGE="https://particlephysics.uni-mainz.de/weinzierl/nestedsums/" |
33 |
-IUSE="doc static-libs" |
34 |
SRC_URI="http://particlephysics.uni-mainz.de/weinzierl/download/${P}.tar.gz" |
35 |
+ |
36 |
LICENSE="GPL-2" |
37 |
SLOT="0" |
38 |
KEYWORDS="~amd64 ~x86" |
39 |
-RDEPEND=">=sci-mathematics/ginac-1.7[static-libs=]" |
40 |
-DEPEND="${RDEPEND} |
41 |
- doc? ( app-doc/doxygen )" |
42 |
+IUSE="doc" |
43 |
+ |
44 |
+RDEPEND=">=sci-mathematics/ginac-1.7" |
45 |
+DEPEND="${RDEPEND}" |
46 |
+BDEPEND="doc? ( app-doc/doxygen )" |
47 |
|
48 |
src_configure() { |
49 |
append-cxxflags -std=c++14 |
50 |
- econf $(use_enable static-libs static) |
51 |
+ econf --disable-static |
52 |
} |
53 |
|
54 |
src_compile() { |
55 |
@@ -26,20 +28,11 @@ src_compile() { |
56 |
|
57 |
if use doc; then |
58 |
doxygen Doxyfile || die "generating documentation failed" |
59 |
+ HTML_DOCS=( reference/html/. ) |
60 |
fi |
61 |
} |
62 |
|
63 |
-src_test() { |
64 |
- emake check |
65 |
-} |
66 |
- |
67 |
src_install() { |
68 |
- emake DESTDIR="${D}" install |
69 |
- rm "${D}"/usr/$(get_libdir)/lib${PN}.la || die "cannot rm lib${PN}.la" |
70 |
- dodoc AUTHORS ChangeLog |
71 |
- |
72 |
- if use doc; then |
73 |
- docinto html |
74 |
- dodoc -r reference/html/. |
75 |
- fi |
76 |
+ default |
77 |
+ find "${ED}" -name '*.la' -delete || die |
78 |
} |