From 22a068c4544b83ead059049e1949106490f25bc4 Mon Sep 17 00:00:00 2001 From: pin Date: Mon, 10 Apr 2023 15:20:35 +0000 Subject: [PATCH] textproc/diffr: update to 0.1.5 - Fix build on 32 bits platforms. - Fix macOS pipeline. - Highlight trailing whitespaces. - trailing whitespace: fix for whitespace-only lines. - Improve handling of "\ No newline at end of file" message. - diffr: fix bad highlighting. (#59) - Tidy code related to --line-numbers. - Improve encapsulation of iterator types. - line-number: fix parser to allow for multiple - ranges. - Add an option to print colorized output as html. - Use imperative-style code rather than recursion. (#77) - main.rs: improve coloring contrast of white letters --- textproc/diffr/Makefile | 4 ++-- textproc/diffr/cargo-depends.mk | 9 +-------- textproc/diffr/distinfo | 29 ++++------------------------- 3 files changed, 7 insertions(+), 35 deletions(-) diff --git a/textproc/diffr/Makefile b/textproc/diffr/Makefile index 57ef46fd03aa..8c69eb68fabe 100644 --- a/textproc/diffr/Makefile +++ b/textproc/diffr/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.3 2022/02/25 09:11:44 pin Exp $ +# $NetBSD: Makefile,v 1.4 2023/04/10 15:20:35 pin Exp $ -DISTNAME= diffr-0.1.4 +DISTNAME= diffr-0.1.5 CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_GITHUB:=mookid/} GITHUB_TAG= v${PKGVERSION_NOREV} diff --git a/textproc/diffr/cargo-depends.mk b/textproc/diffr/cargo-depends.mk index 33131611a357..022d0acd7293 100644 --- a/textproc/diffr/cargo-depends.mk +++ b/textproc/diffr/cargo-depends.mk @@ -1,19 +1,12 @@ -# $NetBSD: cargo-depends.mk,v 1.1 2020/11/26 21:43:43 pin Exp $ +# $NetBSD: cargo-depends.mk,v 1.2 2023/04/10 15:20:35 pin Exp $ -CARGO_CRATE_DEPENDS+= ansi_term-0.11.0 CARGO_CRATE_DEPENDS+= atty-0.2.11 -CARGO_CRATE_DEPENDS+= bitflags-1.1.0 -CARGO_CRATE_DEPENDS+= clap-2.33.0 CARGO_CRATE_DEPENDS+= libc-0.2.58 CARGO_CRATE_DEPENDS+= numtoa-0.1.0 CARGO_CRATE_DEPENDS+= redox_syscall-0.1.54 CARGO_CRATE_DEPENDS+= redox_termios-0.1.1 -CARGO_CRATE_DEPENDS+= strsim-0.8.0 CARGO_CRATE_DEPENDS+= termcolor-1.1.0 CARGO_CRATE_DEPENDS+= termion-1.5.3 -CARGO_CRATE_DEPENDS+= textwrap-0.11.0 -CARGO_CRATE_DEPENDS+= unicode-width-0.1.5 -CARGO_CRATE_DEPENDS+= vec_map-0.8.1 CARGO_CRATE_DEPENDS+= winapi-0.3.7 CARGO_CRATE_DEPENDS+= winapi-i686-pc-windows-gnu-0.4.0 CARGO_CRATE_DEPENDS+= winapi-util-0.1.3 diff --git a/textproc/diffr/distinfo b/textproc/diffr/distinfo index afcada377f65..e7b0f6fd5276 100644 --- a/textproc/diffr/distinfo +++ b/textproc/diffr/distinfo @@ -1,20 +1,11 @@ -$NetBSD: distinfo,v 1.3 2021/10/26 11:21:49 nia Exp $ +$NetBSD: distinfo,v 1.4 2023/04/10 15:20:35 pin Exp $ -BLAKE2s (ansi_term-0.11.0.crate) = 7cd193cc3f7acbd750b484dee76f184299e57c525ade653489f170d00854ad2c -SHA512 (ansi_term-0.11.0.crate) = a637466a380748f939b3af090b8c0333f35581925bc03f4dda9b3f95d338836403cf5487ae3af9ff68f8245a837f8ab061aabe57a126a6a2c20f2e972c77d1fa -Size (ansi_term-0.11.0.crate) = 17087 bytes BLAKE2s (atty-0.2.11.crate) = 08031e91bdf41deefd3b8ca5191c6085e7d8ddc7a0fb82184210db76643b1b3d SHA512 (atty-0.2.11.crate) = 9d6417dc1e8abdb4969418525b36c451274fd76769adb57bef9875ef62ef521c50d58626ebc4f96d2bea32cbadb6999fd67653b570293d7253b403b6d0736c79 Size (atty-0.2.11.crate) = 5916 bytes -BLAKE2s (bitflags-1.1.0.crate) = 0ce187e010b5f9fa69cd2c76e093e306e84b90f28a95f2dbcd94aff35929b3d2 -SHA512 (bitflags-1.1.0.crate) = e3e611cf35a1ed4930727d530e6c78add895bd96636ca1354f1269b3d0e36e77fbb9ec850fe1f448a10f09ea2b2f89c2b16bb96b7da585851ce4c29a308968e3 -Size (bitflags-1.1.0.crate) = 16322 bytes -BLAKE2s (clap-2.33.0.crate) = 7e0fdfcb1ee499d969e07a12209ec9943c858545f526e9a8578aba208582982a -SHA512 (clap-2.33.0.crate) = f1075031414d48e4340bfe308904a95a31b72460724773c52a0bc8c004e625a04c904a39fc5420cb8c26a633321f9b5f4f69019c7aae5ed89900b63ed8c21a91 -Size (clap-2.33.0.crate) = 196458 bytes -BLAKE2s (diffr-0.1.4.tar.gz) = 4af8d41954dab557b1636f2a8926be7839b577e0ddf0d77c9d36dd4f446530ba -SHA512 (diffr-0.1.4.tar.gz) = 45bd19a91fe5353564efb94b65f4321e75b701f5a2089a5040fda4fa10c9d2487b4b22aec1fcaf7427a004f710147c717bcec8378010002ad8020b85203173e5 -Size (diffr-0.1.4.tar.gz) = 249020 bytes +BLAKE2s (diffr-0.1.5.tar.gz) = a0740344edec0babeb9c9b8cd015eee99f91aee40259c3b13181cd1bd3af2ea8 +SHA512 (diffr-0.1.5.tar.gz) = 78f4aff9950e127a15f04106b7fb38428523ab4d05364b453712a6493a3c381fe94386a808cc089a18079a0a745a3d550b7ed866d103092166c55dedfe38f0d0 +Size (diffr-0.1.5.tar.gz) = 263493 bytes BLAKE2s (libc-0.2.58.crate) = 4f8a287d455d225ca4970c0a1527d4a454ca6191fa929aecea1001357cc9b421 SHA512 (libc-0.2.58.crate) = 9127ad9a94f75655740fc3a2278c7a17d5f03c4cd12c8833c1a1ecb7a860ec8581fbc969f5c2e23b8eecb9131d9d8271131ad6a675b785f18fb55d830bcc0491 Size (libc-0.2.58.crate) = 409031 bytes @@ -27,24 +18,12 @@ Size (redox_syscall-0.1.54.crate) = 15668 bytes BLAKE2s (redox_termios-0.1.1.crate) = 445dd754d016e0f42ed51957b4496b560f88e51d33fec8fcd873d829cc2d2561 SHA512 (redox_termios-0.1.1.crate) = 201d051900e919e2c6c6769ef252e51979d90133df16b6605e2a2f424cfb2e6e505e21add75ef5854fe5e0cab1ed1f1c1451010f072ae4bc8703c585a4323981 Size (redox_termios-0.1.1.crate) = 3227 bytes -BLAKE2s (strsim-0.8.0.crate) = 4c57b0c1505fd1e6a962cf721ee33473997ba55c8638e53c92efc6c9cf7fcc91 -SHA512 (strsim-0.8.0.crate) = 1d55a8d946cd55f5f37d06aea536549ded95739fa58c0f2da285a0041154c181f663682bdcac643aa198b3e762d694a04f058db985c62ebe22b5c16327ba6d34 -Size (strsim-0.8.0.crate) = 9309 bytes BLAKE2s (termcolor-1.1.0.crate) = d24f2bef4aa08fb588bd5e362c20332a0859ef78eb802ac5f662a0d0a384769b SHA512 (termcolor-1.1.0.crate) = 41b05b047cbfdd5e3990eb36f635dc8ccf26a42bd5403d6d14a9f3c341e92b61c3b8d4d5f4fcd29071a97b3d96280ed59b4557b63a769390e2729fc82ab39702 Size (termcolor-1.1.0.crate) = 17193 bytes BLAKE2s (termion-1.5.3.crate) = 50bfe09e7918d8a471edf9c73c73cda2b95f7ce8c5bb2e4a0494d53b6b3a840c SHA512 (termion-1.5.3.crate) = 1cbe60f97d5f8b95e6a57ec9b7cfcf37459bc8dbcf8424b055f04b2ecdaf069e1bb52222364a2f380dc3f63039fe3823d424228af1c212a8b3790b7dd55d5deb Size (termion-1.5.3.crate) = 22080 bytes -BLAKE2s (textwrap-0.11.0.crate) = aac1ca89e048f3559b66b2653332c7a880ffdd9d7e557c097334ed50099ae7af -SHA512 (textwrap-0.11.0.crate) = f5c0fe4f28ff1a3a0931e8e235b5157a45f67967985bcc752418c5ec3481fca44a8ae4800088889b37e8cd0533f53d3c456d5ffd19b767b3f83a87b49a2e209a -Size (textwrap-0.11.0.crate) = 17322 bytes -BLAKE2s (unicode-width-0.1.5.crate) = 43ea16aefae5983fac12eeb9c71c4ee25b87417d58c77753686cf2f9217c013e -SHA512 (unicode-width-0.1.5.crate) = bd5ac5f0433953d79408074239edc7c43ce23d56659d467805d81ab01c576a3cf77ccedb3bba41d48bc4ad46a8905ac8a1927b99312053ef6295fd940a6766d2 -Size (unicode-width-0.1.5.crate) = 15761 bytes -BLAKE2s (vec_map-0.8.1.crate) = 536e0bd3c86897f5816aa876a39a5c40482c31a2bd845bc002b8f621f9064d8e -SHA512 (vec_map-0.8.1.crate) = 026cf10dc7ba98ae51dd312fc847cbaea41c25f0da5db6e0e22c2ecf75584bbf876d7bd96035fbbcf6696d702d5a3f25977e02a2d77cf519aa21e3ed05710e40 -Size (vec_map-0.8.1.crate) = 14959 bytes BLAKE2s (winapi-0.3.7.crate) = a8c1f07101c6f62702c9aba2847002bab7706d0c4bf154a1715933f4cc593320 SHA512 (winapi-0.3.7.crate) = 6871b93ad8d48e39b90cb7b31b3132f84665f965b4dfe06fcebdfb873e7d099007cf3d7a50e832a941c3425ad2f39c3ab48a77151e60863685b97fc05c71d134 Size (winapi-0.3.7.crate) = 1075776 bytes