summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Vaněk <arkamar@atlas.cz>2023-03-15 15:25:21 +0100
committerSam James <sam@gentoo.org>2023-03-19 03:15:34 +0000
commitb63d160e707dc492ceddafa5ea0773807b2c9071 (patch)
treeb778e3164dbb16765bec388b33821b155d0c49b5 /dev-cpp
parentdev-util/ROPgadget: add 7.3 (diff)
downloadgentoo-b63d160e707dc492ceddafa5ea0773807b2c9071.tar.gz
gentoo-b63d160e707dc492ceddafa5ea0773807b2c9071.tar.bz2
gentoo-b63d160e707dc492ceddafa5ea0773807b2c9071.zip
dev-cpp/doctest: add 2.4.11
Signed-off-by: Petr Vaněk <arkamar@atlas.cz> Closes: https://github.com/gentoo/gentoo/pull/30135 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/doctest/Manifest1
-rw-r--r--dev-cpp/doctest/doctest-2.4.11.ebuild28
2 files changed, 29 insertions, 0 deletions
diff --git a/dev-cpp/doctest/Manifest b/dev-cpp/doctest/Manifest
index 50e73388b4e9..3740e893f5b6 100644
--- a/dev-cpp/doctest/Manifest
+++ b/dev-cpp/doctest/Manifest
@@ -1,2 +1,3 @@
DIST doctest-2.4.10.tar.gz 2297167 BLAKE2B e6d2af9dc9207a1a5d86ebdad16f29a4c4d860334e75f79ded596bf181ff0c334895b5606710993eb9bb1d8c76359063b5ce5c7faa5c371a4315ac53275783e5 SHA512 f3d7c5c45b12a13b5df359727328a519f7a17c92ab868274c8c89e58a573c886ab8da9213ed31634b62a9c92e792e721a71fcb42a3d483b6dff5f6ef7bb03d41
+DIST doctest-2.4.11.tar.gz 2183312 BLAKE2B 277f22f3a9e275dd9f5cfffeeaf8346577223c2b872606f21fe5b8462573917a59a88bb61de145a92be61129396f9b4a87d94f4723e362428b1bd856ed84fcfb SHA512 04425686057079d3f1a6f767c487f1953050f553dbff9fc42b42dde1358fe26e46bf6219881bbfce625f15cb9c229474d82688120eb2cb2b1d8138db0cc91b3c
DIST doctest-2.4.9.tar.gz 2292632 BLAKE2B 7d501eede5a2311117a04a11da5b518fcac4de53a73ba7b14f47395a759bc5d708438f25df61053a16a256ffcdfa37500a6892ef0890aa4df4d9f23533bfb18d SHA512 c7337e2de371c18973a0f4cb76458d6ae387e78874c9bc8aa367ffd2d592514b774e7c5ebf44f83b7046f6b33c6905fd079c36f4c33eadf52b3d651d978182cb
diff --git a/dev-cpp/doctest/doctest-2.4.11.ebuild b/dev-cpp/doctest/doctest-2.4.11.ebuild
new file mode 100644
index 000000000000..b2da0710bd8a
--- /dev/null
+++ b/dev-cpp/doctest/doctest-2.4.11.ebuild
@@ -0,0 +1,28 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="The fastest feature-rich C++11/14/17/20 single-header testing framework"
+HOMEPAGE="https://github.com/doctest/doctest"
+SRC_URI="https://github.com/doctest/doctest/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+src_prepare() {
+ sed -i '/-Werror/d' scripts/cmake/common.cmake || die
+ cmake_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DDOCTEST_WITH_TESTS=$(usex test)
+ )
+ cmake_src_configure
+}