commit:     f96e664d9bb9ba467f7eb143a1db26898969d8c9
Author:     YOSHIOKA Takuma <lo48576 <AT> hard-wi <DOT> red>
AuthorDate: Thu Jun 30 15:10:04 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> 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 <lo48576 <AT> 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
 }

Reply via email to