diff options
author | Michał Górny <mgorny@gentoo.org> | 2017-11-05 11:40:53 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-11-05 13:19:59 +0100 |
commit | e95fde601a4e70acffbf2ae959a765eb8502b27d (patch) | |
tree | ee5fe37f8a3d174d2a0014fe926a3c6549e901c4 | |
parent | dev-cpp/catch: Install using CMake (diff) | |
download | gentoo-e95fde601a4e70acffbf2ae959a765eb8502b27d.tar.gz gentoo-e95fde601a4e70acffbf2ae959a765eb8502b27d.tar.bz2 gentoo-e95fde601a4e70acffbf2ae959a765eb8502b27d.zip |
dev-cpp/catch: Bump to 2.0.1
-rw-r--r-- | dev-cpp/catch/Manifest | 1 | ||||
-rw-r--r-- | dev-cpp/catch/catch-2.0.1.ebuild | 31 |
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-cpp/catch/Manifest b/dev-cpp/catch/Manifest index aabddf2eb944..0cc74c57771f 100644 --- a/dev-cpp/catch/Manifest +++ b/dev-cpp/catch/Manifest @@ -1,3 +1,4 @@ DIST Catch-1.10.0.tar.gz 375205 SHA256 cb752cbc8033d7c967d6bd7bc3eed428f6d05f2511945db819d4a18a46853ada SHA512 07ea6c8fbef849000c69009478fc895fe520420d835a57881b832f8181ca28f04030027ab0f8614d590cff1c36d06598bd4f5723f44e252c3a2566da1be1341e WHIRLPOOL 74bc82eecbafa289c3abec540ebc47b0239eaf6224eaf6d408a88871e03338994d361194f6d92b15096f3c2a0672a24af424db5f490923be3638d1ed0f17a355 DIST Catch-1.11.0.tar.gz 376132 SHA256 9e6111577e6dad2513a4229355f162023568af6a352d303367930758bed60f30 SHA512 33085c2671f78c7562eace909564b2730eabcaf4490cd463402e66ab4ac2be1fe4fe360916c11aa589ba4a010622444126ee2ae747783b5869b5d7276361f132 WHIRLPOOL b6d02053ce4eea0242cfe4d4fd5f5842b9279fc804c69837d7a2f9b652a1b2f768912fc10a20dae148757c9ff6aabdcf69daf6e85e652165871e58891ab57ef5 DIST Catch-2.0.0-develop.6.tar.gz 395416 SHA256 c66a7ecd0710ed27663a122f388872563456f83df654d22cc6a56a76315c59d3 SHA512 079172f063da06453d434d1b74b9a4ffeb45b40c90657ea410d6695756f23c581b1d574a88ab6537082df4e6e703e7bc9ce9084653abdc2a7033018e65a1bf5e WHIRLPOOL 9b7e2a72d43e52af3329f7f25e578dc07cdd1a81cf43dcbd0e22be68d56fa96595f1ece91769c14c006e2c64aa526cec1a70fa59a067f0c8a022851ece927af0 +DIST Catch2-2.0.1.tar.gz 397154 SHA256 5f31b93712e65d363f257ad0f0c02cfbed7a3988979d5f320ad7771e513d4cc8 SHA512 df6dc480aa208c6c39c8b36d06295883345f925b7ec579e9f0f7a68c816b90dbc3c2ece32926a6458646f7412027212f1b4c3cb28f217f411d3a56580f6edc32 WHIRLPOOL a55e66c8073bb3a7efaf732a35a6095eb464c7796e9c13d6fa1c56e843eac10e43e21d2024b025dd2a98f468d4f0469ed250084f1d08305138265b79340546c8 diff --git a/dev-cpp/catch/catch-2.0.1.ebuild b/dev-cpp/catch/catch-2.0.1.ebuild new file mode 100644 index 000000000000..309a5dc46c30 --- /dev/null +++ b/dev-cpp/catch/catch-2.0.1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +MY_P=${PN^}2-${PV} + +DESCRIPTION="Modern C++ header-only framework for unit-tests" +HOMEPAGE="https://github.com/philsquared/Catch" +SRC_URI="https://github.com/philsquared/Catch/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" + +LICENSE="Boost-1.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +S=${WORKDIR}/${MY_P} + +src_configure() { + local mycmakeargs=( + -DNO_SELFTEST=$(usex !test) + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + dodoc -r docs/. +} |