Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] difftastic: update to 0.47.0.
@ 2023-05-18 19:12 icp1994
  2023-05-19  1:51 ` [PR PATCH] [Closed]: " abenson
  0 siblings, 1 reply; 2+ messages in thread
From: icp1994 @ 2023-05-18 19:12 UTC (permalink / raw)
  To: ml

[-- 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/43930

difftastic: update to 0.47.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/43930.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-difftastic-43930.patch --]
[-- Type: text/x-diff, Size: 2816 bytes --]

From e356a692f518d7c40054cf0eaeda52fb077c8237 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Fri, 19 May 2023 00:33:24 +0530
Subject: [PATCH] difftastic: update to 0.47.0.

---
 .../patches/remove-inapplicable-tests.patch   | 36 -------------------
 srcpkgs/difftastic/template                   |  8 +++--
 2 files changed, 6 insertions(+), 38 deletions(-)
 delete 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
deleted file mode 100644
index 6b92b40fc2af..000000000000
--- a/srcpkgs/difftastic/patches/remove-inapplicable-tests.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-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 d9a93ff6e812..4462c3826420 100644
--- a/srcpkgs/difftastic/template
+++ b/srcpkgs/difftastic/template
@@ -1,6 +1,6 @@
 # Template file for 'difftastic'
 pkgname=difftastic
-version=0.46.0
+version=0.47.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=1e443445ea9d68d1538b6ad00d9eadfe5c382392b32c78034714ef7f6a3463ce
+checksum=88178b3bb1f9d07d06abb7afc6374b4b5e0db5cb3563f13929a2fd61b6b99499
 
 if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 	makedepends+=" libatomic-devel"
@@ -19,6 +19,10 @@ if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 	fi
 fi
 
+pre_build() {
+	cargo update --package crossbeam-channel@0.5.4 --precise 0.5.8 # yanked
+}
+
 post_install() {
 	vlicense LICENSE
 }

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Closed]: difftastic: update to 0.47.0.
  2023-05-18 19:12 [PR PATCH] difftastic: update to 0.47.0 icp1994
@ 2023-05-19  1:51 ` abenson
  0 siblings, 0 replies; 2+ messages in thread
From: abenson @ 2023-05-19  1:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 325 bytes --]

There's a closed pull request on the void-packages repository

difftastic: update to 0.47.0.
https://github.com/void-linux/void-packages/pull/43930

Description:
#### 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**

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-05-19  1:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-18 19:12 [PR PATCH] difftastic: update to 0.47.0 icp1994
2023-05-19  1:51 ` [PR PATCH] [Closed]: " abenson

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).