1 |
commit: f96e664d9bb9ba467f7eb143a1db26898969d8c9 |
2 |
Author: YOSHIOKA Takuma <lo48576 <AT> hard-wi <DOT> red> |
3 |
AuthorDate: Thu Jun 30 15:10:04 2022 +0000 |
4 |
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 30 15:10:04 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f96e664d |
7 |
|
8 |
app-misc/watchexec: fix test file for release build |
9 |
|
10 |
Closes: https://bugs.gentoo.org/855326 |
11 |
Signed-off-by: YOSHIOKA Takuma <lo48576 <AT> hard-wi.red> |
12 |
|
13 |
app-misc/watchexec/watchexec-1.20.2.ebuild | 8 ++++++++ |
14 |
1 file changed, 8 insertions(+) |
15 |
|
16 |
diff --git a/app-misc/watchexec/watchexec-1.20.2.ebuild b/app-misc/watchexec/watchexec-1.20.2.ebuild |
17 |
index 3d7e96ab1..5165d9a9d 100644 |
18 |
--- a/app-misc/watchexec/watchexec-1.20.2.ebuild |
19 |
+++ b/app-misc/watchexec/watchexec-1.20.2.ebuild |
20 |
@@ -318,6 +318,14 @@ HTML_DOCS=( doc/watchexec.1.html ) |
21 |
|
22 |
QA_FLAGS_IGNORED="usr/bin/watchexec" |
23 |
|
24 |
+src_prepare() { |
25 |
+ default_src_prepare |
26 |
+ |
27 |
+ # Not using `.patch` file since this the file contains the version number. |
28 |
+ sed -e '/^⚠ DEBUG BUILD ⚠$/,+1d' -i "${S}"/crates/cli/tests/snapshots/help__help_unix.snap |
29 |
+ |
30 |
+} |
31 |
+ |
32 |
src_compile() { |
33 |
cargo_src_compile --manifest-path=crates/cli/Cargo.toml |
34 |
} |