commit:     0e6e7f2151b2564616f7d4969a0486ab196602e9
Author:     Christoph Junghans <junghans <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 19 19:45:28 2021 +0000
Commit:     Christoph Junghans <junghans <AT> gentoo <DOT> org>
CommitDate: Fri Mar 19 19:45:53 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e6e7f21

sci-libs/votca-tools: live ebuild updates

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Christoph Junghans <junghans <AT> gentoo.org>

 sci-libs/votca-tools/votca-tools-9999.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sci-libs/votca-tools/votca-tools-9999.ebuild 
b/sci-libs/votca-tools/votca-tools-9999.ebuild
index 50be2b65e3b..a0d08f7fa88 100644
--- a/sci-libs/votca-tools/votca-tools-9999.ebuild
+++ b/sci-libs/votca-tools/votca-tools-9999.ebuild
@@ -19,7 +19,8 @@ HOMEPAGE="https://www.votca.org/";
 
 LICENSE="Apache-2.0"
 SLOT="0"
-IUSE=""
+IUSE="test"
+RESTRICT="!test? ( test )"
 
 RDEPEND="
        >=dev-cpp/eigen-3.3
@@ -37,6 +38,7 @@ DOCS=( NOTICE README.rst CHANGELOG.rst )
 src_configure() {
        local mycmakeargs=(
                -DINSTALL_RC_FILES=OFF
+               -DENABLE_TESTING=$(usex test)
        )
        cmake_src_configure
 }

Reply via email to