pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/tuc textproc/tuc: update to 0.11.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b7e6ef7c568b
branches:  trunk
changeset: 391002:b7e6ef7c568b
user:      pin <pin%pkgsrc.org@localhost>
date:      Mon Jan 02 12:54:00 2023 +0000

description:
textproc/tuc: update to 0.11.0

[0.11.0] - 2022-06-20
    fix: --lines could throw out of bounds with -f 1: in some situations
    chore: dependency updates
    doc: fixed typos
    doc: new section about community-managed install methods (macports)
    doc: man page generated using the mode modern pandoc 2.5

[0.10.0] - 2022-06-13
    breaking: -E is now an option (-e), and accept the regex as value
    doc: added man page
    doc: improved documentation
    chore: updated pico-args

[0.9.0] - 2022-06-05
    breaking: --lines output each bound on their own line
    feat: --regex support
    feat: minor tuning of buffers
    feat: internal improvements for --lines
    fix: right side of a range can be negative
    fix: emit proper error if right side of a range is behind left side
    fix: --lines with negative indexes were broken
    fix: --greedy-delimiter was cutting wrongly lines starting with delimiter

diffstat:

 textproc/tuc/Makefile         |   9 +++++----
 textproc/tuc/cargo-depends.mk |   9 ++++++---
 textproc/tuc/distinfo         |  29 +++++++++++++++++++----------
 3 files changed, 30 insertions(+), 17 deletions(-)

diffs (112 lines):

diff -r 9d33ecac1250 -r b7e6ef7c568b textproc/tuc/Makefile
--- a/textproc/tuc/Makefile     Mon Jan 02 12:53:05 2023 +0000
+++ b/textproc/tuc/Makefile     Mon Jan 02 12:54:00 2023 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.6 2022/06/09 07:58:58 pin Exp $
+# $NetBSD: Makefile,v 1.7 2023/01/02 12:54:00 pin Exp $
 
-# tuc-0.9.0 requires rust-1.61
-DISTNAME=      tuc-0.8.0
+DISTNAME=      tuc-0.11.0
 CATEGORIES=    textproc
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=riquito/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
@@ -13,11 +12,13 @@
 
 .include "cargo-depends.mk"
 
-INSTALLATION_DIRS=     bin
+INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1
 
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/target/release/tuc \
                ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_MAN} ${WRKSRC}/doc/tuc.1 \
+               ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/tuc.1
 
 .include "../../lang/rust/cargo.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 9d33ecac1250 -r b7e6ef7c568b textproc/tuc/cargo-depends.mk
--- a/textproc/tuc/cargo-depends.mk     Mon Jan 02 12:53:05 2023 +0000
+++ b/textproc/tuc/cargo-depends.mk     Mon Jan 02 12:54:00 2023 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: cargo-depends.mk,v 1.4 2022/06/09 07:58:58 pin Exp $
+# $NetBSD: cargo-depends.mk,v 1.5 2023/01/02 12:54:00 pin Exp $
 
-CARGO_CRATE_DEPENDS+=  anyhow-1.0.57
+CARGO_CRATE_DEPENDS+=  aho-corasick-0.7.18
+CARGO_CRATE_DEPENDS+=  anyhow-1.0.58
 CARGO_CRATE_DEPENDS+=  assert_cmd-2.0.4
 CARGO_CRATE_DEPENDS+=  bstr-0.2.16
 CARGO_CRATE_DEPENDS+=  difflib-0.4.0
@@ -10,10 +11,12 @@
 CARGO_CRATE_DEPENDS+=  lazy_static-1.4.0
 CARGO_CRATE_DEPENDS+=  libc-0.2.97
 CARGO_CRATE_DEPENDS+=  memchr-2.4.0
-CARGO_CRATE_DEPENDS+=  pico-args-0.4.2
+CARGO_CRATE_DEPENDS+=  pico-args-0.5.0
 CARGO_CRATE_DEPENDS+=  predicates-2.1.1
 CARGO_CRATE_DEPENDS+=  predicates-core-1.0.2
 CARGO_CRATE_DEPENDS+=  predicates-tree-1.0.2
+CARGO_CRATE_DEPENDS+=  regex-1.5.6
 CARGO_CRATE_DEPENDS+=  regex-automata-0.1.10
+CARGO_CRATE_DEPENDS+=  regex-syntax-0.6.26
 CARGO_CRATE_DEPENDS+=  treeline-0.1.0
 CARGO_CRATE_DEPENDS+=  wait-timeout-0.2.0
diff -r 9d33ecac1250 -r b7e6ef7c568b textproc/tuc/distinfo
--- a/textproc/tuc/distinfo     Mon Jan 02 12:53:05 2023 +0000
+++ b/textproc/tuc/distinfo     Mon Jan 02 12:54:00 2023 +0000
@@ -1,8 +1,11 @@
-$NetBSD: distinfo,v 1.6 2022/06/09 07:58:58 pin Exp $
+$NetBSD: distinfo,v 1.7 2023/01/02 12:54:00 pin Exp $
 
-BLAKE2s (anyhow-1.0.57.crate) = 41fb9d89f40f717e78e0037fae26ece2af44205dddd0028375284f2c827231bb
-SHA512 (anyhow-1.0.57.crate) = 311b9280aa7d573c11752ca2ffe810e2d4b55fe4c34cca948bbd42f1ddb1d36a51eda39684cffb7f6c4a18508cb53a5a38495521562a0088e3374fee800ff004
-Size (anyhow-1.0.57.crate) = 44614 bytes
+BLAKE2s (aho-corasick-0.7.18.crate) = 8925e88e2df4b5ca3b31783f527e1bb31dbe27846f409f631148fa239f3b2935
+SHA512 (aho-corasick-0.7.18.crate) = 7a23b16231a90d23ee60ad4c81bc225410599a4560d33d3a203138fc540c39cf1000100fed3aed40dcc371c3635656a3792545dca5dd1aefbde00d8774eebd00
+Size (aho-corasick-0.7.18.crate) = 112923 bytes
+BLAKE2s (anyhow-1.0.58.crate) = 757042ce50f93843bc13e640b9d3db0f125b7fabcc9726d844d77071d6cf1a86
+SHA512 (anyhow-1.0.58.crate) = 78b21c51efd37e2be8f5672dc57f23ecd222d910604276da094754e06b86eb5a899d7ca7fb9f92566a13f70c116b05fed93d68a06320894d76a14a31e6c557b7
+Size (anyhow-1.0.58.crate) = 43137 bytes
 BLAKE2s (assert_cmd-2.0.4.crate) = f2efbb63a33e11fa51ddfdeb2f3fb143bb28e6339b89e2650cd987691e9396c4
 SHA512 (assert_cmd-2.0.4.crate) = c389e0210153e9a6ccbba4dbc6a6c7a23533e5fe76e717dbc36415be2adbabfbc0de33a2e6d05e3d70779b7a278580edba400c688c9a6b446403b59a78d93720
 Size (assert_cmd-2.0.4.crate) = 22581 bytes
@@ -30,9 +33,9 @@
 BLAKE2s (memchr-2.4.0.crate) = ad963b762cf06e8588191edac06d1b5b3ebff79409fb1486be8dd315e8abfdc1
 SHA512 (memchr-2.4.0.crate) = b142e308a5aef8e45910411789031e194349ee540c4ced0e2384d864dc1913299fb63a161ceb5228256e97d0949661b7f83a169ef9d4b78afbd9004cb7b8a2fb
 Size (memchr-2.4.0.crate) = 63392 bytes
-BLAKE2s (pico-args-0.4.2.crate) = f0d351b513b1b20c1cfd24bf41c521e9529714827839211e5e0bfdad9f4d3c5a
-SHA512 (pico-args-0.4.2.crate) = a6e46bc8d086091a37a0edf418d5414eaa5ef57a508aa81c352c66281cc2c88c97611b7eedd4f5f18c7a8169f48aa3bfdc7a5eb7b3cb570cbf871eed5e867ea1
-Size (pico-args-0.4.2.crate) = 11565 bytes
+BLAKE2s (pico-args-0.5.0.crate) = ecda97dcd69b423f817e848d74253976fbcd0d8d9ec9d69e195a166c3fcdb5f8
+SHA512 (pico-args-0.5.0.crate) = 2d3dc5bf1ae11b0373e03698e7020c20b4e14c9aa482ff2d8e98e68ecacc5c0804152bf7d188779197da9464907bda60cf270cd6fe85e6b9fcbf29b1b82bf99e
+Size (pico-args-0.5.0.crate) = 11545 bytes
 BLAKE2s (predicates-2.1.1.crate) = cc32cefa4a4afae1ce5a0f843f4b45caf28f0ebb858a06a77d0669297f20cd38
 SHA512 (predicates-2.1.1.crate) = c850fa2541265aeb23d5c19dac6c7654dc434f1239ecc8b1cfaea89bd120112e2c45f127b491fbfba1c053db8413e8b561896729a56b6588142dd9ba9a33988b
 Size (predicates-2.1.1.crate) = 23150 bytes
@@ -42,15 +45,21 @@
 BLAKE2s (predicates-tree-1.0.2.crate) = 03a7b58203b9a598c3a3e8f0d194f6e1d3de9d1435cc4aa92f3408c48a1f9db1
 SHA512 (predicates-tree-1.0.2.crate) = d11b2b7d44ba5a00ed189d4455216f0c991c0f272776166a528136e26436e3f0cbbbdd001bf9a2b9aceaaf221fb9218fb497116e7957bf6bd9761616428c7ed2
 Size (predicates-tree-1.0.2.crate) = 6341 bytes
+BLAKE2s (regex-1.5.6.crate) = 54470e0ce7f905fde38456f82bc830c98a1ac830538cc1596f5e4f1dc2ee84a4
+SHA512 (regex-1.5.6.crate) = 43ad2ebe14f43d69c62f563a4fd53b5657f0f2cc130a0e6353a13073027640ff891e9f9b40ea85858507047bddb2e023d668c9bf57f2ba0ae045b74b5f0d2a1f
+Size (regex-1.5.6.crate) = 238593 bytes
 BLAKE2s (regex-automata-0.1.10.crate) = 283615bf1114bdcf5a2ebd639ba1889a8a9a0195b566f41226f7e0961f3d5d81
 SHA512 (regex-automata-0.1.10.crate) = 56d64da361afce82c6cb49e70b99ce1fca3e1969c54bba5f9971db135f8544c65f49feb8827789947b3d1dcefc9c49a7a434a7ffe0d09c5900345a1733723c5f
 Size (regex-automata-0.1.10.crate) = 114533 bytes
+BLAKE2s (regex-syntax-0.6.26.crate) = d644259c960314f13984e773bc86607f79ce86e6b397fe231d5cb32ddcc36926
+SHA512 (regex-syntax-0.6.26.crate) = 46087f5a2abfb48f24da77e79e66f6e514b5d005c4ae2c3283418ec471ddac9e4a1361edbae9d27efeb10217157092f812946b7b98182cf9f8aa703e01c03634
+Size (regex-syntax-0.6.26.crate) = 293912 bytes
 BLAKE2s (treeline-0.1.0.crate) = 81ccdbd03361021dd31e9d28ba05b16020601481bf2ec9754869ab687eddc0bc
 SHA512 (treeline-0.1.0.crate) = 37a7c7e95855fdf0fafe5b529eed6c6cfc641da799bc6738a5649a9a0c3db2ef3e63d692862a987bc19263f33b6df2e8ae71b49fe30160d6d470cbb804511824
 Size (treeline-0.1.0.crate) = 3855 bytes
-BLAKE2s (tuc-0.8.0.tar.gz) = 2f4de96adeccdec78467d752d36e04691fe74f3344c301780a4773df688b6c06
-SHA512 (tuc-0.8.0.tar.gz) = c4ecab5571adf137276603649621d55155fe590bdcabf1c47ea94517267f102ee41b346e967f20a1c98c5a934d0e5eabf065a2454693a7eff0e47142f8e618fd
-Size (tuc-0.8.0.tar.gz) = 26635 bytes
+BLAKE2s (tuc-0.11.0.tar.gz) = 1e1864d5662739b10b2a5a18a43b647663afaffe577e334bf4642aaae51babda
+SHA512 (tuc-0.11.0.tar.gz) = d663c9ce1d7371b85e177cbcd2114e5bb615a75b7aa6fe110665d717252bc31e44617298450816ad016c4cccd6a9b33415b0777ae4dd5e933707ad7d824ad6b0
+Size (tuc-0.11.0.tar.gz) = 32947 bytes
 BLAKE2s (wait-timeout-0.2.0.crate) = 74292341b8dbc71125610cb6f528f9a1b05b234d35fc98899901971af99da233
 SHA512 (wait-timeout-0.2.0.crate) = db3b7aa2acfd44e64451042b8ba98eecab77a82aa5c58ed08dadb119ab36dee4e26d62baad7978ed56d5ad03019c96be5021455362290f56043981137bac8066
 Size (wait-timeout-0.2.0.crate) = 12441 bytes



Home | Main Index | Thread Index | Old Index