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: Tue, 27 Sep 2016 15:39:51
Message-Id: 1474990781.d8f7e472b80c364d043ffe86455a7c18ace9f4af.mgorny@gentoo
1 commit: d8f7e472b80c364d043ffe86455a7c18ace9f4af
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 27 15:30:37 2016 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 27 15:39:41 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8f7e472
7
8 dev-cpp/catch: Bump to 1.5.7
9
10 dev-cpp/catch/Manifest | 1 +
11 dev-cpp/catch/catch-1.5.7.ebuild | 36 ++++++++++++++++++++++++++++++++++++
12 2 files changed, 37 insertions(+)
13
14 diff --git a/dev-cpp/catch/Manifest b/dev-cpp/catch/Manifest
15 index 67170b5..eda78d3 100644
16 --- a/dev-cpp/catch/Manifest
17 +++ b/dev-cpp/catch/Manifest
18 @@ -1,2 +1,3 @@
19 DIST Catch-1.5.6.tar.gz 312250 SHA256 1749521eb5c4b6e81128f60d66b81b8328e76050599a497dc8b51a718d03faca SHA512 da4f9c300bc7d9de66be4e0b013d4c5719ee6e112c1b949963fecf55d89d75605bad16d4763ebb4dbaee51dc8c85d2aeb8e7826388204f9d8057233231ff7b9a WHIRLPOOL 38ffdf58959ccb5201621eb4c16b6415b7a892803bc9bdcc134e7f61d82b285b9dfea1f2cf55529c72e0f96dc32696646f0b2d03e8532b03f44de28c3016c7d6
20 +DIST Catch-1.5.7.tar.gz 312824 SHA256 9acabf466e64ef2d477d4ce8d16610db3556a58b150440025fb1b25c3fd6a85b SHA512 724e85fbcb1a5ff8e98ef04932f7c60f43c0deaf4e41e4790cb7c0d9ead7b2e9068c801b165c094d68373b906c9d2d09de269bd7065dbd0136ecbb18ced4ccff WHIRLPOOL b0ce83cc75bbe40f3531c898fc273101a9992f5b7b43b9a483bf694b7c2fb079808f4330795fa1ae8bb5052fd55feb656245fc503f43217b42cf6239b620b167
21 DIST catch-1.5.0.tar.gz 311787 SHA256 f694634bc56422f28d61052eedc29d43ea20e60a1726eda3ff9acc8fdfca3c08 SHA512 d7011cdfe6eca86aa081b5da371665be8687bcbb41f3702c3075bf01f73e1d2e00894a0917e6437a8735e730ff287a06e189ce94ea00e583ab7282065f25166d WHIRLPOOL 90d7d6d2f4b06169224385e0f2ec0de1312c454a0c7a2a14155f68fe30424e527cde91e5fb4ff9bd441fa846a7caabca023e591ce5837f6c65f0bbe106166401
22
23 diff --git a/dev-cpp/catch/catch-1.5.7.ebuild b/dev-cpp/catch/catch-1.5.7.ebuild
24 new file mode 100644
25 index 00000000..15572fe
26 --- /dev/null
27 +++ b/dev-cpp/catch/catch-1.5.7.ebuild
28 @@ -0,0 +1,36 @@
29 +# Copyright 1999-2016 Gentoo Foundation
30 +# Distributed under the terms of the GNU General Public License v2
31 +# $Id$
32 +
33 +EAPI=6
34 +
35 +inherit cmake-utils
36 +
37 +DESCRIPTION="Modern C++ header-only framework for unit-tests"
38 +HOMEPAGE="https://github.com/philsquared/Catch"
39 +SRC_URI="https://github.com/philsquared/Catch/archive/v${PV}.tar.gz -> ${P^}.tar.gz"
40 +
41 +LICENSE="Boost-1.0"
42 +SLOT="0"
43 +KEYWORDS="~amd64 ~x86"
44 +IUSE=""
45 +
46 +S=${WORKDIR}/${P^}
47 +CMAKE_USE_DIR=${S}/projects/CMake
48 +
49 +# CMake is only used to build & run tests, so override phases
50 +src_configure() { :; }
51 +src_compile() { :; }
52 +
53 +src_test() {
54 + cmake-utils_src_configure
55 + cmake-utils_src_compile
56 + cmake-utils_src_test
57 +}
58 +
59 +src_install() {
60 + # same location as used in fedora
61 + insinto /usr/include/catch
62 + doins -r include/.
63 + dodoc -r docs/.
64 +}