commit: 99785a80e0951f6cb4a082ce818c0e4b19c2fd97 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sat May 24 02:59:42 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat May 24 02:59:42 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99785a80
sci-chemistry/dssp: conditionally build tests 9->6 targets when tests are disabled Signed-off-by: Sam James <sam <AT> gentoo.org> sci-chemistry/dssp/dssp-4.5.3.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sci-chemistry/dssp/dssp-4.5.3.ebuild b/sci-chemistry/dssp/dssp-4.5.3.ebuild index 2488a9a03d48..21afe033598e 100644 --- a/sci-chemistry/dssp/dssp-4.5.3.ebuild +++ b/sci-chemistry/dssp/dssp-4.5.3.ebuild @@ -13,7 +13,8 @@ SLOT="0" KEYWORDS="~amd64 ~x86" # doc disabled as it only generates a PDF from the manpage for now # https://github.com/PDB-REDO/dssp/issues/64 -#IUSE="doc" +IUSE="test" +RESTRICT="!test? ( test )" CDEPEND=" dev-libs/boost:=[zlib] @@ -42,6 +43,7 @@ src_configure() { -DINSTALL_LIBRARY=YES #-DBUILD_DOCUMENTATION=$(usex doc) -DBUILD_DOCUMENTATION=NO + -DBUILD_TESTING=$(usex test) ) cmake_src_configure }
