diff options
| author | BaldEagleOS Migration <dev@baldeagleos.com> | 2026-06-01 17:33:07 -0500 |
|---|---|---|
| committer | BaldEagleOS Migration <dev@baldeagleos.com> | 2026-06-01 17:33:07 -0500 |
| commit | 9940acdf7308f3fd603561fa85bdd2753a8fb2f5 (patch) | |
| tree | 192d76f303d788d3488ce7515e63c5f04270a8b1 /dev-cpp/catch | |
| parent | 9513d72c2b000ea9949dbc875636aaef1b8ef236 (diff) | |
| download | baldeagleos-repo-9940acdf7308f3fd603561fa85bdd2753a8fb2f5.tar.gz baldeagleos-repo-9940acdf7308f3fd603561fa85bdd2753a8fb2f5.tar.xz baldeagleos-repo-9940acdf7308f3fd603561fa85bdd2753a8fb2f5.zip | |
Adding metadata
Diffstat (limited to 'dev-cpp/catch')
| -rw-r--r-- | dev-cpp/catch/Manifest | 1 | ||||
| -rw-r--r-- | dev-cpp/catch/catch-2.13.10.ebuild | 2 | ||||
| -rw-r--r-- | dev-cpp/catch/catch-3.15.0.ebuild | 46 |
3 files changed, 48 insertions, 1 deletions
diff --git a/dev-cpp/catch/Manifest b/dev-cpp/catch/Manifest index 7c30cefc9d49..3656d87481e0 100644 --- a/dev-cpp/catch/Manifest +++ b/dev-cpp/catch/Manifest @@ -2,3 +2,4 @@ DIST Catch-1.12.2.tar.gz 377265 BLAKE2B bc27b4daee950f8fb93d65f3aed032e72bc856ee DIST Catch2-2.13.10.tar.gz 662225 BLAKE2B d8a2fb0e6f6a6f1ea25a860975ab596404ed41f4aed979a3c86da0140ce580fc3cbe12d44c1c936bac9ce8ec1813b2cb5d7d161be46c6924026f9645ca13aeaa SHA512 33c2292d5d315128a73f8cff27e92f86f3af30c45ce199297110b3cd2bf7d67a972fbcf7415aed1c467c384e0e3c63900c90faedff1d74c9d94b9e3e43df5ee2 DIST Catch2-3.12.0.tar.gz 1416567 BLAKE2B bb210f8dd242fc7cedbbec3f7dcb79e6ec75d2f01a877dfafb148ab44eda10878a929961e87cc26662feda713d3dc5b77ef8ced81dd619f5217e19ac8dd91b7f SHA512 acb3f463a7404d6a3bce52e474075cdadf9bb241d93feaf147c182d756e5a2f8bd412f4658ca186d15ab8fed36fc587d79ec311f55642d8e4ded16df9e213656 DIST Catch2-3.13.0.tar.gz 1184015 BLAKE2B 291f7ac76964c9a85a00f76a58595c38f090adecd5217ee58604412158bafc8306d8eb7738c1de4fa48648f8e6a4546f5cd0eba636574cac0ac836b0eee7b986 SHA512 7eea385d79d88a5690cde131fe7ccda97d5c54ea09d6f515000d7bf07c828809d61c1ac99912c1ee507cf933f61c1c47ecdcc45df7850ffa82714034b0fccf35 +DIST Catch2-3.15.0.tar.gz 1191813 BLAKE2B 4e44ad6824c029281cfc2e46c3a1822e36cd2877715936e1d21e1f2a033821bafea37a3a7c4bfeea8e82c983a5b1c2530a908058b237653e7ad185d30850eb50 SHA512 09df8b291d0c756c492871ce0a4fb5c703162d1364a9864470b227d4d19d9865a0ba5293a5f38d0117cbc7c230f42be35db9f6e0ca5d889dff02f1745807f380 diff --git a/dev-cpp/catch/catch-2.13.10.ebuild b/dev-cpp/catch/catch-2.13.10.ebuild index 4c8244d5cf86..bc0ffd090b60 100644 --- a/dev-cpp/catch/catch-2.13.10.ebuild +++ b/dev-cpp/catch/catch-2.13.10.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) inherit cmake python-any-r1 diff --git a/dev-cpp/catch/catch-3.15.0.ebuild b/dev-cpp/catch/catch-3.15.0.ebuild new file mode 100644 index 000000000000..bc84098c0f7c --- /dev/null +++ b/dev-cpp/catch/catch-3.15.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..14} ) + +inherit cmake-multilib 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 +} + +multilib_src_configure() { + local mycmakeargs=( + -DCATCH_DEVELOPMENT_BUILD=ON + -DCATCH_ENABLE_WERROR=OFF + -DCATCH_BUILD_TESTING=$(usex test) + ) + use test && mycmakeargs+=( + -DPython3_EXECUTABLE="${PYTHON}" + ) + + cmake_src_configure +} |
