1 |
commit: 856ba3ac14d9e0b770ec5d044ea3db97710390b6 |
2 |
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 1 07:40:14 2020 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 1 07:41:57 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=856ba3ac |
7 |
|
8 |
sci-mathematics/nestedsums: fix CI issues |
9 |
|
10 |
Non-maintainer commit, I want my tree synced. |
11 |
- fix BannedEapiCommand CI issue, |
12 |
- fix MissingSlash tree issue, |
13 |
- introduce BDEPEND, |
14 |
- modernize ebuild with HTML_DOCS and 'default' calls. |
15 |
|
16 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
17 |
|
18 |
sci-mathematics/nestedsums/nestedsums-1.5.2.ebuild | 14 +++++--------- |
19 |
1 file changed, 5 insertions(+), 9 deletions(-) |
20 |
|
21 |
diff --git a/sci-mathematics/nestedsums/nestedsums-1.5.2.ebuild b/sci-mathematics/nestedsums/nestedsums-1.5.2.ebuild |
22 |
index e0eff2517d5..86a84599f41 100644 |
23 |
--- a/sci-mathematics/nestedsums/nestedsums-1.5.2.ebuild |
24 |
+++ b/sci-mathematics/nestedsums/nestedsums-1.5.2.ebuild |
25 |
@@ -13,8 +13,8 @@ LICENSE="GPL-2" |
26 |
SLOT="0" |
27 |
KEYWORDS="~amd64 ~x86" |
28 |
RDEPEND=">=sci-mathematics/ginac-1.7" |
29 |
-DEPEND="${RDEPEND} |
30 |
- doc? ( app-doc/doxygen )" |
31 |
+DEPEND="${RDEPEND}" |
32 |
+BDEPEND="doc? ( app-doc/doxygen )" |
33 |
|
34 |
src_compile() { |
35 |
default |
36 |
@@ -29,11 +29,7 @@ src_test() { |
37 |
} |
38 |
|
39 |
src_install() { |
40 |
- emake DESTDIR="${D}" install |
41 |
- rm -f "${D}"usr/lib/*.la |
42 |
- dodoc AUTHORS ChangeLog |
43 |
- |
44 |
- if use doc; then |
45 |
- dohtml reference/html/* |
46 |
- fi |
47 |
+ use doc && local HTML_DOCS=( reference/html/. ) |
48 |
+ default |
49 |
+ find "${D}" -name '*.la' -type f -delete || die |
50 |
} |