commit: 8b6b4865a7bb2712884e7f7a7c97a9f08adbf370 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Sun Jul 27 21:20:23 2025 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Mon Jul 28 17:59:16 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b6b4865
dev-libs/unittest++: drop 2.0.0-r2 Bug: https://bugs.gentoo.org/956327 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> dev-libs/unittest++/unittest++-2.0.0-r2.ebuild | 49 -------------------------- 1 file changed, 49 deletions(-) diff --git a/dev-libs/unittest++/unittest++-2.0.0-r2.ebuild b/dev-libs/unittest++/unittest++-2.0.0-r2.ebuild deleted file mode 100644 index 19a3ddc5e6e1..000000000000 --- a/dev-libs/unittest++/unittest++-2.0.0-r2.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake - -MY_PN="unittest-cpp" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="A lightweight unit testing framework for C++" -HOMEPAGE="https://unittest-cpp.github.io/" -SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="test" -RESTRICT="!test? ( test )" - -PATCHES=( - # https://github.com/unittest-cpp/unittest-cpp/commit/2423fcac7668aa9c331a2dcf024c3ca06742942d - "${FILESDIR}"/${P}-fix-tests-with-clang.patch - - "${FILESDIR}"/${P}-cmake-fix-pkgconfig-dir-path-on-FreeBSD.patch - "${FILESDIR}"/${P}-Add-support-for-LIB_SUFFIX.patch -) - -src_prepare() { - cmake_src_prepare - - # https://github.com/unittest-cpp/unittest-cpp/pull/163 - sed -i '/run unit tests as post build step/,/Running unit tests/d' \ - CMakeLists.txt || die -} - -src_configure() { - local mycmakeargs=( - # Don't build with -Werror: https://bugs.gentoo.org/747583 - -DUTPP_AMPLIFY_WARNINGS=OFF - -DUTPP_INCLUDE_TESTS_IN_BUILD=$(usex test) - ) - cmake_src_configure -} - -src_test() { - "${BUILD_DIR}/TestUnitTest++" || die "Tests failed" -}
