summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2021-03-13 20:46:03 +0100
committerDavid Seifert <soap@gentoo.org>2021-03-13 20:46:03 +0100
commitd67521564bfea24578559d3450435ff2abc83747 (patch)
tree202e0eff29560f96782d2e7710bef35a371f3b21 /sys-cluster/libcircle/libcircle-0.3.0.ebuild
parentdev-lang/go: remove 1.14 (diff)
downloadgentoo-d67521564bfea24578559d3450435ff2abc83747.tar.gz
gentoo-d67521564bfea24578559d3450435ff2abc83747.tar.bz2
gentoo-d67521564bfea24578559d3450435ff2abc83747.zip
sys-cluster/libcircle: [QA] Clean up ebuild
Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sys-cluster/libcircle/libcircle-0.3.0.ebuild')
-rw-r--r--sys-cluster/libcircle/libcircle-0.3.0.ebuild25
1 files 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 1193a7cab64f..afe8e3a3425a 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
}