git: 9eef197f8cd8 - main - textproc/csview: new port: csv viewer
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 23 Aug 2024 17:59:53 UTC
The branch main has been updated by uzsolt: URL: https://cgit.FreeBSD.org/ports/commit/?id=9eef197f8cd8f2ab2660546767d633bd99ba2053 commit 9eef197f8cd8f2ab2660546767d633bd99ba2053 Author: Ruben van Staveren <ruben@verweg.com> AuthorDate: 2024-08-23 17:55:25 +0000 Commit: Zsolt Udvari <uzsolt@FreeBSD.org> CommitDate: 2024-08-23 17:57:20 +0000 textproc/csview: new port: csv viewer A high performance csv viewer with cjk/emoji support. PR: 279813 --- textproc/Makefile | 1 + textproc/csview/Makefile | 88 +++++++++++++++++++++++++++++++ textproc/csview/distinfo | 131 ++++++++++++++++++++++++++++++++++++++++++++++ textproc/csview/pkg-descr | 7 +++ 4 files changed, 227 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index 4e90601d1894..a10b07026d1c 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -129,6 +129,7 @@ SUBDIR += cs-mythes SUBDIR += csb-aspell SUBDIR += csvdiff + SUBDIR += csview SUBDIR += csvlens SUBDIR += csvq SUBDIR += ctpl diff --git a/textproc/csview/Makefile b/textproc/csview/Makefile new file mode 100644 index 000000000000..7399da0c85e2 --- /dev/null +++ b/textproc/csview/Makefile @@ -0,0 +1,88 @@ +PORTNAME= csview +DISTVERSIONPREFIX= v +DISTVERSION= 1.3.3 +CATEGORIES= textproc + +MAINTAINER= ruben@verweg.com +COMMENT= High performance csv viewer with cjk/emoji support +WWW= https://github.com/wfxr/csview + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE-MIT + +USES= cargo + +USE_GITHUB= yes +GH_ACCOUNT= wfxr + +CARGO_CRATES= anstream-0.6.13 \ + anstyle-1.0.6 \ + anstyle-parse-0.2.3 \ + anstyle-query-1.0.2 \ + anstyle-wincon-3.0.2 \ + anyhow-1.0.82 \ + bitflags-2.5.0 \ + cc-1.0.94 \ + clap-4.5.4 \ + clap_builder-4.5.2 \ + clap_complete-4.5.2 \ + clap_derive-4.5.4 \ + clap_lex-0.7.0 \ + colorchoice-1.0.0 \ + csv-1.3.0 \ + csv-core-0.1.11 \ + either-1.11.0 \ + errno-0.2.8 \ + errno-0.3.8 \ + errno-dragonfly-0.1.2 \ + exitcode-1.1.2 \ + heck-0.5.0 \ + itertools-0.12.1 \ + itertools-0.13.0 \ + itoa-1.0.11 \ + libc-0.2.153 \ + linux-raw-sys-0.4.13 \ + memchr-2.7.2 \ + pager-0.16.1 \ + proc-macro2-1.0.80 \ + quote-1.0.36 \ + rustix-0.38.32 \ + ryu-1.0.17 \ + serde-1.0.197 \ + serde_derive-1.0.197 \ + strsim-0.11.1 \ + syn-2.0.59 \ + terminal_size-0.3.0 \ + unicode-ident-1.0.12 \ + unicode-truncate-1.0.0 \ + unicode-width-0.1.12 \ + utf8parse-0.2.1 \ + winapi-0.3.9 \ + winapi-i686-pc-windows-gnu-0.4.0 \ + winapi-x86_64-pc-windows-gnu-0.4.0 \ + windows-sys-0.48.0 \ + windows-sys-0.52.0 \ + windows-targets-0.48.5 \ + windows-targets-0.52.5 \ + windows_aarch64_gnullvm-0.48.5 \ + windows_aarch64_gnullvm-0.52.5 \ + windows_aarch64_msvc-0.48.5 \ + windows_aarch64_msvc-0.52.5 \ + windows_i686_gnu-0.48.5 \ + windows_i686_gnu-0.52.5 \ + windows_i686_gnullvm-0.52.5 \ + windows_i686_msvc-0.48.5 \ + windows_i686_msvc-0.52.5 \ + windows_x86_64_gnu-0.48.5 \ + windows_x86_64_gnu-0.52.5 \ + windows_x86_64_gnullvm-0.48.5 \ + windows_x86_64_gnullvm-0.52.5 \ + windows_x86_64_msvc-0.48.5 \ + windows_x86_64_msvc-0.52.5 + +PLIST_FILES= bin/${PORTNAME} + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + +.include <bsd.port.mk> diff --git a/textproc/csview/distinfo b/textproc/csview/distinfo new file mode 100644 index 000000000000..5d2bcd2dd6f0 --- /dev/null +++ b/textproc/csview/distinfo @@ -0,0 +1,131 @@ +TIMESTAMP = 1724074003 +SHA256 (rust/crates/anstream-0.6.13.crate) = d96bd03f33fe50a863e394ee9718a706f988b9079b20c3784fb726e7678b62fb +SIZE (rust/crates/anstream-0.6.13.crate) = 30928 +SHA256 (rust/crates/anstyle-1.0.6.crate) = 8901269c6307e8d93993578286ac0edf7f195079ffff5ebdeea6a59ffb7e36bc +SIZE (rust/crates/anstyle-1.0.6.crate) = 14604 +SHA256 (rust/crates/anstyle-parse-0.2.3.crate) = c75ac65da39e5fe5ab759307499ddad880d724eed2f6ce5b5e8a26f4f387928c +SIZE (rust/crates/anstyle-parse-0.2.3.crate) = 24699 +SHA256 (rust/crates/anstyle-query-1.0.2.crate) = e28923312444cdd728e4738b3f9c9cac739500909bb3d3c94b43551b16517648 +SIZE (rust/crates/anstyle-query-1.0.2.crate) = 8739 +SHA256 (rust/crates/anstyle-wincon-3.0.2.crate) = 1cd54b81ec8d6180e24654d0b371ad22fc3dd083b6ff8ba325b72e00c87660a7 +SIZE (rust/crates/anstyle-wincon-3.0.2.crate) = 11272 +SHA256 (rust/crates/anyhow-1.0.82.crate) = f538837af36e6f6a9be0faa67f9a314f8119e4e4b5867c6ab40ed60360142519 +SIZE (rust/crates/anyhow-1.0.82.crate) = 45361 +SHA256 (rust/crates/bitflags-2.5.0.crate) = cf4b9d6a944f767f8e5e0db018570623c85f3d925ac718db4e06d0187adb21c1 +SIZE (rust/crates/bitflags-2.5.0.crate) = 43821 +SHA256 (rust/crates/cc-1.0.94.crate) = 17f6e324229dc011159fcc089755d1e2e216a90d43a7dea6853ca740b84f35e7 +SIZE (rust/crates/cc-1.0.94.crate) = 76456 +SHA256 (rust/crates/clap-4.5.4.crate) = 90bc066a67923782aa8515dbaea16946c5bcc5addbd668bb80af688e53e548a0 +SIZE (rust/crates/clap-4.5.4.crate) = 55401 +SHA256 (rust/crates/clap_builder-4.5.2.crate) = ae129e2e766ae0ec03484e609954119f123cc1fe650337e155d03b022f24f7b4 +SIZE (rust/crates/clap_builder-4.5.2.crate) = 163566 +SHA256 (rust/crates/clap_complete-4.5.2.crate) = dd79504325bf38b10165b02e89b4347300f855f273c4cb30c4a3209e6583275e +SIZE (rust/crates/clap_complete-4.5.2.crate) = 37850 +SHA256 (rust/crates/clap_derive-4.5.4.crate) = 528131438037fd55894f62d6e9f068b8f45ac57ffa77517819645d10aed04f64 +SIZE (rust/crates/clap_derive-4.5.4.crate) = 29159 +SHA256 (rust/crates/clap_lex-0.7.0.crate) = 98cc8fbded0c607b7ba9dd60cd98df59af97e84d24e49c8557331cfc26d301ce +SIZE (rust/crates/clap_lex-0.7.0.crate) = 11915 +SHA256 (rust/crates/colorchoice-1.0.0.crate) = acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7 +SIZE (rust/crates/colorchoice-1.0.0.crate) = 6857 +SHA256 (rust/crates/csv-1.3.0.crate) = ac574ff4d437a7b5ad237ef331c17ccca63c46479e5b5453eb8e10bb99a759fe +SIZE (rust/crates/csv-1.3.0.crate) = 888212 +SHA256 (rust/crates/csv-core-0.1.11.crate) = 5efa2b3d7902f4b634a20cae3c9c4e6209dc4779feb6863329607560143efa70 +SIZE (rust/crates/csv-core-0.1.11.crate) = 25852 +SHA256 (rust/crates/either-1.11.0.crate) = a47c1c47d2f5964e29c61246e81db715514cd532db6b5116a25ea3c03d6780a2 +SIZE (rust/crates/either-1.11.0.crate) = 18973 +SHA256 (rust/crates/errno-0.2.8.crate) = f639046355ee4f37944e44f60642c6f3a7efa3cf6b78c78a0d989a8ce6c396a1 +SIZE (rust/crates/errno-0.2.8.crate) = 9276 +SHA256 (rust/crates/errno-0.3.8.crate) = a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245 +SIZE (rust/crates/errno-0.3.8.crate) = 10645 +SHA256 (rust/crates/errno-dragonfly-0.1.2.crate) = aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf +SIZE (rust/crates/errno-dragonfly-0.1.2.crate) = 1810 +SHA256 (rust/crates/exitcode-1.1.2.crate) = de853764b47027c2e862a995c34978ffa63c1501f2e15f987ba11bd4f9bba193 +SIZE (rust/crates/exitcode-1.1.2.crate) = 6538 +SHA256 (rust/crates/heck-0.5.0.crate) = 2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea +SIZE (rust/crates/heck-0.5.0.crate) = 11517 +SHA256 (rust/crates/itertools-0.12.1.crate) = ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569 +SIZE (rust/crates/itertools-0.12.1.crate) = 137761 +SHA256 (rust/crates/itertools-0.13.0.crate) = 413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186 +SIZE (rust/crates/itertools-0.13.0.crate) = 146261 +SHA256 (rust/crates/itoa-1.0.11.crate) = 49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b +SIZE (rust/crates/itoa-1.0.11.crate) = 10563 +SHA256 (rust/crates/libc-0.2.153.crate) = 9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd +SIZE (rust/crates/libc-0.2.153.crate) = 740614 +SHA256 (rust/crates/linux-raw-sys-0.4.13.crate) = 01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c +SIZE (rust/crates/linux-raw-sys-0.4.13.crate) = 1493855 +SHA256 (rust/crates/memchr-2.7.2.crate) = 6c8640c5d730cb13ebd907d8d04b52f55ac9a2eec55b440c8892f40d56c76c1d +SIZE (rust/crates/memchr-2.7.2.crate) = 96220 +SHA256 (rust/crates/pager-0.16.1.crate) = 2599211a5c97fbbb1061d3dc751fa15f404927e4846e07c643287d6d1f462880 +SIZE (rust/crates/pager-0.16.1.crate) = 9444 +SHA256 (rust/crates/proc-macro2-1.0.80.crate) = a56dea16b0a29e94408b9aa5e2940a4eedbd128a1ba20e8f7ae60fd3d465af0e +SIZE (rust/crates/proc-macro2-1.0.80.crate) = 48227 +SHA256 (rust/crates/quote-1.0.36.crate) = 0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7 +SIZE (rust/crates/quote-1.0.36.crate) = 28507 +SHA256 (rust/crates/rustix-0.38.32.crate) = 65e04861e65f21776e67888bfbea442b3642beaa0138fdb1dd7a84a52dffdb89 +SIZE (rust/crates/rustix-0.38.32.crate) = 376999 +SHA256 (rust/crates/ryu-1.0.17.crate) = e86697c916019a8588c99b5fac3cead74ec0b4b819707a682fd4d23fa0ce1ba1 +SIZE (rust/crates/ryu-1.0.17.crate) = 47537 +SHA256 (rust/crates/serde-1.0.197.crate) = 3fb1c873e1b9b056a4dc4c0c198b24c3ffa059243875552b2bd0933b1aee4ce2 +SIZE (rust/crates/serde-1.0.197.crate) = 77087 +SHA256 (rust/crates/serde_derive-1.0.197.crate) = 7eb0b34b42edc17f6b7cac84a52a1c5f0e1bb2227e997ca9011ea3dd34e8610b +SIZE (rust/crates/serde_derive-1.0.197.crate) = 55771 +SHA256 (rust/crates/strsim-0.11.1.crate) = 7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f +SIZE (rust/crates/strsim-0.11.1.crate) = 14266 +SHA256 (rust/crates/syn-2.0.59.crate) = 4a6531ffc7b071655e4ce2e04bd464c4830bb585a61cabb96cf808f05172615a +SIZE (rust/crates/syn-2.0.59.crate) = 255393 +SHA256 (rust/crates/terminal_size-0.3.0.crate) = 21bebf2b7c9e0a515f6e0f8c51dc0f8e4696391e6f1ff30379559f8365fb0df7 +SIZE (rust/crates/terminal_size-0.3.0.crate) = 10096 +SHA256 (rust/crates/unicode-ident-1.0.12.crate) = 3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b +SIZE (rust/crates/unicode-ident-1.0.12.crate) = 42168 +SHA256 (rust/crates/unicode-truncate-1.0.0.crate) = 5a5fbabedabe362c618c714dbefda9927b5afc8e2a8102f47f081089a9019226 +SIZE (rust/crates/unicode-truncate-1.0.0.crate) = 12017 +SHA256 (rust/crates/unicode-width-0.1.12.crate) = 68f5e5f3158ecfd4b8ff6fe086db7c8467a2dfdac97fe420f2b7c4aa97af66d6 +SIZE (rust/crates/unicode-width-0.1.12.crate) = 24062 +SHA256 (rust/crates/utf8parse-0.2.1.crate) = 711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a +SIZE (rust/crates/utf8parse-0.2.1.crate) = 13435 +SHA256 (rust/crates/winapi-0.3.9.crate) = 5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419 +SIZE (rust/crates/winapi-0.3.9.crate) = 1200382 +SHA256 (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.crate) = ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6 +SIZE (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.crate) = 2918815 +SHA256 (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.crate) = 712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f +SIZE (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.crate) = 2947998 +SHA256 (rust/crates/windows-sys-0.48.0.crate) = 677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9 +SIZE (rust/crates/windows-sys-0.48.0.crate) = 2628884 +SHA256 (rust/crates/windows-sys-0.52.0.crate) = 282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d +SIZE (rust/crates/windows-sys-0.52.0.crate) = 2576877 +SHA256 (rust/crates/windows-targets-0.48.5.crate) = 9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c +SIZE (rust/crates/windows-targets-0.48.5.crate) = 6904 +SHA256 (rust/crates/windows-targets-0.52.5.crate) = 6f0713a46559409d202e70e28227288446bf7841d3211583a4b53e3f6d96e7eb +SIZE (rust/crates/windows-targets-0.52.5.crate) = 6376 +SHA256 (rust/crates/windows_aarch64_gnullvm-0.48.5.crate) = 2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8 +SIZE (rust/crates/windows_aarch64_gnullvm-0.48.5.crate) = 418492 +SHA256 (rust/crates/windows_aarch64_gnullvm-0.52.5.crate) = 7088eed71e8b8dda258ecc8bac5fb1153c5cffaf2578fc8ff5d61e23578d3263 +SIZE (rust/crates/windows_aarch64_gnullvm-0.52.5.crate) = 433266 +SHA256 (rust/crates/windows_aarch64_msvc-0.48.5.crate) = dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc +SIZE (rust/crates/windows_aarch64_msvc-0.48.5.crate) = 798483 +SHA256 (rust/crates/windows_aarch64_msvc-0.52.5.crate) = 9985fd1504e250c615ca5f281c3f7a6da76213ebd5ccc9561496568a2752afb6 +SIZE (rust/crates/windows_aarch64_msvc-0.52.5.crate) = 827944 +SHA256 (rust/crates/windows_i686_gnu-0.48.5.crate) = a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e +SIZE (rust/crates/windows_i686_gnu-0.48.5.crate) = 844891 +SHA256 (rust/crates/windows_i686_gnu-0.52.5.crate) = 88ba073cf16d5372720ec942a8ccbf61626074c6d4dd2e745299726ce8b89670 +SIZE (rust/crates/windows_i686_gnu-0.52.5.crate) = 875699 +SHA256 (rust/crates/windows_i686_gnullvm-0.52.5.crate) = 87f4261229030a858f36b459e748ae97545d6f1ec60e5e0d6a3d32e0dc232ee9 +SIZE (rust/crates/windows_i686_gnullvm-0.52.5.crate) = 473064 +SHA256 (rust/crates/windows_i686_msvc-0.48.5.crate) = 8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406 +SIZE (rust/crates/windows_i686_msvc-0.48.5.crate) = 864300 +SHA256 (rust/crates/windows_i686_msvc-0.52.5.crate) = db3c2bf3d13d5b658be73463284eaf12830ac9a26a90c717b7f771dfe97487bf +SIZE (rust/crates/windows_i686_msvc-0.52.5.crate) = 895404 +SHA256 (rust/crates/windows_x86_64_gnu-0.48.5.crate) = 53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e +SIZE (rust/crates/windows_x86_64_gnu-0.48.5.crate) = 801619 +SHA256 (rust/crates/windows_x86_64_gnu-0.52.5.crate) = 4e4246f76bdeff09eb48875a0fd3e2af6aada79d409d33011886d3e1581517d9 +SIZE (rust/crates/windows_x86_64_gnu-0.52.5.crate) = 831539 +SHA256 (rust/crates/windows_x86_64_gnullvm-0.48.5.crate) = 0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc +SIZE (rust/crates/windows_x86_64_gnullvm-0.48.5.crate) = 418486 +SHA256 (rust/crates/windows_x86_64_gnullvm-0.52.5.crate) = 852298e482cd67c356ddd9570386e2862b5673c85bd5f88df9ab6802b334c596 +SIZE (rust/crates/windows_x86_64_gnullvm-0.52.5.crate) = 433246 +SHA256 (rust/crates/windows_x86_64_msvc-0.48.5.crate) = ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538 +SIZE (rust/crates/windows_x86_64_msvc-0.48.5.crate) = 798412 +SHA256 (rust/crates/windows_x86_64_msvc-0.52.5.crate) = bec47e5bfd1bff0eeaf6d8b485cc1074891a197ab4225d504cb7a1ab88b02bf0 +SIZE (rust/crates/windows_x86_64_msvc-0.52.5.crate) = 827905 +SHA256 (wfxr-csview-v1.3.3_GH0.tar.gz) = de84f181a6b89101ed150a378eff9583d8f8cbcc4025d06adc4bc3c48085df95 +SIZE (wfxr-csview-v1.3.3_GH0.tar.gz) = 33655 diff --git a/textproc/csview/pkg-descr b/textproc/csview/pkg-descr new file mode 100644 index 000000000000..931447184005 --- /dev/null +++ b/textproc/csview/pkg-descr @@ -0,0 +1,7 @@ +A high performance csv viewer with cjk/emoji support + +Small and fast. +Memory efficient. +Correctly align CJK and emoji characters. +Support tsv and custom delimiters. +Support different styles, including markdown table.