commit: 856ba3ac14d9e0b770ec5d044ea3db97710390b6
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 1 07:40:14 2020 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Feb 1 07:41:57 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=856ba3ac
sci-mathematics/nestedsums: fix CI issues
Non-maintainer commit, I want my tree synced.
- fix BannedEapiCommand CI issue,
- fix MissingSlash tree issue,
- introduce BDEPEND,
- modernize ebuild with HTML_DOCS and 'default' calls.
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
sci-mathematics/nestedsums/nestedsums-1.5.2.ebuild | 14 +++++---------
1 file changed, 5 insertions(+), 9 deletions(-)
diff --git a/sci-mathematics/nestedsums/nestedsums-1.5.2.ebuild
b/sci-mathematics/nestedsums/nestedsums-1.5.2.ebuild
index e0eff2517d5..86a84599f41 100644
--- a/sci-mathematics/nestedsums/nestedsums-1.5.2.ebuild
+++ b/sci-mathematics/nestedsums/nestedsums-1.5.2.ebuild
@@ -13,8 +13,8 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND=">=sci-mathematics/ginac-1.7"
-DEPEND="${RDEPEND}
- doc? ( app-doc/doxygen )"
+DEPEND="${RDEPEND}"
+BDEPEND="doc? ( app-doc/doxygen )"
src_compile() {
default
@@ -29,11 +29,7 @@ src_test() {
}
src_install() {
- emake DESTDIR="${D}" install
- rm -f "${D}"usr/lib/*.la
- dodoc AUTHORS ChangeLog
-
- if use doc; then
- dohtml reference/html/*
- fi
+ use doc && local HTML_DOCS=( reference/html/. )
+ default
+ find "${D}" -name '*.la' -type f -delete || die
}