summaryrefslogtreecommitdiff
path: root/dev-cpp/catch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-cpp/catch')
-rw-r--r--dev-cpp/catch/Manifest6
-rw-r--r--dev-cpp/catch/catch-1.9999.ebuild19
-rw-r--r--dev-cpp/catch/catch-2.0.1.ebuild31
-rw-r--r--dev-cpp/catch/catch-9999.ebuild18
4 files changed, 48 insertions, 26 deletions
diff --git a/dev-cpp/catch/Manifest b/dev-cpp/catch/Manifest
index 33e8cb467ff2..ae695f6edae7 100644
--- a/dev-cpp/catch/Manifest
+++ b/dev-cpp/catch/Manifest
@@ -1,10 +1,12 @@
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
EBUILD catch-1.10.0.ebuild 729 SHA256 68040d3e200c318fbac8f3decfefa8b7242a03e022ad6ded2befc6b9c89de704 SHA512 34875c7820d83b27feca0a96e6d3fa80c9f4a671dbd86a68c1ce3dba2c5ee60fe81aaccdaac63a43fbd1d41e7de0a8bc6fd81719378a1e90bdc35ae2891b8053 WHIRLPOOL ace1bd83ffa181b19a5e4762a8ca5a12adde6c68d91ecb8bf378f113cb223521ae9b9bde7cea44be9d99e738c3365b624384ef17e003e7c085829f5fcfa4fe76
EBUILD catch-1.11.0.ebuild 729 SHA256 68040d3e200c318fbac8f3decfefa8b7242a03e022ad6ded2befc6b9c89de704 SHA512 34875c7820d83b27feca0a96e6d3fa80c9f4a671dbd86a68c1ce3dba2c5ee60fe81aaccdaac63a43fbd1d41e7de0a8bc6fd81719378a1e90bdc35ae2891b8053 WHIRLPOOL ace1bd83ffa181b19a5e4762a8ca5a12adde6c68d91ecb8bf378f113cb223521ae9b9bde7cea44be9d99e738c3365b624384ef17e003e7c085829f5fcfa4fe76
-EBUILD catch-1.9999.ebuild 707 SHA256 e8a81107ea1e93892d478d69ab16f11b5744b6639aaa703c28ebf1e7ad2ea6ba SHA512 6e90857b7e4c85f2cfc7b59aeccdc3c39ea7a40e9ff919cd4ad5d83ec4ddf5051207e36c53221faacf8caa843905c9b8680bf00388815745b3bfeaef25bf7196 WHIRLPOOL 7db5e206662bd85d4286f70e5ac4513c6bd6a1f660e167b7b9cf5f3ba9721f9d76e2daa3fc75c4dda597f2b26a62c0839647d62b6115ad95eaf271e8f6c0147e
+EBUILD catch-1.9999.ebuild 560 SHA256 902a825f78ae416b3b908618a2ccc33722cd2a55836f92b6c905447163fe9061 SHA512 70cb380180bbd0aa6887cca66d1291be81f0f05a93841a8ef12c764ed20fc95ae8b3f97117c6a3721b432cca6bfb272d8b7bf6826c57af171f57909502fcae8a WHIRLPOOL 90f9ce58f1ed10f349aa9121297925c981b4765cf9957702c3a7e2269bd374665222daac088ca0d3c220640d32ca33e66f6038aafb369209eb58f503b5798926
EBUILD catch-2.0.0_pre6.ebuild 785 SHA256 9cd40fdb22e2c307ad8bf076eba3c2572629760bf67fe33630bc7f84fb38ebbd SHA512 4deb9ac51dcdfd855218e5e295b130d50759dec771a8c52b6f115c6ffdf47cd6e66aac432c7b8c0c175c0664516ea688028928fbd013bd273b3ccb635f75ee8e WHIRLPOOL ec16567800d4790d3d7572806c064ff75a6f1eec8f427cf928ae3046703b7b09286934cc288fc68a8711c433e4479113afd23d32fe89df6ebc2137b40555df12
-EBUILD catch-9999.ebuild 707 SHA256 ed59a7469ee7728d4705386bdb6b5587c3091ac431eb213255a9d6cbcd8d1d21 SHA512 dfc28162810e160a6e28271aa0ca186ab98c6b68ad5c16f8aab04749d2613611bcc5e79ac34e248863115098f2aab86d61f7049b12de516d35034229287155cc WHIRLPOOL 9932111f8e312dc492c989e79b62d5892f43feaa7a9cb0b24e33b48a872ff420991cfca47a6a9be5858525b7d2f659ef8bbef33c3b866b17c1f95fda2f5889b8
+EBUILD catch-2.0.1.ebuild 604 SHA256 ba225c7c766df5a14d46578a5654793ec2883bf82fb51acf02422bd571b662fb SHA512 287b2eb5e7b641bdb18611974f0e69e2b999cfa5e49b481ffd804fb53680750f8468c279a3137cb5cc2d810e8af1e999671e2f969387237586244c7e06cf2e63 WHIRLPOOL 1f9583505539b66584089748512302b6413f5162b29f8a3036941cbf349482046e8f82f28983111f40521aab0ce6ba0480fdd234e5310112b256b6212e0efc49
+EBUILD catch-9999.ebuild 539 SHA256 b4bfa959aa6a7aed3d0712d29339ef62a6f1daff597c87c02d2b84760d58abdc SHA512 034d2afbc80114b6dfe83b3a75fc96ef3a0eaecee02fbbc1532391aae2b32b5fedca36916d01de98754b8de2849c9bf82940838bd55f026f166841d885784e80 WHIRLPOOL d932a58c90c6e1c24afbe069c5f1735080f2726c67da234a7a307aea4ff06b8a443bddcda258a9670c9f01ed0fe77b26881ea985461c2c1eb884ed3c571a29ac
MISC ChangeLog 822 SHA256 6b5973127235800b701c7bf9ef7e49cdf5dc1580bffa84b6a0a3aeb45f927559 SHA512 bc828926c3e652b44d13723cf9ff5013e5e63054d6224258cf750031b9d5b8439289909e5e578b3e112f07d63b899aed36cd4db6b76b29cf6c9ad3b08eafe409 WHIRLPOOL 41257140dcaa6d82495e60d40aeed5be8677341e54c15897d2533cb3902f38c58a98d0e009708b66178f29bbcc383c075e52a740b613cd13389cb6253bd37dcf
MISC metadata.xml 329 SHA256 ea78728410ffd353f45c387376fe22660f22452a43e7f4a6ab330be5392a3541 SHA512 a6bc13d759be7cb9ff9c4b754927720ccb73268fec3d6065e3eb873bbf17f9500a50db27962b69890784ec5dfc7bcfcbadaa2c3c867c31e46dbc72a9f3a3f7b0 WHIRLPOOL 7518e576860daa5fb269353e50d982193b2ca07c0cdc7e8c0c9a193a7fa46eecbad75b88b67d0bc14276c1fdc72e62aa28058bfa94431c1a45463ae97b69837d
diff --git a/dev-cpp/catch/catch-1.9999.ebuild b/dev-cpp/catch/catch-1.9999.ebuild
index 8949a527ca65..4cad4e13c4b7 100644
--- a/dev-cpp/catch/catch-1.9999.ebuild
+++ b/dev-cpp/catch/catch-1.9999.ebuild
@@ -4,7 +4,7 @@
EAPI=6
EGIT_REPO_URI="https://github.com/philsquared/Catch.git"
-EGIT_BRANCH=master
+EGIT_BRANCH=Catch1.x
inherit cmake-utils git-r3
DESCRIPTION="Modern C++ header-only framework for unit-tests"
@@ -14,21 +14,16 @@ SRC_URI=""
LICENSE="Boost-1.0"
SLOT="0"
KEYWORDS=""
-IUSE=""
+IUSE="test"
-# CMake is only used to build & run tests, so override phases
-src_configure() { :; }
-src_compile() { :; }
-
-src_test() {
+src_configure() {
+ local mycmakeargs=(
+ -DNO_SELFTEST=$(usex !test)
+ )
cmake-utils_src_configure
- cmake-utils_src_compile
- cmake-utils_src_test
}
src_install() {
- # same location as used in fedora
- insinto /usr/include/catch
- doins -r include/.
+ cmake-utils_src_install
dodoc -r docs/.
}
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/.
+}
diff --git a/dev-cpp/catch/catch-9999.ebuild b/dev-cpp/catch/catch-9999.ebuild
index 5ca782d46a21..5a244d42728d 100644
--- a/dev-cpp/catch/catch-9999.ebuild
+++ b/dev-cpp/catch/catch-9999.ebuild
@@ -4,7 +4,6 @@
EAPI=6
EGIT_REPO_URI="https://github.com/philsquared/Catch.git"
-EGIT_BRANCH=catch2
inherit cmake-utils git-r3
DESCRIPTION="Modern C++ header-only framework for unit-tests"
@@ -14,21 +13,16 @@ SRC_URI=""
LICENSE="Boost-1.0"
SLOT="0"
KEYWORDS=""
-IUSE=""
+IUSE="test"
-# CMake is only used to build & run tests, so override phases
-src_configure() { :; }
-src_compile() { :; }
-
-src_test() {
+src_configure() {
+ local mycmakeargs=(
+ -DNO_SELFTEST=$(usex !test)
+ )
cmake-utils_src_configure
- cmake-utils_src_compile
- cmake-utils_src_test
}
src_install() {
- # same location as used in fedora
- insinto /usr/include/catch
- doins -r include/.
+ cmake-utils_src_install
dodoc -r docs/.
}