summaryrefslogtreecommitdiff
path: root/dev-cpp/catch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-01-19 20:11:46 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-01-19 20:11:46 +0000
commit5b5df25227111ef465caf5c52bcfb66dac3219cd (patch)
tree31b713cac6188358125cbb66b8804030328740f0 /dev-cpp/catch
parent02e2208f46f4e2c00fb9743cbc47350bdd233bfa (diff)
gentoo resync : 19.01.2018
Diffstat (limited to 'dev-cpp/catch')
-rw-r--r--dev-cpp/catch/Manifest4
-rw-r--r--dev-cpp/catch/catch-9999.ebuild23
-rw-r--r--dev-cpp/catch/metadata.xml4
3 files changed, 17 insertions, 14 deletions
diff --git a/dev-cpp/catch/Manifest b/dev-cpp/catch/Manifest
index 621a5be96460..a31db67d6434 100644
--- a/dev-cpp/catch/Manifest
+++ b/dev-cpp/catch/Manifest
@@ -5,5 +5,5 @@ EBUILD catch-1.11.0.ebuild 725 BLAKE2B 49c5034310812a931d9155d0aa3d791c30ab1f381
EBUILD catch-1.9999.ebuild 558 BLAKE2B bafe5cb18017202bd684d631b8839caab6bb128d8fc42d7772dd74aa91dcd99b139393fa22463536924da114fc508a92d5b49639590933397a57cab9f2159ac0 SHA512 1952c96b2fa49e674a32466f2ec709b2f92c8e2502eecb1f25c24d81d11c73e8c28cfbb1da5b7e322bbebd28d6ade06f6b157e07f47f1a06ad258c30efc118f0
EBUILD catch-2.0.1.ebuild 600 BLAKE2B 57c2684c149adea28cf80122023e3a8140ef92e82e9523726c4377f13992f8d0c4ef812687ac2727496c8062269d1299dd12f3d3111295eb0acd551e04c2a8dc SHA512 dfad28f7a5d5379253e50ea2b7db60e9e560ace137fd28c188570b9e61d669706f6f97a0218d7ffeb6c8fe01baf52bc79855ff19fdc83f528fe437390f1bdcdb
EBUILD catch-2.1.0.ebuild 600 BLAKE2B 57c2684c149adea28cf80122023e3a8140ef92e82e9523726c4377f13992f8d0c4ef812687ac2727496c8062269d1299dd12f3d3111295eb0acd551e04c2a8dc SHA512 dfad28f7a5d5379253e50ea2b7db60e9e560ace137fd28c188570b9e61d669706f6f97a0218d7ffeb6c8fe01baf52bc79855ff19fdc83f528fe437390f1bdcdb
-EBUILD catch-9999.ebuild 535 BLAKE2B 9082e787a9e9c3f3e511490035dbd44afa7e6ff1ecf1265b5c9becc3688f70fc19b6694e73fba7b605eb152ac435042d50358f29a7a5808774b3600081beb78f SHA512 9f18bc13b59feb24257416c805fc44a4bbefa85f073abc7e242f044c00974cc3b051eb5da69d5314588614d6ea8ae02d820129f28c9416eb86245bdb8b742252
-MISC metadata.xml 327 BLAKE2B a27a1462b8152e655ea7240d00f8281157de6c29edc8795da70ca7bbea07780db7cc61af462db35ac0d1227d74f0bcc7b1e9e7d5dfc60e43062b7f5a54dadd7e SHA512 e01e97734e655221a497409a35a7fb8c8d8566cdf08958b24afd4f278ef118214d4b4fe9d19a6da0c7e6fa2b87f41c8eccaaba59aa2a21d11d11c9934000546e
+EBUILD catch-9999.ebuild 709 BLAKE2B 11ec1e0c1ada1bac5716b706d6eeec4dc14af052c275ea7fa51a5e11e5d030e77e27663cd572d620039d324aeb46d121d9c322425944cdad6665696e66a2809c SHA512 db3a518f4fc19be0ffda3cf37de7c34a785049a63b52030b7e915affa74f5995a59cc01abe90a3e2b583ceba59e0d108e775faa46bb9b642061074b7f12002a8
+MISC metadata.xml 324 BLAKE2B e32ed47ddce7e517244ff26e70d1bd31cdaa33bef0bf4a6cf4284f3688745760a9538f9bf6d9d25a9fabd3f5f6901a1b91c76d2fe290427a55bcc74d4f17be7b SHA512 094af03b1e2befa015f1faaca9ecf4158fffedfe7ef8a2873e9e6cd6e4e7d26f276e357ac1989c2809702abc3ada590668adc37c9d804cee31ae564f88c3315f
diff --git a/dev-cpp/catch/catch-9999.ebuild b/dev-cpp/catch/catch-9999.ebuild
index da181287636e..e24ac4a8a034 100644
--- a/dev-cpp/catch/catch-9999.ebuild
+++ b/dev-cpp/catch/catch-9999.ebuild
@@ -3,26 +3,29 @@
EAPI=6
-EGIT_REPO_URI="https://github.com/catchorg/Catch2.git"
-inherit cmake-utils git-r3
+inherit cmake-utils
+
+if [[ ${PV} == *9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/catchorg/Catch2.git"
+else
+ SRC_URI="https://github.com/catchorg/Catch2/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
DESCRIPTION="Modern C++ header-only framework for unit-tests"
HOMEPAGE="https://github.com/catchorg/Catch2"
-SRC_URI=""
LICENSE="Boost-1.0"
SLOT="0"
-KEYWORDS=""
IUSE="test"
+RESTRICT="!test? ( test )"
src_configure() {
local mycmakeargs=(
- -DNO_SELFTEST=$(usex !test)
+ -DCATCH_ENABLE_WERROR=OFF
+ -DBUILD_TESTING=$(usex test)
+ -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}"
)
cmake-utils_src_configure
}
-
-src_install() {
- cmake-utils_src_install
- dodoc -r docs/.
-}
diff --git a/dev-cpp/catch/metadata.xml b/dev-cpp/catch/metadata.xml
index d1245fb7c814..d6b46d2d5ed4 100644
--- a/dev-cpp/catch/metadata.xml
+++ b/dev-cpp/catch/metadata.xml
@@ -2,8 +2,8 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
- <email>mgorny@gentoo.org</email>
- <name>Michał Górny</name>
+ <email>soap@gentoo.org</email>
+ <name>David Seifert</name>
</maintainer>
<upstream>
<remote-id type="github">catchorg/Catch2</remote-id>