commit:     d67521564bfea24578559d3450435ff2abc83747
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 13 19:46:03 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Mar 13 19:46:03 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6752156

sys-cluster/libcircle: [QA] Clean up ebuild

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sys-cluster/libcircle/libcircle-0.3.0.ebuild | 25 +++++++++++--------------
 1 file changed, 11 insertions(+), 14 deletions(-)

diff --git a/sys-cluster/libcircle/libcircle-0.3.0.ebuild 
b/sys-cluster/libcircle/libcircle-0.3.0.ebuild
index 1193a7cab64..afe8e3a3425 100644
--- a/sys-cluster/libcircle/libcircle-0.3.0.ebuild
+++ b/sys-cluster/libcircle/libcircle-0.3.0.ebuild
@@ -1,37 +1,34 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-if [ "${PV}" = "9999" ]; then
-       EGIT_REPO_URI="https://github.com/hpc/${PN}.git";
-       inherit git-r3
-else
-       
SRC_URI="https://github.com/hpc/${PN}/releases/download/v0.3/${P}.tar.gz";
-       KEYWORDS="~amd64 ~x86 ~amd64-linux"
-fi
-
 DESCRIPTION="API for distributing embarrassingly parallel workloads using 
self-stabilization"
 HOMEPAGE="https://github.com/hpc/libcircle";
+SRC_URI="https://github.com/hpc/libcircle/releases/download/v$(ver_cut 
1-2)/${P}.tar.gz"
 
-SLOT="0"
 LICENSE="BSD"
-IUSE="doc static-libs test"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
+IUSE="doc test"
 RESTRICT="!test? ( test )"
 
 RDEPEND="virtual/mpi"
 DEPEND="${RDEPEND}
-       doc? ( app-doc/doxygen )
        test? ( dev-libs/check )"
+BDEPEND="doc? ( app-doc/doxygen )"
 
 src_configure() {
        econf \
+               --disable-static \
                $(use_enable doc doxygen) \
-               $(use_enable static-libs static) \
                $(use_enable test tests)
 }
 
 src_install() {
-       use doc && HTML_DOCS=( "${S}/doc/html/." )
+       use doc && HTML_DOCS=( doc/html/. )
        default
+
+       # no static archives
+       find "${ED}" -name '*.la' -delete || die
 }

Reply via email to