From a0a9d0bf1c185fd970426814b9e55433cac5c834 Mon Sep 17 00:00:00 2001 From: cinerea0 Date: Tue, 28 Jun 2022 21:17:36 -0400 Subject: [PATCH] watchexec: update to 1.20.2 --- srcpkgs/watchexec/patches/fix-tests.patch | 14 ++++++++++++++ srcpkgs/watchexec/template | 4 ++-- 2 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/watchexec/patches/fix-tests.patch diff --git a/srcpkgs/watchexec/patches/fix-tests.patch b/srcpkgs/watchexec/patches/fix-tests.patch new file mode 100644 index 000000000000..f210de15e314 --- /dev/null +++ b/srcpkgs/watchexec/patches/fix-tests.patch @@ -0,0 +1,14 @@ +# Remove debug notice from test case +diff --git a/crates/cli/tests/snapshots/help__help_unix.snap b/crates/cli/tests/snapshots/help__help_unix.snap +index b55782f022..c5642f98ce 100644 +--- a/crates/cli/tests/snapshots/help__help_unix.snap ++++ b/crates/cli/tests/snapshots/help__help_unix.snap +@@ -2,8 +2,6 @@ + source: crates/cli/tests/help.rs + expression: "String::from_utf8(output.stdout).unwrap()" + --- +-⚠ DEBUG BUILD ⚠ +- + watchexec 1.20.2 + Execute commands when watched files change + diff --git a/srcpkgs/watchexec/template b/srcpkgs/watchexec/template index 6e872efcd8ee..4bd08d626870 100644 --- a/srcpkgs/watchexec/template +++ b/srcpkgs/watchexec/template @@ -1,6 +1,6 @@ # Template file for 'watchexec' pkgname=watchexec -version=1.20.0 +version=1.20.2 revision=1 wrksrc="${pkgname}-cli-v${version}" build_wrksrc="crates/cli" @@ -10,7 +10,7 @@ maintainer="cinerea0 " license="Apache-2.0" homepage="https://github.com/watchexec/watchexec" distfiles="https://github.com/watchexec/watchexec/archive/refs/tags/cli-v${version}.tar.gz" -checksum=69c551090692a04943e7ded2d7f997f8777aa099c674b096a31d94983d02dbf7 +checksum=62e2e722a84475436286010edff36c56c4c6fad9e76be4b35381877e93faeac8 if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then makedepends+=" libatomic-devel"