summaryrefslogtreecommitdiff
path: root/dev-cpp/catch
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-03-12 12:05:49 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-03-12 12:05:49 +0000
commit090216a39ee5ab584838d745b5d72018ba448ff0 (patch)
tree57d70390c364ce8c3f8bed936330739505414915 /dev-cpp/catch
parent1b08c9751c34c3c71432dc748f2a20eee4b57f18 (diff)
downloadbaldeagleos-repo-090216a39ee5ab584838d745b5d72018ba448ff0.tar.gz
baldeagleos-repo-090216a39ee5ab584838d745b5d72018ba448ff0.tar.xz
baldeagleos-repo-090216a39ee5ab584838d745b5d72018ba448ff0.zip
Adding metadata
Diffstat (limited to 'dev-cpp/catch')
-rw-r--r--dev-cpp/catch/Manifest1
-rw-r--r--dev-cpp/catch/catch-1.12.2-r1.ebuild4
-rw-r--r--dev-cpp/catch/catch-1.9999.ebuild4
-rw-r--r--dev-cpp/catch/catch-3.3.2.ebuild46
4 files changed, 49 insertions, 6 deletions
diff --git a/dev-cpp/catch/Manifest b/dev-cpp/catch/Manifest
index 739dd9a0cc57..34cefe2aa4fb 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.8.tar.gz 661711 BLAKE2B 973cc73c1d158140645003e76c0baf85a65252041fdcae3c6ecb1857021f2d24d8e879fec5f00368f4f458e69b450603a1613ac587417725980f1dbfe3ff2e65 SHA512 68a45efa47beb3c85d2d7b8a8eba89b8ec1664b4a72bb223227fef1632778aeaf5cf5cc09f40e47aef50426c8661c7d6a69c2dab0b88fbbf7d9a6b2974d6e32e
DIST Catch2-3.0.1.tar.gz 1020413 BLAKE2B 91c207bb67b9d97191fcd5b3f50df66c7d671aabb4deb989b6d838eba205e981d6dc51fb82d7c13d65751746215abc769a0274da9ee0512a53c4afbeb3540efb SHA512 065094c19cdf98b40f96a390e887542f895495562a91cdc28d68ce03690866d846ec87d320405312a2b97eacaa5351d3e55f0012bb9de40073c8d4444d82b0a1
+DIST Catch2-3.3.2.tar.gz 1102862 BLAKE2B d574added7487e245e53290a523015621eb96b0d4c39567b7ca1f7f6ef339a101776890fa3ab99899b0707955d2382310071568c1e1c5e9c7ae2b048aeaecb51 SHA512 3d0c5666509a19be54ea0c48a3c8e1c4a951a2d991a7c9f7fe6d326661464538f1ab9dc573b1b2647f49fb6bef45bbd866142a4ce0fba38545ad182b8d55f61f
diff --git a/dev-cpp/catch/catch-1.12.2-r1.ebuild b/dev-cpp/catch/catch-1.12.2-r1.ebuild
index 42c555075f8c..3419ae223a99 100644
--- a/dev-cpp/catch/catch-1.12.2-r1.ebuild
+++ b/dev-cpp/catch/catch-1.12.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -25,8 +25,6 @@ SLOT="1"
IUSE="test"
RESTRICT="!test? ( test )"
-RDEPEND="!<dev-cpp/catch-1.12.2:0"
-
PATCHES=(
"${FILESDIR}"/${PN}-1.12.2-glibc-2.34-sigstksz.patch
)
diff --git a/dev-cpp/catch/catch-1.9999.ebuild b/dev-cpp/catch/catch-1.9999.ebuild
index 9b275ede9827..7f4b4d5742e4 100644
--- a/dev-cpp/catch/catch-1.9999.ebuild
+++ b/dev-cpp/catch/catch-1.9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -25,8 +25,6 @@ SLOT="1"
IUSE="test"
RESTRICT="!test? ( test )"
-RDEPEND="!<dev-cpp/catch-1.12.2:0"
-
src_configure() {
local mycmakeargs=(
-DNO_SELFTEST=$(usex !test)
diff --git a/dev-cpp/catch/catch-3.3.2.ebuild b/dev-cpp/catch/catch-3.3.2.ebuild
new file mode 100644
index 000000000000..6c80f66bef1f
--- /dev/null
+++ b/dev-cpp/catch/catch-3.3.2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{7,8,9,10,11} )
+
+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 ~ia64 ~loong ~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
+}