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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2988C158042 for ; Sat, 16 Nov 2024 21:39:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 67CDDE096A; Sat, 16 Nov 2024 21:39:53 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4D966E096A for ; Sat, 16 Nov 2024 21:39:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6A908342F9F for ; Sat, 16 Nov 2024 21:39:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 841A01E89 for ; Sat, 16 Nov 2024 21:39:49 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1731793147.825db0d7f986a69ad55fd3cc26876c17aef1d583.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/clipper2/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-mathematics/clipper2/clipper2-1.4.0.ebuild sci-mathematics/clipper2/metadata.xml X-VCS-Directories: sci-mathematics/clipper2/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 825db0d7f986a69ad55fd3cc26876c17aef1d583 X-VCS-Branch: master Date: Sat, 16 Nov 2024 21:39:49 +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: 85a145d6-9d89-441e-912d-f23e24be0fe8 X-Archives-Hash: a412495f6e702c5e25c33cbab9c1bc53 commit: 825db0d7f986a69ad55fd3cc26876c17aef1d583 Author: Paul Zander gmail com> AuthorDate: Sat Nov 16 02:07:24 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sat Nov 16 21:39:07 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=825db0d7 sci-mathematics/clipper2: update ebuild, add tests Drop RESTRICT=mirror. Enable tests. Add metadata.xml. Add myself as maintainer. Adjust ebuild style to fit the rest my ebuilds. Signed-off-by: Paul Zander gmail.com> Signed-off-by: Sam James gentoo.org> sci-mathematics/clipper2/clipper2-1.4.0.ebuild | 17 ++++++++++++----- sci-mathematics/clipper2/metadata.xml | 15 +++++++++++++++ 2 files changed, 27 insertions(+), 5 deletions(-) diff --git a/sci-mathematics/clipper2/clipper2-1.4.0.ebuild b/sci-mathematics/clipper2/clipper2-1.4.0.ebuild index 530396047bdf..ab2d3bf1ad9c 100644 --- a/sci-mathematics/clipper2/clipper2-1.4.0.ebuild +++ b/sci-mathematics/clipper2/clipper2-1.4.0.ebuild @@ -17,14 +17,21 @@ LICENSE="Boost-1.0" SLOT="0" KEYWORDS="~amd64" -RESTRICT="mirror" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND=" + test? ( dev-cpp/gtest ) +" src_configure() { local mycmakeargs=( - -DCLIPPER2_UTILS=OFF - -DCLIPPER2_EXAMPLES=OFF - -DCLIPPER2_TESTS=OFF - -DCLIPPER2_USINGZ=OFF # manifold src/third_party/CMakeLists.txt + -DCLIPPER2_UTILS="no" + -DCLIPPER2_EXAMPLES="no" + -DCLIPPER2_TESTS="$(usex test)" + -DCLIPPER2_USINGZ="no" # manifold src/third_party/CMakeLists.txt + + -DUSE_EXTERNAL_GTEST="yes" ) cmake_src_configure } diff --git a/sci-mathematics/clipper2/metadata.xml b/sci-mathematics/clipper2/metadata.xml new file mode 100644 index 000000000000..fda0c60d4c9e --- /dev/null +++ b/sci-mathematics/clipper2/metadata.xml @@ -0,0 +1,15 @@ + + + + + negril.nx+gentoo@gmail.com + Paul Zander + + + proxy-maint@gentoo.org + Proxy Maintainers + + + AngusJohnson/Clipper2 + +