mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
dev-cpp/doctest: add 2.4.12
Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST doctest-2.4.11.tar.gz 2183312 BLAKE2B 277f22f3a9e275dd9f5cfffeeaf8346577223c2b872606f21fe5b8462573917a59a88bb61de145a92be61129396f9b4a87d94f4723e362428b1bd856ed84fcfb SHA512 04425686057079d3f1a6f767c487f1953050f553dbff9fc42b42dde1358fe26e46bf6219881bbfce625f15cb9c229474d82688120eb2cb2b1d8138db0cc91b3c
|
||||
DIST doctest-2.4.12.tar.gz 2188849 BLAKE2B 94f2eb2988a175f52b1e75f4d84cfdce278ed647825d5a845284622efa9a9a921f958d0cf21e9215e0afebdcfa3ae82f87cc8b5d78f2ec7a3ef07b07457e81f7 SHA512 d55aae632e6d66add7b65d0e97bde5063cdae7512836f278613af35957c62dbc6b0b0febbe2eb1eddd334a7a5343faca7357a2eeebbf1428cafffeb5d18e610c
|
||||
|
||||
32
dev-cpp/doctest/doctest-2.4.12.ebuild
Normal file
32
dev-cpp/doctest/doctest-2.4.12.ebuild
Normal file
@@ -0,0 +1,32 @@
|
||||
# Copyright 2022-2025 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 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-2.4.11-backport-pr770.patch"
|
||||
)
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user