pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/hgrep textproc/hgrep: update to 0.2.1
details: https://anonhg.NetBSD.org/pkgsrc/rev/1a141b8235fa
branches: trunk
changeset: 769384:1a141b8235fa
user: pin <pin%pkgsrc.org@localhost>
date: Sun Nov 14 09:06:41 2021 +0000
description:
textproc/hgrep: update to 0.2.1
-Heuristic algorithm to choose the foreground color of matched regions was
improved. Now hgrep generates multiple candidates for the foreground color,
and chooses one of them looking at the color distances from the background
color.
-Add new Material theme. It is a very popular low-contrast color theme. Try it
by hgrep --theme Matrial.
-Add new Carbonight theme. It is a minimal monotone color theme. Some people
feel that too colorful outputs are hard to see. This color theme might fit to
such people.
-Built-in grep allows K/M/G suffix at --max-filesize option to specify a file
size easily.
-Built-in grep adds new flag --invert-match for invert matching. It shows lines
that do not match the given pattern.
-Built-in grep adds new flag --one-file-system. When enabled, the search will
not cross file system boundaries relative to where it started from.
-Built-in grep adds new short flag-. as alias of long flag --hidden.
-Built-in grep adds new flag --no-unicode which disables Unicode-aware search.
-Built-in grep improves the output from --type-list. Now types are printed in
bold texts which is easier to see.
-Syntax assets were updated to the latest. They improve some syntax highlight
detection (for example, vimrc for Vim files) and solve some highlighting
issues.
-Fix a broken pipe error when hgrep command is piped to a pager command like
less. This happened when less exits earlier than hgrep command, for example,
when you immediately quit a pager by q without scrolling the output to the end.
In the case, hgrep still tried to output the result to stdout even if the pipe
had already been closed and it caused a broken pipe error. In v0.2.1, hgrep
correctly ignores such broken pipe errors.
-Fix --no-wrap deprecated flag was not removed at v0.2.0. Use --wrap instead if
you used the flag.
-Fix checksum of downloaded package via Homebrew on arm64 macOS.
-Fix --type-list flag did not print types when a pattern argument is not given.
-(Dev) Move asset-builder tool directory to assets/builder.
-(Dev) The script to update test snapshots is now 25x faster.
-(Dev) CI job to run clippy and rustfmt is now 6x faster.
diffstat:
textproc/hgrep/Makefile | 4 ++--
textproc/hgrep/cargo-depends.mk | 10 +++++-----
textproc/hgrep/distinfo | 32 ++++++++++++++++----------------
3 files changed, 23 insertions(+), 23 deletions(-)
diffs (129 lines):
diff -r ed4de504d075 -r 1a141b8235fa textproc/hgrep/Makefile
--- a/textproc/hgrep/Makefile Sun Nov 14 08:57:15 2021 +0000
+++ b/textproc/hgrep/Makefile Sun Nov 14 09:06:41 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2021/11/06 22:47:51 pin Exp $
+# $NetBSD: Makefile,v 1.6 2021/11/14 09:06:41 pin Exp $
-DISTNAME= hgrep-0.2.0
+DISTNAME= hgrep-0.2.1
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GITHUB:=rhysd/}
GITHUB_TAG= v${PKGVERSION_NOREV}
diff -r ed4de504d075 -r 1a141b8235fa textproc/hgrep/cargo-depends.mk
--- a/textproc/hgrep/cargo-depends.mk Sun Nov 14 08:57:15 2021 +0000
+++ b/textproc/hgrep/cargo-depends.mk Sun Nov 14 09:06:41 2021 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: cargo-depends.mk,v 1.5 2021/11/06 22:47:51 pin Exp $
+# $NetBSD: cargo-depends.mk,v 1.6 2021/11/14 09:06:41 pin Exp $
CARGO_CRATE_DEPENDS+= adler-1.0.2
CARGO_CRATE_DEPENDS+= aho-corasick-0.7.18
CARGO_CRATE_DEPENDS+= ansi_colours-1.0.4
CARGO_CRATE_DEPENDS+= ansi_term-0.12.1
-CARGO_CRATE_DEPENDS+= anyhow-1.0.44
+CARGO_CRATE_DEPENDS+= anyhow-1.0.45
CARGO_CRATE_DEPENDS+= atty-0.2.14
CARGO_CRATE_DEPENDS+= autocfg-1.0.1
CARGO_CRATE_DEPENDS+= base64-0.13.0
@@ -75,7 +75,7 @@
CARGO_CRATE_DEPENDS+= js-sys-0.3.55
CARGO_CRATE_DEPENDS+= lazy_static-1.4.0
CARGO_CRATE_DEPENDS+= lazycell-1.3.0
-CARGO_CRATE_DEPENDS+= libc-0.2.106
+CARGO_CRATE_DEPENDS+= libc-0.2.107
CARGO_CRATE_DEPENDS+= libmimalloc-sys-0.1.22
CARGO_CRATE_DEPENDS+= line-wrap-0.1.1
CARGO_CRATE_DEPENDS+= linked-hash-map-0.5.4
@@ -122,7 +122,7 @@
CARGO_CRATE_DEPENDS+= regex-automata-0.1.10
CARGO_CRATE_DEPENDS+= regex-syntax-0.6.25
CARGO_CRATE_DEPENDS+= remove_dir_all-0.5.3
-CARGO_CRATE_DEPENDS+= rgb2ansi256-0.1.0
+CARGO_CRATE_DEPENDS+= rgb2ansi256-0.1.1
CARGO_CRATE_DEPENDS+= rustc_version-0.4.0
CARGO_CRATE_DEPENDS+= rustversion-1.0.5
CARGO_CRATE_DEPENDS+= ryu-1.0.5
@@ -135,7 +135,7 @@
CARGO_CRATE_DEPENDS+= serde-1.0.130
CARGO_CRATE_DEPENDS+= serde_cbor-0.11.2
CARGO_CRATE_DEPENDS+= serde_derive-1.0.130
-CARGO_CRATE_DEPENDS+= serde_json-1.0.68
+CARGO_CRATE_DEPENDS+= serde_json-1.0.69
CARGO_CRATE_DEPENDS+= serde_yaml-0.8.21
CARGO_CRATE_DEPENDS+= shell-escape-0.1.5
CARGO_CRATE_DEPENDS+= std_prelude-0.2.12
diff -r ed4de504d075 -r 1a141b8235fa textproc/hgrep/distinfo
--- a/textproc/hgrep/distinfo Sun Nov 14 08:57:15 2021 +0000
+++ b/textproc/hgrep/distinfo Sun Nov 14 09:06:41 2021 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2021/11/06 22:47:51 pin Exp $
+$NetBSD: distinfo,v 1.6 2021/11/14 09:06:41 pin Exp $
BLAKE2s (adler-1.0.2.crate) = f263779d752af886455fc0f42c997893fb1a09edcf1bd2980605251c2e3602aa
SHA512 (adler-1.0.2.crate) = 7ab190d31890fc05b0b55d8e2c6527a505e06793d5496be0b3831e0513412f9ba97f8148f6f68ed0770fa9cd980a5092d885e058becf1d5506b7c74b82674aa1
@@ -12,9 +12,9 @@
BLAKE2s (ansi_term-0.12.1.crate) = 9d7961fca7b2680f17660048cf2d6171faa0def807ea66b5b5b9110f0623a12f
SHA512 (ansi_term-0.12.1.crate) = b840e28b3e7700689a69a39659b1e066560078dd4a58326b91a028915819e7af883399ee53e920db68fd974c58d35bb1ddf8d427af5937d5f696f57c4376b671
Size (ansi_term-0.12.1.crate) = 24838 bytes
-BLAKE2s (anyhow-1.0.44.crate) = 502aa7e9bfb219bede496cf5d9d7431f5ef0f419393b194bfa1a56508327582e
-SHA512 (anyhow-1.0.44.crate) = d8ec44c64cf4b06121421c99157573b59e2078ab1aba7d949aad9ddd5ec4a1b585a07d0ca06807ed2349c6becaed1cba69f10f9affa2da25f749b615a70aa9ff
-Size (anyhow-1.0.44.crate) = 35067 bytes
+BLAKE2s (anyhow-1.0.45.crate) = 3809417582c39f0c46f025c6a7eba2e38e6f3bc74bca640e46413c9c8d7cb2de
+SHA512 (anyhow-1.0.45.crate) = a2ea3a764024dc5d5c176890e22aa9e91e18c4252e04548baeb6ed8cbc11ba8e3b0220758e7b1a670e934da0f40e747ce02520788c0e557cf9ed05b19806fd50
+Size (anyhow-1.0.45.crate) = 35468 bytes
BLAKE2s (atty-0.2.14.crate) = 8a58145c7b668aa6caf8d749e37857ff202211e1bfa9e441f130ff02feb68405
SHA512 (atty-0.2.14.crate) = d7b6c4b9a0f898d91ddbc41a5ee45bbf45d1d269508c8cc87ee3e3990500e41e0ec387afb1f3bc7db55bedac396dd86c6509f4bf9e5148d809c3802edcc5e1d9
Size (atty-0.2.14.crate) = 5470 bytes
@@ -201,9 +201,9 @@
BLAKE2s (hermit-abi-0.1.19.crate) = c731a42a9056a75a3ba26b5ab02c7c60c1fa2f21635d4152de66dc2eb407e097
SHA512 (hermit-abi-0.1.19.crate) = 1c877fcd562b15d2de9c151fd6c5f3ea4bf48abcb799e6139a180ffad5d64b632f0000d5707bbd92ff23a0e5f349157b9e0f5be8b50f03680b0fa47315dbb78a
Size (hermit-abi-0.1.19.crate) = 9979 bytes
-BLAKE2s (hgrep-0.2.0.tar.gz) = 7f8c2dd35b0460897c52c6ca5ffb7847a1626a994168a29ad8395cf0fcde96a5
-SHA512 (hgrep-0.2.0.tar.gz) = 192b51bf1496215528adc788a5be546a06b78e7c5767cbb47ac0e7f20065466e1311a270bd1358e5346e76db299424df7876cb26a6cc542c62b31bba679354c3
-Size (hgrep-0.2.0.tar.gz) = 828966 bytes
+BLAKE2s (hgrep-0.2.1.tar.gz) = f34806fcfb80851b5f7a1858fe786b9f3385b1b8f0d16499ed1e6431313b8ccc
+SHA512 (hgrep-0.2.1.tar.gz) = aef8319957aa2cf2cbc285c1cf0a6c6b7bea9b448d8429db065971218dae29309fcf56d0de22d99202443e00e4a055ec269504edce6bae248ef60554aade7c3b
+Size (hgrep-0.2.1.tar.gz) = 847322 bytes
BLAKE2s (ignore-0.4.18.crate) = 8572ea3aa32efc6b519aaa1637d0bff67c2c75d5ca3a53f0c79c2b7af757b4ea
SHA512 (ignore-0.4.18.crate) = 5d11a2415f015cce6ce72aa3d08a7cfb645ee7f1845b3445a924a92144438f209c992cc15d4ede3099d1eebe3fa28bde4e0eef1a3fbcb9dbced19a42051d21be
Size (ignore-0.4.18.crate) = 53174 bytes
@@ -228,9 +228,9 @@
BLAKE2s (lazycell-1.3.0.crate) = 4b68bb7aee4d9c2db1f382991cd5257b908571f8e550a9af7818ce4a2c268469
SHA512 (lazycell-1.3.0.crate) = f9d627afc28b61e9687a3f72260eb013401fd64057647641ff2e763770d7380ab1d2d8cbb4a3c8818d53d504c618a3b46aaf701f72f4d7b25d226042824c2f8d
Size (lazycell-1.3.0.crate) = 12502 bytes
-BLAKE2s (libc-0.2.106.crate) = ea18c5b4a98ec80a1fd9c1c319bb5dcfc68ab6b4700459aeb5f371e719f86291
-SHA512 (libc-0.2.106.crate) = 8e80cc41c8373b9228d1d21bf5de3f14aaa9ed4eb5aed337041e561f821db0d1a5936d676368443ad2009ed684aa8f0c7762def02df25a891f57288e7e6af2ec
-Size (libc-0.2.106.crate) = 554765 bytes
+BLAKE2s (libc-0.2.107.crate) = 29e4acee992bbe2c91e74c226db977f2f12714023bfbec3732ff04b01c279549
+SHA512 (libc-0.2.107.crate) = df1586889c97d45c95f47495f8285c273c143f1861e632b326345ee66da63c227c064d9e12a6a1b48cfb866c70010a4ad407fed120a1a808da7a345777a8f909
+Size (libc-0.2.107.crate) = 554639 bytes
BLAKE2s (libmimalloc-sys-0.1.22.crate) = 24ff3abe62d34403a507a753d2ff4a3878ecb7b673fde076a3e1fefa29b8c0b4
SHA512 (libmimalloc-sys-0.1.22.crate) = 6ed4965552898ef0c51c6e3fc6962793c6694bea79459c08bed2af211887cba3d605b3949cec2734c59a2314c305fcf78b871d2e688ba3756441e53bd49697f1
Size (libmimalloc-sys-0.1.22.crate) = 908612 bytes
@@ -369,9 +369,9 @@
BLAKE2s (remove_dir_all-0.5.3.crate) = 1c3501d77c00011b5c303ca74013c37e39700786c370d0891f8114759e4e6b4b
SHA512 (remove_dir_all-0.5.3.crate) = 50417d6d8a33912193a1ed37eb72b47431b12ae65d2780cdb7080c3d141e63819da13751c3fb737685cea322f70b36d413389c3dc01aa12b4dce615aefed0e2c
Size (remove_dir_all-0.5.3.crate) = 9184 bytes
-BLAKE2s (rgb2ansi256-0.1.0.crate) = eae8b381a74d4e238b04e31803a641a4f9601d1a8da6a83a6556d71820adb0f0
-SHA512 (rgb2ansi256-0.1.0.crate) = f0879ee681fb1066ae94dab935093723027f305cd2e2546bbbf7e74593391593268abdff055aa3c533f906c8848b2cc917baf7f687922678ebb036004cb8ce3c
-Size (rgb2ansi256-0.1.0.crate) = 5724 bytes
+BLAKE2s (rgb2ansi256-0.1.1.crate) = 6ab3d43da4e5e80ab6fa065157cc6af3c5315b7e162948d5973720215bf8a40d
+SHA512 (rgb2ansi256-0.1.1.crate) = 3ab647d3341847169610affb8762d31279a6c984ba855597cc027897466123b39b79341576fff2f226851a43bd08bc4cb7ac57a2e33dd840ea5f41a15da1b2aa
+Size (rgb2ansi256-0.1.1.crate) = 6376 bytes
BLAKE2s (rustc_version-0.4.0.crate) = 8244e9157b6b8811ae926fc0ed00edeb2b0a0f0f34d6e7b93ad236cbb6ffffba
SHA512 (rustc_version-0.4.0.crate) = f66da7c6efe431db06cd01180d84ba67fcd38f8cd6ef693762957c00ccc2211f23c08079d7f184776e08f28d2d6ca3bdb5f5016f7de245c6193d4722891ba1db
Size (rustc_version-0.4.0.crate) = 12175 bytes
@@ -408,9 +408,9 @@
BLAKE2s (serde_derive-1.0.130.crate) = 3bdf291c2a28a01eb45deddc78babdf6bb30da40462679f424f34949c1cdca23
SHA512 (serde_derive-1.0.130.crate) = d3ca974bf8856ed8a73af4eaff69941b35eef187d7e348d6d2ef9ee79eccad893e66270c7d814ac3871e09e21e603d34d7d1f24b182d9b39e9219acd42a7baa8
Size (serde_derive-1.0.130.crate) = 54703 bytes
-BLAKE2s (serde_json-1.0.68.crate) = 689d89153feb70d40fad1de5357abc781882a0d13f0bf6f83d653a719c63276c
-SHA512 (serde_json-1.0.68.crate) = 54a0345029016873883dbdcd2094615f509759f61b04d9a496dfdbc1e27ee5361dfb3d129f209a9ad66984cc1f4c82751adfe1a564198649ecc939e8c3dd1ac5
-Size (serde_json-1.0.68.crate) = 114986 bytes
+BLAKE2s (serde_json-1.0.69.crate) = 08c0fe9fd7d740fe6ed8905ba65e51593ac11b8c3b0ea285974d19b5354ff5b8
+SHA512 (serde_json-1.0.69.crate) = 4c74ddc935b905708ccd09e8c4ce9e6d4dbb3b0b978228d7947df4659620ac9fa74e8a5e87626ae7e6c79b77b0ac00666888ee62273a13168b53ae55ba1da941
+Size (serde_json-1.0.69.crate) = 115218 bytes
BLAKE2s (serde_yaml-0.8.21.crate) = e2dadd24faeb47dcff78015b79d2c221b774e0220fce3d48331ec97d0bc09181
SHA512 (serde_yaml-0.8.21.crate) = 82e5a6663392b2a3e049f735b88b35023bb9255167b0e396c2cc5982b014ad2e6804433d15ffd19fe2ffd6e423a6e04e9a32b4b3d2b012adaa1f4f44996a81ea
Size (serde_yaml-0.8.21.crate) = 42603 bytes
Home |
Main Index |
Thread Index |
Old Index