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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A9C8A158086 for ; Thu, 30 Dec 2021 15:43:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D305E2BC001; Thu, 30 Dec 2021 15:43:56 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 792D62BC001 for ; Thu, 30 Dec 2021 15:43:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9CE83342DA2 for ; Thu, 30 Dec 2021 15:43:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CD0091C6 for ; Thu, 30 Dec 2021 15:43:48 +0000 (UTC) From: "Erik Mackdanz" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Erik Mackdanz" Message-ID: <1640879011.2aa8bfe8b2baece61b41e2b3b14798b41b6fbe6b.stasibear@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-roguelike/stone-soup/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-roguelike/stone-soup/stone-soup-0.25.1-r102.ebuild games-roguelike/stone-soup/stone-soup-0.26.1-r1.ebuild games-roguelike/stone-soup/stone-soup-0.27.1.ebuild games-roguelike/stone-soup/stone-soup-0.28.0_pre20211224.ebuild X-VCS-Directories: games-roguelike/stone-soup/ X-VCS-Committer: stasibear X-VCS-Committer-Name: Erik Mackdanz X-VCS-Revision: 2aa8bfe8b2baece61b41e2b3b14798b41b6fbe6b X-VCS-Branch: master Date: Thu, 30 Dec 2021 15:43:48 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7200463a-e688-4c19-a4db-4f77d9511573 X-Archives-Hash: eef329250bb72e80ce19b3c22a5cee53 commit: 2aa8bfe8b2baece61b41e2b3b14798b41b6fbe6b Author: Erik Mackdanz gentoo org> AuthorDate: Thu Dec 30 15:43:31 2021 +0000 Commit: Erik Mackdanz gentoo org> CommitDate: Thu Dec 30 15:43:31 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2aa8bfe8 games-roguelike/stone-soup: use system dev-cpp/catch for tests ... not the bundled one Closes: https://bugs.gentoo.org/829950 Signed-off-by: Erik Mackdanz gentoo.org> Package-Manager: Portage-3.0.28, Repoman-3.0.3 games-roguelike/stone-soup/stone-soup-0.25.1-r102.ebuild | 9 ++++++++- games-roguelike/stone-soup/stone-soup-0.26.1-r1.ebuild | 9 ++++++++- games-roguelike/stone-soup/stone-soup-0.27.1.ebuild | 9 ++++++++- games-roguelike/stone-soup/stone-soup-0.28.0_pre20211224.ebuild | 9 ++++++++- 4 files changed, 32 insertions(+), 4 deletions(-) diff --git a/games-roguelike/stone-soup/stone-soup-0.25.1-r102.ebuild b/games-roguelike/stone-soup/stone-soup-0.25.1-r102.ebuild index de7a56e16eed..1d7ea744c044 100644 --- a/games-roguelike/stone-soup/stone-soup-0.25.1-r102.ebuild +++ b/games-roguelike/stone-soup/stone-soup-0.25.1-r102.ebuild @@ -24,7 +24,7 @@ SRC_URI=" # MIT: json.cc/json.h, some .js files in webserver/static/scripts/contrib/ LICENSE="GPL-2 BSD BSD-2 public-domain CC0-1.0 MIT" KEYWORDS="amd64 x86" -IUSE="debug ncurses sound +tiles" +IUSE="debug ncurses sound test +tiles" RDEPEND=" ${LUA_DEPS} @@ -51,6 +51,7 @@ DEPEND="${RDEPEND} ${PYTHON_DEPS} $(python_gen_any_dep 'dev-python/pyyaml[${PYTHON_USEDEP}]') sys-devel/flex + test? ( dev-cpp/catch:0 ) tiles? ( media-gfx/pngcrush sys-libs/ncurses:0 @@ -90,6 +91,12 @@ src_prepare() { sed -i -e "s/GAME = crawl$/GAME = crawl-${SLOT}/" "${S}/Makefile" \ || die "Couldn't append slot to executable name" + + # Replace bundled catch2 package with system implementation + # https://bugs.gentoo.org/829950 + if use test; then + cp /usr/include/catch2/catch.hpp "${S}/catch2-tests" || die "Couldn't substitute system catch2" + fi } src_compile() { diff --git a/games-roguelike/stone-soup/stone-soup-0.26.1-r1.ebuild b/games-roguelike/stone-soup/stone-soup-0.26.1-r1.ebuild index 89e1c7c44b5b..dc9525094429 100644 --- a/games-roguelike/stone-soup/stone-soup-0.26.1-r1.ebuild +++ b/games-roguelike/stone-soup/stone-soup-0.26.1-r1.ebuild @@ -24,7 +24,7 @@ SRC_URI=" # MIT: json.cc/json.h, some .js files in webserver/static/scripts/contrib/ LICENSE="GPL-2 BSD BSD-2 public-domain CC0-1.0 MIT" KEYWORDS="amd64 x86" -IUSE="debug ncurses sound +tiles" +IUSE="debug ncurses sound test +tiles" RDEPEND=" ${LUA_DEPS} @@ -51,6 +51,7 @@ DEPEND="${RDEPEND} ${PYTHON_DEPS} $(python_gen_any_dep 'dev-python/pyyaml[${PYTHON_USEDEP}]') sys-devel/flex + test? ( dev-cpp/catch:0 ) tiles? ( media-gfx/pngcrush sys-libs/ncurses:0 @@ -90,6 +91,12 @@ src_prepare() { sed -i -e "s/GAME = crawl$/GAME = crawl-${SLOT}/" "${S}/Makefile" \ || die "Couldn't append slot to executable name" + + # Replace bundled catch2 package with system implementation + # https://bugs.gentoo.org/829950 + if use test; then + cp /usr/include/catch2/catch.hpp "${S}/catch2-tests" || die "Couldn't substitute system catch2" + fi } src_compile() { diff --git a/games-roguelike/stone-soup/stone-soup-0.27.1.ebuild b/games-roguelike/stone-soup/stone-soup-0.27.1.ebuild index 2c294df13dba..29c7f43de73a 100644 --- a/games-roguelike/stone-soup/stone-soup-0.27.1.ebuild +++ b/games-roguelike/stone-soup/stone-soup-0.27.1.ebuild @@ -24,7 +24,7 @@ SRC_URI=" # MIT: json.cc/json.h, some .js files in webserver/static/scripts/contrib/ LICENSE="GPL-2 BSD BSD-2 public-domain CC0-1.0 MIT" KEYWORDS="amd64 x86" -IUSE="debug ncurses sound +tiles" +IUSE="debug ncurses sound test +tiles" RDEPEND=" ${LUA_DEPS} @@ -51,6 +51,7 @@ DEPEND="${RDEPEND} ${PYTHON_DEPS} $(python_gen_any_dep 'dev-python/pyyaml[${PYTHON_USEDEP}]') sys-devel/flex + test? ( dev-cpp/catch:0 ) tiles? ( media-gfx/pngcrush sys-libs/ncurses:0 @@ -90,6 +91,12 @@ src_prepare() { sed -i -e "s/GAME = crawl$/GAME = crawl-${SLOT}/" "${S}/Makefile" \ || die "Couldn't append slot to executable name" + + # Replace bundled catch2 package with system implementation + # https://bugs.gentoo.org/829950 + if use test; then + cp /usr/include/catch2/catch.hpp "${S}/catch2-tests" || die "Couldn't substitute system catch2" + fi } src_compile() { diff --git a/games-roguelike/stone-soup/stone-soup-0.28.0_pre20211224.ebuild b/games-roguelike/stone-soup/stone-soup-0.28.0_pre20211224.ebuild index 8a19eb39dc41..76eb66818392 100644 --- a/games-roguelike/stone-soup/stone-soup-0.28.0_pre20211224.ebuild +++ b/games-roguelike/stone-soup/stone-soup-0.28.0_pre20211224.ebuild @@ -38,7 +38,7 @@ fi # MIT: json.cc/json.h, some .js files in webserver/static/scripts/contrib/ LICENSE="GPL-2 BSD BSD-2 public-domain CC0-1.0 MIT" KEYWORDS="~amd64 ~x86" -IUSE="debug ncurses sound +tiles" +IUSE="debug ncurses sound test +tiles" S=${WORKDIR}/${MY_P}/source RDEPEND=" @@ -66,6 +66,7 @@ DEPEND="${RDEPEND} ${PYTHON_DEPS} $(python_gen_any_dep 'dev-python/pyyaml[${PYTHON_USEDEP}]') sys-devel/flex + test? ( dev-cpp/catch:0 ) tiles? ( media-gfx/pngcrush sys-libs/ncurses:0 @@ -109,6 +110,12 @@ src_prepare() { if ! [ -f "${S}/util/release_ver" ]; then echo "${SLOT}" >"${S}/util/release_ver" || die "Couldn't write release_ver" fi + + # Replace bundled catch2 package with system implementation + # https://bugs.gentoo.org/829950 + if use test; then + cp /usr/include/catch2/catch.hpp "${S}/catch2-tests" || die "Couldn't substitute system catch2" + fi } src_compile() {