From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 42DAF1396DA for ; Sun, 5 Nov 2017 12:20:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 823C0E0F06; Sun, 5 Nov 2017 12:20:16 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5C8FDE0F0A for ; Sun, 5 Nov 2017 12:20:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8A79534171F for ; Sun, 5 Nov 2017 12:20:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CBE3F95C8 for ; Sun, 5 Nov 2017 12:20:12 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1509884399.084e045c4ba8a1f3ecc9f480cf4a93fef3b28451.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/catch/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-cpp/catch/catch-1.9999.ebuild dev-cpp/catch/catch-9999.ebuild X-VCS-Directories: dev-cpp/catch/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 084e045c4ba8a1f3ecc9f480cf4a93fef3b28451 X-VCS-Branch: master Date: Sun, 5 Nov 2017 12:20:12 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 714394b4-d21f-4e3f-9911-ff3383bbc5ee X-Archives-Hash: bbc2a8c4864c38373cf5278b8187e718 commit: 084e045c4ba8a1f3ecc9f480cf4a93fef3b28451 Author: Michał Górny gentoo org> AuthorDate: Sun Nov 5 08:53:42 2017 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Nov 5 12:19:59 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=084e045c dev-cpp/catch: Install using CMake dev-cpp/catch/catch-1.9999.ebuild | 17 ++++++----------- dev-cpp/catch/catch-9999.ebuild | 17 ++++++----------- 2 files changed, 12 insertions(+), 22 deletions(-) diff --git a/dev-cpp/catch/catch-1.9999.ebuild b/dev-cpp/catch/catch-1.9999.ebuild index b6b3d982a71..4cad4e13c4b 100644 --- a/dev-cpp/catch/catch-1.9999.ebuild +++ b/dev-cpp/catch/catch-1.9999.ebuild @@ -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-9999.ebuild b/dev-cpp/catch/catch-9999.ebuild index 41195675fe3..5a244d42728 100644 --- a/dev-cpp/catch/catch-9999.ebuild +++ b/dev-cpp/catch/catch-9999.ebuild @@ -13,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/. }