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: Sat, 12 Aug 2017 16:48:07
Message-Id: 1502556476.83f7a3385db769c91d2ca9d6f351a96c54e1cc99.mgorny@gentoo
1 commit: 83f7a3385db769c91d2ca9d6f351a96c54e1cc99
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 12 16:43:26 2017 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 12 16:47:56 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83f7a338
7
8 dev-cpp/catch: Bump to 1.9.7
9
10 dev-cpp/catch/Manifest | 1 +
11 dev-cpp/catch/catch-1.9.7.ebuild | 34 ++++++++++++++++++++++++++++++++++
12 2 files changed, 35 insertions(+)
13
14 diff --git a/dev-cpp/catch/Manifest b/dev-cpp/catch/Manifest
15 index eee0ec91cf2..d9239f4f787 100644
16 --- a/dev-cpp/catch/Manifest
17 +++ b/dev-cpp/catch/Manifest
18 @@ -1,2 +1,3 @@
19 DIST Catch-1.9.4.tar.gz 363097 SHA256 d67d2ee26ec9f72618dd9b28a9d1b7ba3c6368bc846ecfeda05a1e5d1b8b9b20 SHA512 78d43719e87f5d27132178c5f139b72e6093dd1029eb742bfb48e32b618079e156837fb25d4cbe0fd5044535a5a65ad90510cff8ae93f2695c7bb3fc5cb2a5ec WHIRLPOOL 80b4c36172e62ea12fc4acee096a84cd00b1a290dc2a7a9e9a8e2ff2485e39a619e33f2aee853daa7773d3c877f55788b2d0f86e44542c6f8c0b6027edaf0585
20 DIST Catch-1.9.6.tar.gz 367108 SHA256 d1fc9f0018fe55a1b74168d5c37a2cf6580a902dab9b646050373e70090b2c61 SHA512 6d4989518935d60d2274361ad64649be9241e4de435d34cb04ac8ee2f7b25deb33c8919acaa3cd1c0d68c7822f15d74d0f19115ab72bb93d2cf8b3a0205e44c6 WHIRLPOOL 7c1d3a779a144a9d51a3b512bc5295d68e98c1d0d6fea600a586d2bcafc2141c57beacbb4ab5d58376e096d27681fd7a5f416c5f78cfc6635634ba00707cff06
21 +DIST Catch-1.9.7.tar.gz 371816 SHA256 751090d755072777c5bb98de6ead1f7919ea239d4b77bb028fb7b06624ec0d7a SHA512 573d324b3e0ffe1026bdd10410a9299eff6d3e0a316b2b84c687dc993fb33570620e26107667ce8b59ab66844cfbc39526ed6ba4e9dd1ba529c6b21ebd274b63 WHIRLPOOL 1d3bcf6b2a3d8af6fba7ded0e92d7381857360a4bbf2dd689474408c52612f874da35579ad0adaf13679e1d8aaddee101274cd29070a5a51d58e7d52b76473f2
22
23 diff --git a/dev-cpp/catch/catch-1.9.7.ebuild b/dev-cpp/catch/catch-1.9.7.ebuild
24 new file mode 100644
25 index 00000000000..dd8e74f2615
26 --- /dev/null
27 +++ b/dev-cpp/catch/catch-1.9.7.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 +}