Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/catch/
Date: Sun, 27 Aug 2017 08:19:17
Message-Id: 1503821949.57c829e0fe02680f37746d1da14c66221f9714ed.mgorny@gentoo
1 commit: 57c829e0fe02680f37746d1da14c66221f9714ed
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 27 08:08:50 2017 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 27 08:19:09 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57c829e0
7
8 dev-cpp/catch: Bump to 1.10.0
9
10 dev-cpp/catch/Manifest | 1 +
11 dev-cpp/catch/catch-1.10.0.ebuild | 34 ++++++++++++++++++++++++++++++++++
12 2 files changed, 35 insertions(+)
13
14 diff --git a/dev-cpp/catch/Manifest b/dev-cpp/catch/Manifest
15 index 1a441a157eb..e623f950f26 100644
16 --- a/dev-cpp/catch/Manifest
17 +++ b/dev-cpp/catch/Manifest
18 @@ -1,2 +1,3 @@
19 +DIST Catch-1.10.0.tar.gz 375205 SHA256 cb752cbc8033d7c967d6bd7bc3eed428f6d05f2511945db819d4a18a46853ada SHA512 07ea6c8fbef849000c69009478fc895fe520420d835a57881b832f8181ca28f04030027ab0f8614d590cff1c36d06598bd4f5723f44e252c3a2566da1be1341e WHIRLPOOL 74bc82eecbafa289c3abec540ebc47b0239eaf6224eaf6d408a88871e03338994d361194f6d92b15096f3c2a0672a24af424db5f490923be3638d1ed0f17a355
20 DIST Catch-1.9.7.tar.gz 371816 SHA256 751090d755072777c5bb98de6ead1f7919ea239d4b77bb028fb7b06624ec0d7a SHA512 573d324b3e0ffe1026bdd10410a9299eff6d3e0a316b2b84c687dc993fb33570620e26107667ce8b59ab66844cfbc39526ed6ba4e9dd1ba529c6b21ebd274b63 WHIRLPOOL 1d3bcf6b2a3d8af6fba7ded0e92d7381857360a4bbf2dd689474408c52612f874da35579ad0adaf13679e1d8aaddee101274cd29070a5a51d58e7d52b76473f2
21 DIST Catch-2.0.0-develop.2.tar.gz 376246 SHA256 b7f4210353be2c78d65801d0cc3885110aeae3824f6b67d59dff71deccad1694 SHA512 89fd36d310ac6322d7d8683360482a564e5c90bf0880b8cc9a6e379044dfc1bcea99669d8dada67293d8b70d274c6129018bc97598eb72b48fd85d4ebe0b21ef WHIRLPOOL 94a2f270b2a884e17a6d35936409911d544b7447c98f217b4b14e58387d8c8ac045dde5569bbf3560547b195a91f93101d3e293ebc1b981ddc447264d9742906
22
23 diff --git a/dev-cpp/catch/catch-1.10.0.ebuild b/dev-cpp/catch/catch-1.10.0.ebuild
24 new file mode 100644
25 index 00000000000..dd8e74f2615
26 --- /dev/null
27 +++ b/dev-cpp/catch/catch-1.10.0.ebuild
28 @@ -0,0 +1,34 @@
29 +# Copyright 1999-2017 Gentoo Foundation
30 +# Distributed under the terms of the GNU General Public License v2
31 +
32 +EAPI=6
33 +
34 +inherit cmake-utils
35 +
36 +DESCRIPTION="Modern C++ header-only framework for unit-tests"
37 +HOMEPAGE="https://github.com/philsquared/Catch"
38 +SRC_URI="https://github.com/philsquared/Catch/archive/v${PV}.tar.gz -> ${P^}.tar.gz"
39 +
40 +LICENSE="Boost-1.0"
41 +SLOT="0"
42 +KEYWORDS="~amd64 ~x86"
43 +IUSE=""
44 +
45 +S=${WORKDIR}/${P^}
46 +
47 +# CMake is only used to build & run tests, so override phases
48 +src_configure() { :; }
49 +src_compile() { :; }
50 +
51 +src_test() {
52 + cmake-utils_src_configure
53 + cmake-utils_src_compile
54 + cmake-utils_src_test
55 +}
56 +
57 +src_install() {
58 + # same location as used in fedora
59 + insinto /usr/include/catch
60 + doins -r include/.
61 + dodoc -r docs/.
62 +}