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 C24FE158094 for ; Thu, 30 Jun 2022 17:39:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7612BE0BEE; Thu, 30 Jun 2022 17:39:47 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 54D20E0BEB for ; Thu, 30 Jun 2022 17:39:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 71D1E34191A for ; Thu, 30 Jun 2022 17:39:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DF054534 for ; Thu, 30 Jun 2022 17:39:42 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1656601804.f96e664d9bb9ba467f7eb143a1db26898969d8c9.flow@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: app-misc/watchexec/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-misc/watchexec/watchexec-1.20.2.ebuild X-VCS-Directories: app-misc/watchexec/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: f96e664d9bb9ba467f7eb143a1db26898969d8c9 X-VCS-Branch: master Date: Thu, 30 Jun 2022 17:39:42 +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: ad91c592-fe72-4004-bb4a-bb1b9698fb82 X-Archives-Hash: 66718e63a7c6604387a6f5c8ef0a2d01 commit: f96e664d9bb9ba467f7eb143a1db26898969d8c9 Author: YOSHIOKA Takuma hard-wi red> AuthorDate: Thu Jun 30 15:10:04 2022 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Thu Jun 30 15:10:04 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f96e664d app-misc/watchexec: fix test file for release build Closes: https://bugs.gentoo.org/855326 Signed-off-by: YOSHIOKA Takuma hard-wi.red> app-misc/watchexec/watchexec-1.20.2.ebuild | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app-misc/watchexec/watchexec-1.20.2.ebuild b/app-misc/watchexec/watchexec-1.20.2.ebuild index 3d7e96ab1..5165d9a9d 100644 --- a/app-misc/watchexec/watchexec-1.20.2.ebuild +++ b/app-misc/watchexec/watchexec-1.20.2.ebuild @@ -318,6 +318,14 @@ HTML_DOCS=( doc/watchexec.1.html ) QA_FLAGS_IGNORED="usr/bin/watchexec" +src_prepare() { + default_src_prepare + + # Not using `.patch` file since this the file contains the version number. + sed -e '/^⚠ DEBUG BUILD ⚠$/,+1d' -i "${S}"/crates/cli/tests/snapshots/help__help_unix.snap + +} + src_compile() { cargo_src_compile --manifest-path=crates/cli/Cargo.toml }