From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 finch.gentoo.org (Postfix) with ESMTPS id 4DCB51581EE for ; Sun, 23 Mar 2025 19:05:39 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 2C6733432D3 for ; Sun, 23 Mar 2025 19:05:39 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 391FD1104AD; Sun, 23 Mar 2025 19:05:35 +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 bobolink.gentoo.org (Postfix) with ESMTPS id 2FBD41104AD for ; Sun, 23 Mar 2025 19:05:35 +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 D3D2C34320E for ; Sun, 23 Mar 2025 19:05:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 529922035 for ; Sun, 23 Mar 2025 19:05:33 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1742756701.e077bd9a05daec030de1aa2eba208c0b1e8ad51d.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/catch/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-cpp/catch/Manifest dev-cpp/catch/catch-3.8.0.ebuild X-VCS-Directories: dev-cpp/catch/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: e077bd9a05daec030de1aa2eba208c0b1e8ad51d X-VCS-Branch: master Date: Sun, 23 Mar 2025 19:05:33 +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: 6ea88333-45c8-4b80-8074-6d0becb277cf X-Archives-Hash: 624dedd8b43ac14ba02a131cdd2a6186 commit: e077bd9a05daec030de1aa2eba208c0b1e8ad51d Author: David Seifert gentoo org> AuthorDate: Sun Mar 23 19:05:01 2025 +0000 Commit: David Seifert gentoo org> CommitDate: Sun Mar 23 19:05:01 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e077bd9a dev-cpp/catch: add 3.8.0 Signed-off-by: David Seifert gentoo.org> dev-cpp/catch/Manifest | 1 + dev-cpp/catch/catch-3.8.0.ebuild | 46 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-cpp/catch/Manifest b/dev-cpp/catch/Manifest index 7429a30c903c..f2b3912bdb13 100644 --- a/dev-cpp/catch/Manifest +++ b/dev-cpp/catch/Manifest @@ -1,3 +1,4 @@ DIST Catch-1.12.2.tar.gz 377265 BLAKE2B bc27b4daee950f8fb93d65f3aed032e72bc856ee27a8dc28c35b89e33f414d68ba4cf00951e476688eddf9e4c0514036bd6916fa6cfa9e3359e6c625984f114f SHA512 ed963cdca9fe307ee02928677f81cafcb41cd607faaa315182fdf898d0f2aa28f0be2141bd642f46fdfac400c38f6d065e00a595a1e5879fe2335c4a3851e844 DIST Catch2-2.13.10.tar.gz 662225 BLAKE2B d8a2fb0e6f6a6f1ea25a860975ab596404ed41f4aed979a3c86da0140ce580fc3cbe12d44c1c936bac9ce8ec1813b2cb5d7d161be46c6924026f9645ca13aeaa SHA512 33c2292d5d315128a73f8cff27e92f86f3af30c45ce199297110b3cd2bf7d67a972fbcf7415aed1c467c384e0e3c63900c90faedff1d74c9d94b9e3e43df5ee2 DIST Catch2-3.7.1.tar.gz 1193290 BLAKE2B 2205e74652ea5db2c2b3e56fbfedc71af77ab39741a9e1e8e8771e5cf4d554c75d3b1c57014fb8e2bce538715a4e305103b066ba5603af8b4e45402bbf87cc63 SHA512 e04c676e6bb3d7791f51a1caa770c4675d79b5396c9ba029c01ca0938e53bfa374dce117fccf753a89f3663192c91356acc9bc195e4866d215855df0667faff0 +DIST Catch2-3.8.0.tar.gz 1197237 BLAKE2B 4ff373531c03d59c544f6d36e6fcef4fe778a378c5252202e890cb0b6b382921cf9960cc7865d2ce7ff1b5dd8816e83ab16c96ed880e05a2d2d973cdc973be97 SHA512 a8084d2fc7d792c87b13dc0db6b4bad5222efea79e7f60a6e093019de97619a4d6adc8eef73195cf74f1827c2ca0655d572471d4b7c90a757282f0e6742b6711 diff --git a/dev-cpp/catch/catch-3.8.0.ebuild b/dev-cpp/catch/catch-3.8.0.ebuild new file mode 100644 index 000000000000..61e4b5f067e3 --- /dev/null +++ b/dev-cpp/catch/catch-3.8.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) + +inherit cmake python-any-r1 + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/catchorg/Catch2.git" +else + MY_P=${PN^}2-${PV} + SRC_URI="https://github.com/catchorg/Catch2/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" + S="${WORKDIR}/${MY_P}" + + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +fi + +DESCRIPTION="Modern C++ header-only framework for unit-tests" +HOMEPAGE="https://github.com/catchorg/Catch2" + +LICENSE="Boost-1.0" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND="test? ( ${PYTHON_DEPS} )" + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +src_configure() { + local mycmakeargs=( + -DCATCH_DEVELOPMENT_BUILD=ON + -DCATCH_ENABLE_WERROR=OFF + -DCATCH_BUILD_TESTING=$(usex test) + ) + use test && mycmakeargs+=( + -DPYTHON_EXECUTABLE="${PYTHON}" + ) + + cmake_src_configure +}