commit: bd12ec48914fc73b18318814294bdde5c2253358 Author: Christoph Junghans <junghans <AT> gentoo <DOT> org> AuthorDate: Fri Mar 19 19:34:40 2021 +0000 Commit: Christoph Junghans <junghans <AT> gentoo <DOT> org> CommitDate: Fri Mar 19 19:45:52 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd12ec48
sci-chemistry/votca-xtp: live ebuild updates Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Christoph Junghans <junghans <AT> gentoo.org> sci-chemistry/votca-xtp/votca-xtp-9999.ebuild | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/sci-chemistry/votca-xtp/votca-xtp-9999.ebuild b/sci-chemistry/votca-xtp/votca-xtp-9999.ebuild index d9f436b0316..e4c0b6c8a53 100644 --- a/sci-chemistry/votca-xtp/votca-xtp-9999.ebuild +++ b/sci-chemistry/votca-xtp/votca-xtp-9999.ebuild @@ -19,19 +19,28 @@ HOMEPAGE="https://www.votca.org/" LICENSE="Apache-2.0" SLOT="0" -IUSE="" +IUSE="test" +RESTRICT="!test? ( test )" RDEPEND=" >=dev-cpp/eigen-3.3 ~sci-chemistry/votca-csg-${PV} sci-libs/hdf5[cxx] + sci-libs/libecpint sci-libs/libxc ~sci-libs/votca-tools-${PV} " DEPEND="${RDEPEND}" BDEPEND="virtual/pkgconfig" -DOCS=( README.md NOTICE CHANGELOG.md ) +DOCS=( README.rst NOTICE.rst CHANGELOG.rst ) + +src_configure() { + local mycmakeargs=( + -DENABLE_TESTING=$(usex test) + ) + cmake_src_configure +} pkg_postinst() { einfo