pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/choose



Module Name:    pkgsrc
Committed By:   pin
Date:           Tue May  3 19:17:22 UTC 2022

Added Files:
        pkgsrc/textproc/choose: DESCR Makefile PLIST cargo-depends.mk distinfo

Log Message:
textproc/choose: import package

The AWK programming language is designed for text processing and is extremely
capable in this endeavor. However, the awk command is not ideal for rapid shell
use, with its requisite quoting of a line wrapped in curly braces, even for
the simplest of programs.

Likewise, cut is far from ideal for rapid shell use, because of its confusing
syntax. Field separators and ranges are just plain difficult to get right on
the first try.

It is for these reasons that I present to you choose. It is not meant to be a
drop-in or complete replacement for either of the aforementioned tools, but
rather a simple and intuitive tool to reach for when the basics of awk or cut
will do, but the overhead of getting them to behave should not be necessary.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/choose/DESCR \
    pkgsrc/textproc/choose/Makefile pkgsrc/textproc/choose/PLIST \
    pkgsrc/textproc/choose/cargo-depends.mk pkgsrc/textproc/choose/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/textproc/choose/DESCR
diff -u /dev/null pkgsrc/textproc/choose/DESCR:1.1
--- /dev/null   Tue May  3 19:17:22 2022
+++ pkgsrc/textproc/choose/DESCR        Tue May  3 19:17:22 2022
@@ -0,0 +1,13 @@
+The AWK programming language is designed for text processing and is extremely
+capable in this endeavor. However, the awk command is not ideal for rapid shell
+use, with its requisite quoting of a line wrapped in curly braces, even for
+the simplest of programs.
+
+Likewise, cut is far from ideal for rapid shell use, because of its confusing
+syntax. Field separators and ranges are just plain difficult to get right on
+the first try.
+
+It is for these reasons that I present to you choose. It is not meant to be a
+drop-in or complete replacement for either of the aforementioned tools, but
+rather a simple and intuitive tool to reach for when the basics of awk or cut
+will do, but the overhead of getting them to behave should not be necessary.
Index: pkgsrc/textproc/choose/Makefile
diff -u /dev/null pkgsrc/textproc/choose/Makefile:1.1
--- /dev/null   Tue May  3 19:17:22 2022
+++ pkgsrc/textproc/choose/Makefile     Tue May  3 19:17:22 2022
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2022/05/03 19:17:22 pin Exp $
+
+DISTNAME=      choose-1.3.4
+CATEGORIES=    textproc
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=theryangeary/}
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/theryangeary/choose/
+COMMENT=       Human-friendly and fast alternative to cut and (sometimes) awk
+LICENSE=       gnu-gpl-v3
+
+.include "cargo-depends.mk"
+
+INSTALLATION_DIRS=     bin
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/target/release/choose \
+               ${DESTDIR}${PREFIX}/bin
+
+.include "../../lang/rust/cargo.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/textproc/choose/PLIST
diff -u /dev/null pkgsrc/textproc/choose/PLIST:1.1
--- /dev/null   Tue May  3 19:17:22 2022
+++ pkgsrc/textproc/choose/PLIST        Tue May  3 19:17:22 2022
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2022/05/03 19:17:22 pin Exp $
+bin/choose
Index: pkgsrc/textproc/choose/cargo-depends.mk
diff -u /dev/null pkgsrc/textproc/choose/cargo-depends.mk:1.1
--- /dev/null   Tue May  3 19:17:22 2022
+++ pkgsrc/textproc/choose/cargo-depends.mk     Tue May  3 19:17:22 2022
@@ -0,0 +1,34 @@
+# $NetBSD: cargo-depends.mk,v 1.1 2022/05/03 19:17:22 pin Exp $
+
+CARGO_CRATE_DEPENDS+=  aho-corasick-0.7.13
+CARGO_CRATE_DEPENDS+=  ansi_term-0.11.0
+CARGO_CRATE_DEPENDS+=  atty-0.2.14
+CARGO_CRATE_DEPENDS+=  backslash-0.1.0
+CARGO_CRATE_DEPENDS+=  bitflags-1.2.1
+CARGO_CRATE_DEPENDS+=  clap-2.33.1
+CARGO_CRATE_DEPENDS+=  heck-0.3.1
+CARGO_CRATE_DEPENDS+=  hermit-abi-0.1.14
+CARGO_CRATE_DEPENDS+=  lazy_static-1.4.0
+CARGO_CRATE_DEPENDS+=  libc-0.2.71
+CARGO_CRATE_DEPENDS+=  memchr-2.3.3
+CARGO_CRATE_DEPENDS+=  proc-macro-error-1.0.3
+CARGO_CRATE_DEPENDS+=  proc-macro-error-attr-1.0.3
+CARGO_CRATE_DEPENDS+=  proc-macro2-1.0.18
+CARGO_CRATE_DEPENDS+=  quote-1.0.7
+CARGO_CRATE_DEPENDS+=  regex-1.3.9
+CARGO_CRATE_DEPENDS+=  regex-syntax-0.6.18
+CARGO_CRATE_DEPENDS+=  strsim-0.8.0
+CARGO_CRATE_DEPENDS+=  structopt-0.3.15
+CARGO_CRATE_DEPENDS+=  structopt-derive-0.4.8
+CARGO_CRATE_DEPENDS+=  syn-1.0.33
+CARGO_CRATE_DEPENDS+=  syn-mid-0.5.0
+CARGO_CRATE_DEPENDS+=  textwrap-0.11.0
+CARGO_CRATE_DEPENDS+=  thread_local-1.0.1
+CARGO_CRATE_DEPENDS+=  unicode-segmentation-1.6.0
+CARGO_CRATE_DEPENDS+=  unicode-width-0.1.7
+CARGO_CRATE_DEPENDS+=  unicode-xid-0.2.1
+CARGO_CRATE_DEPENDS+=  vec_map-0.8.2
+CARGO_CRATE_DEPENDS+=  version_check-0.9.2
+CARGO_CRATE_DEPENDS+=  winapi-0.3.9
+CARGO_CRATE_DEPENDS+=  winapi-i686-pc-windows-gnu-0.4.0
+CARGO_CRATE_DEPENDS+=  winapi-x86_64-pc-windows-gnu-0.4.0
Index: pkgsrc/textproc/choose/distinfo
diff -u /dev/null pkgsrc/textproc/choose/distinfo:1.1
--- /dev/null   Tue May  3 19:17:22 2022
+++ pkgsrc/textproc/choose/distinfo     Tue May  3 19:17:22 2022
@@ -0,0 +1,101 @@
+$NetBSD: distinfo,v 1.1 2022/05/03 19:17:22 pin Exp $
+
+BLAKE2s (aho-corasick-0.7.13.crate) = d1b58d2a1985cd0f37a38fa3906f6416a5d08ec3c8bb5798f48f01fc4b4f7533
+SHA512 (aho-corasick-0.7.13.crate) = 9bd3c12559d6bdb1ce798a62c59a202771b48125afb6e1b5be76cad13d750d9bedd7acd77d69557e34a698b17ed7da6832a7813d48ee2627f4a2abd5e04263e6
+Size (aho-corasick-0.7.13.crate) = 111381 bytes
+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.14.crate) = 8a58145c7b668aa6caf8d749e37857ff202211e1bfa9e441f130ff02feb68405
+SHA512 (atty-0.2.14.crate) = d7b6c4b9a0f898d91ddbc41a5ee45bbf45d1d269508c8cc87ee3e3990500e41e0ec387afb1f3bc7db55bedac396dd86c6509f4bf9e5148d809c3802edcc5e1d9
+Size (atty-0.2.14.crate) = 5470 bytes
+BLAKE2s (backslash-0.1.0.crate) = 28c341a3ddf68c4e26918ff824f9f86a90516482ee776450f5e9526b55a9c675
+SHA512 (backslash-0.1.0.crate) = c3c93459d15e1df108b5fe83c6ef9beea59a19a11142e8796ad8f7dbf100fcbe5a1371dbfb977663483550b8cc904ec4263761fadf07824629cef1ee0a37c6be
+Size (backslash-0.1.0.crate) = 1882 bytes
+BLAKE2s (bitflags-1.2.1.crate) = d88eaeb22f47d784119fe5d2ecd3e09ef458afb28b23c53a23566144e1ee218d
+SHA512 (bitflags-1.2.1.crate) = ad89b3798845e23737a620bba581c2ff1ff3e15bac12555c765e201d2c0b90ecea0cdbc5b5b1a3fa9858c385e8e041f8226f5acfae5bbbe9925643fff2bf3f0b
+Size (bitflags-1.2.1.crate) = 16745 bytes
+BLAKE2s (choose-1.3.4.tar.gz) = 00d104c18568148c376124e736a74858332e50509b8a260ddc7556f83d24dcaf
+SHA512 (choose-1.3.4.tar.gz) = cae908f907ede9b5020ee02e666d297a8bfb6735b18505be21c7e00719b3ee8dd72eff7fc4a40247abf5113f32343438392f62bf7c330fdadd4bea63cc7e80ec
+Size (choose-1.3.4.tar.gz) = 31055 bytes
+BLAKE2s (clap-2.33.1.crate) = b28cf62cd4ff2e7535ac770d843cf44e5029601ce8874f75c711bf971b6ff699
+SHA512 (clap-2.33.1.crate) = 31209da6a0ac987f7e1b2504a2fb7738c3aba4ddee4cc2bc22cc37d4d2b0feeff41ece557d4960d51564fd31cb23e413bf180eb60102a872caf623bf55c6f089
+Size (clap-2.33.1.crate) = 201567 bytes
+BLAKE2s (heck-0.3.1.crate) = 14bb7a11bd3b810911540cf9b45eb4993a76ef714b6b17f531880bb949d37c36
+SHA512 (heck-0.3.1.crate) = 134722192c46fd64b38d2fbec3a2511c560916e906491a72c4ec9d99b9f716dc58942fb99cac99b9a6ef2de5b5ad1d1c1155f292d091401b6873347d80c086d6
+Size (heck-0.3.1.crate) = 54666 bytes
+BLAKE2s (hermit-abi-0.1.14.crate) = 49510a07c4f68e87324aea205f5785d490ca17bbac80c5c19596bb55b1f8c84f
+SHA512 (hermit-abi-0.1.14.crate) = a3b5eb8462f47d9a0d7342d45ded3c22578cc19bca05ea0856daf04f263d88b0ca1a4f4c1daec14708282dbc39efcc11e100a3a7fc2bdfa73522ce5575ee7b8d
+Size (hermit-abi-0.1.14.crate) = 9556 bytes
+BLAKE2s (lazy_static-1.4.0.crate) = 0d5f7c2bcfe70610bc27bd6b339ea3e4ca3b7014149714db3a0c199ac6f07cd1
+SHA512 (lazy_static-1.4.0.crate) = e124c0521ec7c950f3c4a066821918da7a9c6e711115d98009ae7c351928fdddead852e7596fea5937a9c30e4e4ce8eee7099b20248b5d6e3b2494b6a6d88cb8
+Size (lazy_static-1.4.0.crate) = 10443 bytes
+BLAKE2s (libc-0.2.71.crate) = 00103b281202f37556600214469cb7af8aa5b515cb366b3d688b4a115d76c6af
+SHA512 (libc-0.2.71.crate) = b6f6eebc42817107aa2f94d426154c2449a2558646414464a31ee9d9dcf714e641fe6613b95ecf9e751d77102c0cedb74b35ca1f76c6df2231a5bad168de5e16
+Size (libc-0.2.71.crate) = 474209 bytes
+BLAKE2s (memchr-2.3.3.crate) = 082d6fbe467d6e5f30c88c4457e01df038a5750e88a8cde442f53029844f100f
+SHA512 (memchr-2.3.3.crate) = 922e05da920d0d94226857788878ee5e31518cd80d95ae57e1d7ecd233942c37d01565525db2f1dfdfd5b3b1f81b2c73eee058cbfd745cb4e1519518318df248
+Size (memchr-2.3.3.crate) = 22566 bytes
+BLAKE2s (proc-macro-error-1.0.3.crate) = 326553926cacdac6b4e9e14a10ee1f480656b5eecf15ac4814a8e7b8a20cadc7
+SHA512 (proc-macro-error-1.0.3.crate) = a689eef04fb86c87172ca718049e34d7a1b20ecc95ab981b94348161f1461a31df6b89d96177e8d9912908e40dc297aefc673aa3938dfaa65ae7155b89678769
+Size (proc-macro-error-1.0.3.crate) = 23736 bytes
+BLAKE2s (proc-macro-error-attr-1.0.3.crate) = fadc3622d076362461a97eaabe97ab9fda56840959c53b0049ece9fa9878b75a
+SHA512 (proc-macro-error-attr-1.0.3.crate) = 0e52a14814c4723646e17be9097faab2da74f8bd41a085dd57d6aa1dd1c978ed8b4fb98b85f39d4e313cec996af6f3d2ca6216ace03585ad8cd8678c05c025c8
+Size (proc-macro-error-attr-1.0.3.crate) = 6963 bytes
+BLAKE2s (proc-macro2-1.0.18.crate) = 06ec05531a8d5278a0395dd84375c9fe0af7079dcfa6aaa1f017841b392f5b4a
+SHA512 (proc-macro2-1.0.18.crate) = 3e7cf577bc3548e03a2f1bee620e3ef484dcaa45fbaf7858a8ea04f79d82d636b527584765ef43c92624e1a1afac50e60ad3f9dd8efc34e8e6b84cda20c864ef
+Size (proc-macro2-1.0.18.crate) = 36252 bytes
+BLAKE2s (quote-1.0.7.crate) = 5c5f7c697610fb6db7659310ccf4f337fa741612144a72ad915d44e5b49483ff
+SHA512 (quote-1.0.7.crate) = b7cb576c07419854f71072a88e4216f50d78196703d3d8a1068dfd0f2ccb1e417c3a865ec3be613b46e74e46654f64378f527800701f74d50352cb766a885953
+Size (quote-1.0.7.crate) = 25170 bytes
+BLAKE2s (regex-1.3.9.crate) = eb33a2c703a61e68b3054a30b88c8db5bc6a6ba1ac1abdf8d1a2064ca22e8fe6
+SHA512 (regex-1.3.9.crate) = 425713d3eeb4132d4056e6c1a08bc2fa5032b9971987c531b5707a9b5670ae15f037bd68921f1545580801957d1ea283eff87e533477364c7f76823800202f74
+Size (regex-1.3.9.crate) = 236683 bytes
+BLAKE2s (regex-syntax-0.6.18.crate) = a392b3050de6f2ab875f894f4385b59f985f595489cd4d625e61184b9848d222
+SHA512 (regex-syntax-0.6.18.crate) = 9cd999837890a87d0cc6bc351029a422bd52e5c621763e5c11ae9dcf1ba5edebabcd9e6d70db0b1656072a6109d439101412b3aab0d6ad357ae02ee7039a010e
+Size (regex-syntax-0.6.18.crate) = 294440 bytes
+BLAKE2s (strsim-0.8.0.crate) = 4c57b0c1505fd1e6a962cf721ee33473997ba55c8638e53c92efc6c9cf7fcc91
+SHA512 (strsim-0.8.0.crate) = 1d55a8d946cd55f5f37d06aea536549ded95739fa58c0f2da285a0041154c181f663682bdcac643aa198b3e762d694a04f058db985c62ebe22b5c16327ba6d34
+Size (strsim-0.8.0.crate) = 9309 bytes
+BLAKE2s (structopt-0.3.15.crate) = ae486ef9499df1651791bbbe846d29e981b68ee11589e250256af457dec2d67c
+SHA512 (structopt-0.3.15.crate) = 92f577714dae111b6a3c0a4b2f2e30be60f9387427c4458b1641e2589e17c6c1055c9860f3370a89bb6e1fd48333d0a88c7af007c6310ec881436a7aec444e99
+Size (structopt-0.3.15.crate) = 49378 bytes
+BLAKE2s (structopt-derive-0.4.8.crate) = af630158266aa2581a19653f97da062649f96017d8c7faa8d3b5ff1b4b7115cd
+SHA512 (structopt-derive-0.4.8.crate) = b8819fb5958d889f7d871fd952084e7695ab061458e8c97b5be8a7171bea6dff92407fc87d816bef62e322d2aee0ed1375029aaebbc4fee17cd909a7f5a01848
+Size (structopt-derive-0.4.8.crate) = 19647 bytes
+BLAKE2s (syn-1.0.33.crate) = 21740395513425ee4b29af4a18770860c06bf9e3b34f1fea62b1878434a19378
+SHA512 (syn-1.0.33.crate) = 82408aea39c376825b977d54ea339661cf54664358637e5caaf8efaa7d08e03385b160b3317060c27662a621ab5752bd761cbc416165d1c2cccf28985d73db51
+Size (syn-1.0.33.crate) = 204845 bytes
+BLAKE2s (syn-mid-0.5.0.crate) = eadc5d7ea0fb5da1e12f635287198e86d625cc73de53e5efc6438d0f7527ab4b
+SHA512 (syn-mid-0.5.0.crate) = 759e29a2ca984eddae3c091be036ad630fb985408be31d838af3bb04fe1f26a3d2b7ef597c1ffb61a72c96383cbf39d8fe83cfe0d79ed4bc3250a585156e637b
+Size (syn-mid-0.5.0.crate) = 14149 bytes
+BLAKE2s (textwrap-0.11.0.crate) = aac1ca89e048f3559b66b2653332c7a880ffdd9d7e557c097334ed50099ae7af
+SHA512 (textwrap-0.11.0.crate) = f5c0fe4f28ff1a3a0931e8e235b5157a45f67967985bcc752418c5ec3481fca44a8ae4800088889b37e8cd0533f53d3c456d5ffd19b767b3f83a87b49a2e209a
+Size (textwrap-0.11.0.crate) = 17322 bytes
+BLAKE2s (thread_local-1.0.1.crate) = 8e84f525a254aec46d79829b85985df9496f807697b3c401284c7b32947b5f4f
+SHA512 (thread_local-1.0.1.crate) = f2bfca4eee32a8fc88a01ff5bf24518c12142228d95916d13aae35ed6addd0b7da2235359f15220049ef197555344ac31a8833775e7a5bd49144db9c54b3165b
+Size (thread_local-1.0.1.crate) = 12609 bytes
+BLAKE2s (unicode-segmentation-1.6.0.crate) = acb402e8340b7617d12ef03a15f7ec628f3d59a01e88f2692a201bdecdf11f50
+SHA512 (unicode-segmentation-1.6.0.crate) = 80c6f92d9b39602a05809dc63a7cb05a305441689b6056801097a882a36c9795aabd660f884f707daa7e7fe6ad4983f6e245c226962cc982dbfeea2ddfddf41e
+Size (unicode-segmentation-1.6.0.crate) = 90703 bytes
+BLAKE2s (unicode-width-0.1.7.crate) = 8829a2394060e5f3a2be2a6d2224bf676e59fd05dcd65ae2678cef32a2d7c563
+SHA512 (unicode-width-0.1.7.crate) = 39b8a539c9009d0421f54ae68b139f21456c9cb03d743b58535a977f98bc9655cf42eaacfadbcff796c187a6f315ae16259ee22be9c2da5aa042172c6b464d84
+Size (unicode-width-0.1.7.crate) = 16644 bytes
+BLAKE2s (unicode-xid-0.2.1.crate) = 76711f7c3cb52a9b3b3c660966ca2fe3db48b6dc3288ad3ff9ab5f809e0f00cc
+SHA512 (unicode-xid-0.2.1.crate) = 91e862137e837baea82829431cfed36634fdb05339f00c756eb5a4b429ef0bb871f5133d11adf9a023fa22168c8a0cf194ff3669779f04f219d48fc4fac339d2
+Size (unicode-xid-0.2.1.crate) = 14392 bytes
+BLAKE2s (vec_map-0.8.2.crate) = a40b5b21f51fcfad8f2fa810b929af3cb20cd710bec9216e8750e973dc9ff59a
+SHA512 (vec_map-0.8.2.crate) = 4f1ef59bc2c437e79f1f84fe021bce5aa8ccd581f500f3d5776913d5f17d45b03ccee64f5bd03d47656318cfc9344a1f4311079d471fa409a8e4e94c143973f9
+Size (vec_map-0.8.2.crate) = 14466 bytes
+BLAKE2s (version_check-0.9.2.crate) = cf4ae31c15411d97579674464109b8897a6023dd5cee6c5c8056fde8f354ce70
+SHA512 (version_check-0.9.2.crate) = b88a9d545ef103fe6d0eebe7ddcf328fc21fcb02c60828b347cfc35afd957669e652a94d880ef992450c167df3505838bc649e0d83896542fa13a149875acf26
+Size (version_check-0.9.2.crate) = 11979 bytes
+BLAKE2s (winapi-0.3.9.crate) = 295083bd8c53c7decc4187da324a1284ad05cbccc9198d31facb6a42e34867ce
+SHA512 (winapi-0.3.9.crate) = ff8b7b78065f3d8999ec03c725a0460ebc059771bf071c7a3df3f0ecd733edf3b0a2450024d4e24e1aedddaecd9038ce1376c0d8bbf45132068cf45cf4a53a97
+Size (winapi-0.3.9.crate) = 1200382 bytes
+BLAKE2s (winapi-i686-pc-windows-gnu-0.4.0.crate) = 3ef20321fea464773f9e73ac16ada3a0e8101a8c3c0ebab763049f2ab269eb1a
+SHA512 (winapi-i686-pc-windows-gnu-0.4.0.crate) = a672ccefd0730a8166fef1d4e39f9034d9ae426a3f5e28d1f4169fa5c5790767693f281d890e7804773b34acdb0ae1febac33cde8c50c0044a5a6152c7209ec2
+Size (winapi-i686-pc-windows-gnu-0.4.0.crate) = 2918815 bytes
+BLAKE2s (winapi-x86_64-pc-windows-gnu-0.4.0.crate) = 85ecec73b9874f5f443e29d99f93a11889e74ddf5a4bfeb929e2355a7cee32f1
+SHA512 (winapi-x86_64-pc-windows-gnu-0.4.0.crate) = 4a654af6a5d649dc87e00497245096b35a2894ae66f155cb62389902c3b93ddcc5cf7d0d8b9dd97b291d2d80bc686af2298e80abef6ac69883f4a54e79712513
+Size (winapi-x86_64-pc-windows-gnu-0.4.0.crate) = 2947998 bytes



Home | Main Index | Thread Index | Old Index