From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 963701382C5 for ; Fri, 19 Mar 2021 19:46:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AE5ABE08CD; Fri, 19 Mar 2021 19:46:03 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 98694E08CD for ; Fri, 19 Mar 2021 19:46:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4DCDE335D61 for ; Fri, 19 Mar 2021 19:46:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 70B0C4A5 for ; Fri, 19 Mar 2021 19:46:00 +0000 (UTC) From: "Christoph Junghans" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Christoph Junghans" Message-ID: <1616183152.bd12ec48914fc73b18318814294bdde5c2253358.junghans@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/votca-xtp/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-chemistry/votca-xtp/votca-xtp-9999.ebuild X-VCS-Directories: sci-chemistry/votca-xtp/ X-VCS-Committer: junghans X-VCS-Committer-Name: Christoph Junghans X-VCS-Revision: bd12ec48914fc73b18318814294bdde5c2253358 X-VCS-Branch: master Date: Fri, 19 Mar 2021 19:46:00 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2d7e1ad6-e2d9-413c-b620-65e20a149754 X-Archives-Hash: de24792b46342edb1d78a194fad634d9 commit: bd12ec48914fc73b18318814294bdde5c2253358 Author: Christoph Junghans gentoo org> AuthorDate: Fri Mar 19 19:34:40 2021 +0000 Commit: Christoph Junghans gentoo 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 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