Gentoo Archives: gentoo-commits

From: Louis Sautier <sbraz@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/unittest++/
Date: Sat, 15 Aug 2020 17:46:04
Message-Id: 1597513537.d25ced2baf657f2d3f45fa4fc7cb482ebb87ddfa.sbraz@gentoo
1 commit: d25ced2baf657f2d3f45fa4fc7cb482ebb87ddfa
2 Author: Louis Sautier <sbraz <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 15 17:40:12 2020 +0000
4 Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 15 17:45:37 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d25ced2b
7
8 dev-libs/unittest++: remove old
9
10 Package-Manager: Portage-3.0.2, Repoman-2.3.23
11 Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org>
12
13 dev-libs/unittest++/Manifest | 1 -
14 dev-libs/unittest++/unittest++-1.6.1.ebuild | 34 -----------------------------
15 2 files changed, 35 deletions(-)
16
17 diff --git a/dev-libs/unittest++/Manifest b/dev-libs/unittest++/Manifest
18 index c50f9bbd9a8..dd7685441d9 100644
19 --- a/dev-libs/unittest++/Manifest
20 +++ b/dev-libs/unittest++/Manifest
21 @@ -1,2 +1 @@
22 -DIST unittest++-1.6.1.tar.gz 52536 BLAKE2B 0a5e7cbe1131565631c0537a1a262b6053b5010497eeaf76690f465cdbca45157feb6686faaf37a37f4554e37b54051161c3183651315509ada143975d7211f4 SHA512 2bb03def8b6ac84dbb6e5e440e5be8648199096fdc93d6666b704386e2c2279b329be6bda47c81bd8a8c485334059fb2a53fdd90358005a95b8add6f057c25ce
23 DIST unittest++-2.0.0.tar.gz 54100 BLAKE2B 5aceda6e76f4536054c8de0fb4a4a17027d0707101fb323883734d420f038aeb094fb6567e41145804f012c952a5807bdd6fe1bae1e4a09a6e36c5f1bbc5717e SHA512 39318f4ed31534c116679a3257bf1438a6c4b3bef1894dfd40aea934950c6c8197af6a7f61539b8e9ddc67327c9388d7e8a6f8a3e0e966ad26c07554e2429cab
24
25 diff --git a/dev-libs/unittest++/unittest++-1.6.1.ebuild b/dev-libs/unittest++/unittest++-1.6.1.ebuild
26 deleted file mode 100644
27 index 5bba0de8b8c..00000000000
28 --- a/dev-libs/unittest++/unittest++-1.6.1.ebuild
29 +++ /dev/null
30 @@ -1,34 +0,0 @@
31 -# Copyright 1999-2019 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=6
35 -
36 -inherit cmake-utils
37 -
38 -MY_PN="unittest-cpp"
39 -MY_P="${MY_PN}-${PV}"
40 -
41 -DESCRIPTION="A lightweight unit testing framework for C++"
42 -HOMEPAGE="https://unittest-cpp.github.io/"
43 -SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
44 -
45 -LICENSE="MIT"
46 -SLOT="0"
47 -KEYWORDS="~amd64 ~x86"
48 -IUSE="test"
49 -RESTRICT="!test? ( test )"
50 -
51 -S="${WORKDIR}/${MY_P}"
52 -
53 -src_prepare() {
54 - sed -i '/run unit tests as post build step/,/Running unit tests/d' \
55 - CMakeLists.txt || die
56 - use test || sed -i \
57 - '/build the test runner/,/target_link_libraries(TestUnitTest++ UnitTest++/d' \
58 - CMakeLists.txt || die
59 - cmake-utils_src_prepare
60 -}
61 -
62 -src_test() {
63 - "${BUILD_DIR}/TestUnitTest++" || die "Tests failed"
64 -}