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: Thu, 02 Nov 2017 10:06:32
Message-Id: 1509612336.7d70b1122ed34d204f02a1da7e2fb4c7e3cb234e.mgorny@gentoo
1 commit: 7d70b1122ed34d204f02a1da7e2fb4c7e3cb234e
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Nov 2 08:04:51 2017 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 2 08:45:36 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d70b112
7
8 dev-cpp/catch: Bump to 2.0.0-develop.6
9
10 dev-cpp/catch/Manifest | 1 +
11 dev-cpp/catch/catch-2.0.0_pre6.ebuild | 37 +++++++++++++++++++++++++++++++++++
12 2 files changed, 38 insertions(+)
13
14 diff --git a/dev-cpp/catch/Manifest b/dev-cpp/catch/Manifest
15 index 15b1e3abd5d..78c16bdcfba 100644
16 --- a/dev-cpp/catch/Manifest
17 +++ b/dev-cpp/catch/Manifest
18 @@ -2,3 +2,4 @@ DIST Catch-1.10.0.tar.gz 375205 SHA256 cb752cbc8033d7c967d6bd7bc3eed428f6d05f251
19 DIST Catch-1.11.0.tar.gz 376132 SHA256 9e6111577e6dad2513a4229355f162023568af6a352d303367930758bed60f30 SHA512 33085c2671f78c7562eace909564b2730eabcaf4490cd463402e66ab4ac2be1fe4fe360916c11aa589ba4a010622444126ee2ae747783b5869b5d7276361f132 WHIRLPOOL b6d02053ce4eea0242cfe4d4fd5f5842b9279fc804c69837d7a2f9b652a1b2f768912fc10a20dae148757c9ff6aabdcf69daf6e85e652165871e58891ab57ef5
20 DIST Catch-1.9.7.tar.gz 371816 SHA256 751090d755072777c5bb98de6ead1f7919ea239d4b77bb028fb7b06624ec0d7a SHA512 573d324b3e0ffe1026bdd10410a9299eff6d3e0a316b2b84c687dc993fb33570620e26107667ce8b59ab66844cfbc39526ed6ba4e9dd1ba529c6b21ebd274b63 WHIRLPOOL 1d3bcf6b2a3d8af6fba7ded0e92d7381857360a4bbf2dd689474408c52612f874da35579ad0adaf13679e1d8aaddee101274cd29070a5a51d58e7d52b76473f2
21 DIST Catch-2.0.0-develop.3.tar.gz 381015 SHA256 c482fd4f0730cb82a05b1fc3eeee1beb599c5ae43c33719f5875cb23fa745b8f SHA512 52e6234379a435e7ddf3ee82a0689120a498f6be3c19dce9bf0a32059caa0a259fbc28c0e4f2e53841636874140970ec8cf7f15818ddfa9a1a5a80bc2922d0f0 WHIRLPOOL 537801b6c8f50a96f4f6a1594d6660a48e01e54ea83646a90e4d5c559f1f6ee6f582023f8d88bd69ad983035e3bacb0257ccaf1167eaa70b2e9302d031c07ded
22 +DIST Catch-2.0.0-develop.6.tar.gz 395416 SHA256 c66a7ecd0710ed27663a122f388872563456f83df654d22cc6a56a76315c59d3 SHA512 079172f063da06453d434d1b74b9a4ffeb45b40c90657ea410d6695756f23c581b1d574a88ab6537082df4e6e703e7bc9ce9084653abdc2a7033018e65a1bf5e WHIRLPOOL 9b7e2a72d43e52af3329f7f25e578dc07cdd1a81cf43dcbd0e22be68d56fa96595f1ece91769c14c006e2c64aa526cec1a70fa59a067f0c8a022851ece927af0
23
24 diff --git a/dev-cpp/catch/catch-2.0.0_pre6.ebuild b/dev-cpp/catch/catch-2.0.0_pre6.ebuild
25 new file mode 100644
26 index 00000000000..827ac8458ed
27 --- /dev/null
28 +++ b/dev-cpp/catch/catch-2.0.0_pre6.ebuild
29 @@ -0,0 +1,37 @@
30 +# Copyright 1999-2017 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=6
34 +
35 +inherit cmake-utils
36 +
37 +MY_PV=${PV/_pre/-develop.}
38 +MY_P=${PN^}-${MY_PV}
39 +
40 +DESCRIPTION="Modern C++ header-only framework for unit-tests"
41 +HOMEPAGE="https://github.com/philsquared/Catch"
42 +SRC_URI="https://github.com/philsquared/Catch/archive/V${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
43 +
44 +LICENSE="Boost-1.0"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~x86"
47 +IUSE=""
48 +
49 +S=${WORKDIR}/${MY_P}
50 +
51 +# CMake is only used to build & run tests, so override phases
52 +src_configure() { :; }
53 +src_compile() { :; }
54 +
55 +src_test() {
56 + cmake-utils_src_configure
57 + cmake-utils_src_compile
58 + cmake-utils_src_test
59 +}
60 +
61 +src_install() {
62 + # same location as used in fedora
63 + insinto /usr/include/catch
64 + doins -r include/.
65 + dodoc -r docs/.
66 +}