pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/difftastic devel/difftastic: update to 0.39.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/05d4d2679825
branches:  trunk
changeset: 390437:05d4d2679825
user:      pin <pin%pkgsrc.org@localhost>
date:      Mon Dec 19 11:17:17 2022 +0000

description:
devel/difftastic: update to 0.39.0

0.39 (released 19th December 2022)
Parsing
 - Added support for Erlang.
 - Improved detection of binary content when the MIME type database incorrectly
   claims a text file is another format.

Display
 - Paths are now always displayed relative to the current working directory.
 - Fixed a race condition where diffing directories would lead to interleaved
   output from different files.

Command Line Interface
 - Added a --check-only flag that reports if there are any syntactic
   differences, but doesn't calculate or print them. This is much faster than
   normal syntactic diffing.
 - Difftastic now sets the exit code if it finds changes and --exit-code is set.
   See usage in the manual for the full list of exit codes used.

0.38 (released 14th November 2022)
Parsing
 - Syntax error nodes are now always treated as atoms. This produces better
   results when difftastic doesn't fully support the syntax (e.g. PostCSS is a
   superset of CSS) or when there are actual syntax errors.
 - Fixed a crash on file content detection when the local MIME database contains
   blank lines.

Display
 - Line numbers styling has been tweaked to make it more visually distinct from
   file content.
 - Fixed an issue with inline display discarding newlines when color is
   disabled, leading to broken display.
 - Two column display now ensures that both columns have the same width, so
   line wrapping is at the same point on both sides.

diffstat:

 devel/difftastic/Makefile                 |   4 ++--
 devel/difftastic/distinfo                 |   9 +++++----
 devel/difftastic/patches/patch-Cargo.toml |  26 ++++++++++++++++++++++++++
 3 files changed, 33 insertions(+), 6 deletions(-)

diffs (69 lines):

diff -r a8653c4f2817 -r 05d4d2679825 devel/difftastic/Makefile
--- a/devel/difftastic/Makefile Mon Dec 19 11:13:55 2022 +0000
+++ b/devel/difftastic/Makefile Mon Dec 19 11:17:17 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.11 2022/10/15 07:08:23 pin Exp $
+# $NetBSD: Makefile,v 1.12 2022/12/19 11:17:17 pin Exp $
 
-DISTNAME=      difftastic-0.37.0
+DISTNAME=      difftastic-0.39.0
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=Wilfred/}
 
diff -r a8653c4f2817 -r 05d4d2679825 devel/difftastic/distinfo
--- a/devel/difftastic/distinfo Mon Dec 19 11:13:55 2022 +0000
+++ b/devel/difftastic/distinfo Mon Dec 19 11:17:17 2022 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2022/10/15 07:08:23 pin Exp $
+$NetBSD: distinfo,v 1.12 2022/12/19 11:17:17 pin Exp $
 
 BLAKE2s (aho-corasick-0.7.18.crate) = 8925e88e2df4b5ca3b31783f527e1bb31dbe27846f409f631148fa239f3b2935
 SHA512 (aho-corasick-0.7.18.crate) = 7a23b16231a90d23ee60ad4c81bc225410599a4560d33d3a203138fc540c39cf1000100fed3aed40dcc371c3635656a3792545dca5dd1aefbde00d8774eebd00
@@ -57,9 +57,9 @@
 BLAKE2s (diff-0.1.12.crate) = 97e9a9edde58861f9129c0f531e596f0602a744e070445315118269ae02ad4f7
 SHA512 (diff-0.1.12.crate) = 0e81331c0424e9369963e23894a6412b65a3ed4f3154ccc184fc84cf1c5985b81c586a6b34e8c6c0e5c3afba38fb15277cfd89e7f50c85bd5d8d4d24ba670d16
 Size (diff-0.1.12.crate) = 10223 bytes
-BLAKE2s (difftastic-0.37.0.tar.gz) = 251bfb5e5d2cc1e85bcb88e87e0f7bac97e58e88d30b3d91e883efa6629252db
-SHA512 (difftastic-0.37.0.tar.gz) = b26ec8cf7423d870b246b9abfc255ffa5efab1f6690b5a85448dfa2247dbfced34c6e39440556ebb0478e5ff10cbbf7b56483be6fb8c72c9c4c17f7f21af1672
-Size (difftastic-0.37.0.tar.gz) = 28624498 bytes
+BLAKE2s (difftastic-0.39.0.tar.gz) = 8e541c42a9525b60910238e0e065ce38587bb3343e98422186302c03aa6ffbf8
+SHA512 (difftastic-0.39.0.tar.gz) = 08364e582cdb6cd670bc6791ad40b02345afbeb2e636725b133b0df685c8814c3617ed51fa35248902cf0ca228ae433931783a660b4cc4c11ed8847416591347
+Size (difftastic-0.39.0.tar.gz) = 28786273 bytes
 BLAKE2s (either-1.6.1.crate) = 6bb7f6e21460b5351a6f5a377c2cf08d5e444c0fef34823941742c346e201965
 SHA512 (either-1.6.1.crate) = 4bfe56920e30cbc8eb4f90162db618f7dca653b42db35ab6a7045d3fd9a24ceb1778b1f79613850bdb1a87ad3794fa0d73015e46c48d513f368d8c3776fc9ddf
 Size (either-1.6.1.crate) = 13641 bytes
@@ -264,3 +264,4 @@
 BLAKE2s (wu-diff-0.1.2.crate) = 6e1850ebdcf02e87b768685a99067acb0f7cf78b1bf0d5af66ed09813998176d
 SHA512 (wu-diff-0.1.2.crate) = 6d93c8854dba66f48f736db3f9e997d11d07a0fef3e13219716e553c0f5936f1d00468b88d9164329cfd195271aa242ec7dfd58560074f1a41e8558719ba5af0
 Size (wu-diff-0.1.2.crate) = 33439 bytes
+SHA1 (patch-Cargo.toml) = 6bfb3de0a43516060bf61e0c121237d85c3faa69
diff -r a8653c4f2817 -r 05d4d2679825 devel/difftastic/patches/patch-Cargo.toml
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/difftastic/patches/patch-Cargo.toml Mon Dec 19 11:17:17 2022 +0000
@@ -0,0 +1,26 @@
+$NetBSD: patch-Cargo.toml,v 1.1 2022/12/19 11:17:17 pin Exp $
+
+Don't patch tree_magic_mini crate.
+Required changes have been merged upstream.
+
+--- Cargo.toml.orig    2022-12-19 07:55:22.000000000 +0000
++++ Cargo.toml
+@@ -51,7 +51,7 @@ const_format = "0.2.22"
+ owo-colors = "3.3.0"
+ wu-diff = "0.1.2"
+ rayon = "1.5.2"
+-tree_magic_mini = "3.0.2"
++tree_magic_mini = "3.0.3"
+ bumpalo = "3.9.1"
+ unicode-width = "0.1.9"
+ term_size = "0.3.2"
+@@ -70,9 +70,3 @@ lto = "thin"
+ [[bin]]
+ name = "difft"
+ path = "src/main.rs"
+-
+-[features]
+-
+-[patch.crates-io]
+-# https://github.com/mbrubeck/tree_magic/pull/13 hasn't been merged yet.
+-tree_magic_mini = { git = 'https://github.com/Wilfred/tree_magic', branch = 'fix-panic-for-empty-strings' }



Home | Main Index | Thread Index | Old Index