sci-mathematics/nestedsums: fix CI issues
authorJoonas Niilola <juippis@gentoo.org>
Sat, 1 Feb 2020 07:40:14 +0000 (09:40 +0200)
committerJoonas Niilola <juippis@gentoo.org>
Sat, 1 Feb 2020 07:41:57 +0000 (09:41 +0200)
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@gentoo.org>
sci-mathematics/nestedsums/nestedsums-1.5.2.ebuild

index e0eff2517d5678c9afad23a36c2e6c119e537755..86a84599f41cf537d80b4a0aa26d126fb45e3e31 100644 (file)
@@ -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
 }