From: icp1994 <icp1994@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] difftastic: update to 0.46.0.
Date: Tue, 04 Apr 2023 21:43:07 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-43263@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 479 bytes --]
There is a new pull request by icp1994 against master on the void-packages repository
https://github.com/icp1994/void-packages difftastic
https://github.com/void-linux/void-packages/pull/43263
difftastic: update to 0.46.0.
#### Testing the changes
- I tested the changes in this PR: **YES**
#### Local build testing
- I built this PR locally for my native architecture: **x86_64**
A patch file from https://github.com/void-linux/void-packages/pull/43263.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-difftastic-43263.patch --]
[-- Type: text/x-diff, Size: 2606 bytes --]
From b18c0a22d605484c1dfa969142ababa5292c2136 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 1 Apr 2023 11:27:28 +0530
Subject: [PATCH] difftastic: update to 0.46.0.
---
.../patches/remove-inapplicable-tests.patch | 36 +++++++++++++++++++
srcpkgs/difftastic/template | 4 +--
2 files changed, 38 insertions(+), 2 deletions(-)
create mode 100644 srcpkgs/difftastic/patches/remove-inapplicable-tests.patch
diff --git a/srcpkgs/difftastic/patches/remove-inapplicable-tests.patch b/srcpkgs/difftastic/patches/remove-inapplicable-tests.patch
new file mode 100644
index 000000000000..6b92b40fc2af
--- /dev/null
+++ b/srcpkgs/difftastic/patches/remove-inapplicable-tests.patch
@@ -0,0 +1,36 @@
+From: Wilfred Hughes <me@wilfred.me.uk>
+Date: Fri, 31 Mar 2023 08:19:23 -0700
+Subject: [PATCH] Remove tests that no longer apply after 8b842387a
+
+---
+ src/lines.rs | 10 ----------
+ 1 file changed, 10 deletions(-)
+
+diff --git a/src/lines.rs b/src/lines.rs
+index 6dcb67d7e..7b670ec05 100644
+--- a/src/lines.rs
++++ b/src/lines.rs
+@@ -298,11 +298,6 @@ mod tests {
+ assert_eq!(codepoint_len("ƒoo"), 3);
+ }
+
+- #[test]
+- fn test_split_line_empty() {
+- assert_eq!(split_on_newlines(""), vec![""]);
+- }
+-
+ #[test]
+ fn test_split_line_single() {
+ assert_eq!(split_on_newlines("foo"), vec!["foo"]);
+@@ -318,11 +313,6 @@ mod tests {
+ assert_eq!(split_on_newlines("foo\r\nbar"), vec!["foo", "bar"]);
+ }
+
+- #[test]
+- fn test_split_line_with_trailing_newline() {
+- assert_eq!(split_on_newlines("foo\nbar\n"), vec!["foo", "bar", ""]);
+- }
+-
+ #[test]
+ fn test_is_all_whiteapce() {
+ assert!(is_all_whitespace(" \n\t"));
diff --git a/srcpkgs/difftastic/template b/srcpkgs/difftastic/template
index e288b165cc65..d9a93ff6e812 100644
--- a/srcpkgs/difftastic/template
+++ b/srcpkgs/difftastic/template
@@ -1,6 +1,6 @@
# Template file for 'difftastic'
pkgname=difftastic
-version=0.45.0
+version=0.46.0
revision=1
build_style=cargo
short_desc="Structural diff tool that understands syntax"
@@ -9,7 +9,7 @@ license="MIT"
homepage="https://difftastic.wilfred.me.uk"
changelog="https://raw.githubusercontent.com/Wilfred/difftastic/master/CHANGELOG.md"
distfiles="https://static.crates.io/crates/difftastic/difftastic-${version}.crate"
-checksum=8a7036f589424b89cfba70109de455844c652dc1177a345bd91d1c1dfd1b0e5b
+checksum=1e443445ea9d68d1538b6ad00d9eadfe5c382392b32c78034714ef7f6a3463ce
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"
next reply other threads:[~2023-04-04 19:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-04 19:43 icp1994 [this message]
2023-04-12 23:48 ` [PR PATCH] [Merged]: " classabbyamp
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-43263@inbox.vuxu.org \
--to=icp1994@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).