diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-03-12 22:26:51 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-03-13 00:35:29 +0100 |
commit | 918191e9564fd6275b8b563b7d967eaecd2e61bb (patch) | |
tree | 9c1b697130fb10c2bb29fe2e9ad5ddca9d19d53e /dev-libs/unittest++ | |
parent | app-dicts/aspell-sk: bump to version 2.02.0 (diff) | |
download | gentoo-918191e9564fd6275b8b563b7d967eaecd2e61bb.tar.gz gentoo-918191e9564fd6275b8b563b7d967eaecd2e61bb.tar.bz2 gentoo-918191e9564fd6275b8b563b7d967eaecd2e61bb.zip |
dev-libs/unittest++: Drop 2.0.0 (r0) and 2.0.0-r1
Bug: https://bugs.gentoo.org/770706
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-libs/unittest++')
-rw-r--r-- | dev-libs/unittest++/unittest++-2.0.0-r1.ebuild | 44 | ||||
-rw-r--r-- | dev-libs/unittest++/unittest++-2.0.0.ebuild | 42 |
2 files changed, 0 insertions, 86 deletions
diff --git a/dev-libs/unittest++/unittest++-2.0.0-r1.ebuild b/dev-libs/unittest++/unittest++-2.0.0-r1.ebuild deleted file mode 100644 index 4744a8bd5dd9..000000000000 --- a/dev-libs/unittest++/unittest++-2.0.0-r1.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2020 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="~amd64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -# https://github.com/unittest-cpp/unittest-cpp/commit/2423fcac7668aa9c331a2dcf024c3ca06742942d -PATCHES=( "${FILESDIR}/${P}-fix-tests-with-clang.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" -} diff --git a/dev-libs/unittest++/unittest++-2.0.0.ebuild b/dev-libs/unittest++/unittest++-2.0.0.ebuild deleted file mode 100644 index 88339de12284..000000000000 --- a/dev-libs/unittest++/unittest++-2.0.0.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cmake-utils - -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="amd64 x86" -IUSE="test" -RESTRICT="!test? ( test )" - -# https://github.com/unittest-cpp/unittest-cpp/commit/2423fcac7668aa9c331a2dcf024c3ca06742942d -PATCHES=( "${FILESDIR}/${P}-fix-tests-with-clang.patch" ) - -src_prepare() { - cmake-utils_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=( - -DUTPP_INCLUDE_TESTS_IN_BUILD=$(usex test) - ) - cmake-utils_src_configure -} - -src_test() { - "${BUILD_DIR}/TestUnitTest++" || die "Tests failed" -} |