commit:     216ce5963f0ca5a437609f4a1fc3176bce9e13a6
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Tue Mar  3 16:01:19 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Tue Mar  3 16:01:19 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=216ce596

sys-cluster/er: Builds with mpi even if USE="-mpi"

got rid of src_configure and IUSE="mpi"
also made description a bit shorter to make
repoman happy

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 sys-cluster/er/er-0.0.3.ebuild | 15 +++------------
 1 file changed, 3 insertions(+), 12 deletions(-)

diff --git a/sys-cluster/er/er-0.0.3.ebuild b/sys-cluster/er/er-0.0.3.ebuild
index 715cc2b..e505a2a 100644
--- a/sys-cluster/er/er-0.0.3.ebuild
+++ b/sys-cluster/er/er-0.0.3.ebuild
@@ -5,19 +5,17 @@ EAPI="7"
 
 inherit cmake-utils
 
-DESCRIPTION="High-level distributed erasure coding library combining 
functionality of shuffile and redset"
+DESCRIPTION="High-level distributed erasure coding lib combining shuffile  and 
redset"
 HOMEPAGE="https://github.com/ECP-VeloC/er";
 SRC_URI="https://github.com/ECP-VeloC/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="mpi test"
-RESTRICT="!test? ( test )"
 
 RDEPEND="
-       mpi? ( virtual/mpi )
-       sys-cluster/KVTree
+       virtual/mpi
+       sys-cluster/KVTree[mpi]
        sys-cluster/redset
        sys-cluster/shuffile
        sys-libs/zlib
@@ -33,10 +31,3 @@ src_prepare() {
        default
        cmake-utils_src_prepare
 }
-
-src_configure() {
-       local mycmakeargs=(
-               -DMPI="$(usex mpi "" OFF)"
-       )
-       cmake-utils_src_configure
-}

Reply via email to