New port: databases/xls2txt: Utilities to convert spreadsheet files to text and csv formats
This commit is contained in:
parent
a8320e43e5
commit
7d2a74d426
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=556542
4 changed files with 159 additions and 0 deletions
|
@ -1034,6 +1034,7 @@
|
|||
SUBDIR += xapian-bindings12
|
||||
SUBDIR += xapian-core
|
||||
SUBDIR += xapian-core12
|
||||
SUBDIR += xls2txt
|
||||
SUBDIR += xrootd
|
||||
SUBDIR += xtrabackup
|
||||
SUBDIR += xtrabackup8
|
||||
|
|
67
databases/xls2txt/Makefile
Normal file
67
databases/xls2txt/Makefile
Normal file
|
@ -0,0 +1,67 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= xls2txt
|
||||
DISTVERSION= 1.0.1
|
||||
CATEGORIES= databases textproc
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
COMMENT= Utilities to convert spreadsheet files to text and csv formats
|
||||
|
||||
LICENSE= APACHE20
|
||||
|
||||
USES= cargo
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= masklinn
|
||||
GH_TAGNAME= 1222f8069428f6bcedfcccf9e80523db34c0d343
|
||||
|
||||
CARGO_CRATES= adler32-1.2.0 \
|
||||
ansi_term-0.11.0 \
|
||||
atty-0.2.14 \
|
||||
bitflags-1.2.1 \
|
||||
bstr-0.2.14 \
|
||||
byteorder-1.3.4 \
|
||||
calamine-0.16.2 \
|
||||
cfg-if-0.1.10 \
|
||||
cfg-if-1.0.0 \
|
||||
clap-2.33.3 \
|
||||
codepage-0.1.1 \
|
||||
crc32fast-1.2.1 \
|
||||
csv-1.1.5 \
|
||||
csv-core-0.1.10 \
|
||||
encoding_rs-0.8.26 \
|
||||
flate2-1.0.14 \
|
||||
hermit-abi-0.1.17 \
|
||||
itoa-0.4.6 \
|
||||
lazy_static-1.4.0 \
|
||||
libc-0.2.80 \
|
||||
log-0.4.11 \
|
||||
memchr-2.3.4 \
|
||||
miniz_oxide-0.3.7 \
|
||||
proc-macro2-1.0.24 \
|
||||
quick-xml-0.19.0 \
|
||||
quote-1.0.7 \
|
||||
regex-automata-0.1.9 \
|
||||
ryu-1.0.5 \
|
||||
serde-1.0.117 \
|
||||
strsim-0.8.0 \
|
||||
syn-1.0.52 \
|
||||
textwrap-0.11.0 \
|
||||
thiserror-1.0.22 \
|
||||
thiserror-impl-1.0.22 \
|
||||
unicode-width-0.1.8 \
|
||||
unicode-xid-0.2.1 \
|
||||
vec_map-0.8.2 \
|
||||
winapi-0.3.9 \
|
||||
winapi-i686-pc-windows-gnu-0.4.0 \
|
||||
winapi-x86_64-pc-windows-gnu-0.4.0 \
|
||||
zip-0.5.8
|
||||
|
||||
EXECUTABLES= ${PORTNAME} xls2csv
|
||||
|
||||
PLIST_FILES= ${EXECUTABLES:S/^/bin\//}
|
||||
|
||||
post-install:
|
||||
cd ${STAGEDIR}${PREFIX}/bin && ${STRIP_CMD} ${EXECUTABLES}
|
||||
|
||||
.include <bsd.port.mk>
|
85
databases/xls2txt/distinfo
Normal file
85
databases/xls2txt/distinfo
Normal file
|
@ -0,0 +1,85 @@
|
|||
TIMESTAMP = 1606606738
|
||||
SHA256 (rust/crates/adler32-1.2.0.tar.gz) = aae1277d39aeec15cb388266ecc24b11c80469deae6067e17a1a7aa9e5c1f234
|
||||
SIZE (rust/crates/adler32-1.2.0.tar.gz) = 6411
|
||||
SHA256 (rust/crates/ansi_term-0.11.0.tar.gz) = ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b
|
||||
SIZE (rust/crates/ansi_term-0.11.0.tar.gz) = 17087
|
||||
SHA256 (rust/crates/atty-0.2.14.tar.gz) = d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8
|
||||
SIZE (rust/crates/atty-0.2.14.tar.gz) = 5470
|
||||
SHA256 (rust/crates/bitflags-1.2.1.tar.gz) = cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693
|
||||
SIZE (rust/crates/bitflags-1.2.1.tar.gz) = 16745
|
||||
SHA256 (rust/crates/bstr-0.2.14.tar.gz) = 473fc6b38233f9af7baa94fb5852dca389e3d95b8e21c8e3719301462c5d9faf
|
||||
SIZE (rust/crates/bstr-0.2.14.tar.gz) = 345490
|
||||
SHA256 (rust/crates/byteorder-1.3.4.tar.gz) = 08c48aae112d48ed9f069b33538ea9e3e90aa263cfa3d1c24309612b1f7472de
|
||||
SIZE (rust/crates/byteorder-1.3.4.tar.gz) = 21943
|
||||
SHA256 (rust/crates/calamine-0.16.2.tar.gz) = 36b93ee9afe52156da81c32d39cb4c0c1a947b5ea9bc9719e805af9c8e05d40e
|
||||
SIZE (rust/crates/calamine-0.16.2.tar.gz) = 58838
|
||||
SHA256 (rust/crates/cfg-if-0.1.10.tar.gz) = 4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822
|
||||
SIZE (rust/crates/cfg-if-0.1.10.tar.gz) = 7933
|
||||
SHA256 (rust/crates/cfg-if-1.0.0.tar.gz) = baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd
|
||||
SIZE (rust/crates/cfg-if-1.0.0.tar.gz) = 7934
|
||||
SHA256 (rust/crates/clap-2.33.3.tar.gz) = 37e58ac78573c40708d45522f0d80fa2f01cc4f9b4e2bf749807255454312002
|
||||
SIZE (rust/crates/clap-2.33.3.tar.gz) = 201925
|
||||
SHA256 (rust/crates/codepage-0.1.1.tar.gz) = 8b0e9222c0cdf2c6ac27d73f664f9520266fa911c3106329d359f8861cb8bde9
|
||||
SIZE (rust/crates/codepage-0.1.1.tar.gz) = 8680
|
||||
SHA256 (rust/crates/crc32fast-1.2.1.tar.gz) = 81156fece84ab6a9f2afdb109ce3ae577e42b1228441eded99bd77f627953b1a
|
||||
SIZE (rust/crates/crc32fast-1.2.1.tar.gz) = 38172
|
||||
SHA256 (rust/crates/csv-1.1.5.tar.gz) = f9d58633299b24b515ac72a3f869f8b91306a3cec616a602843a383acd6f9e97
|
||||
SIZE (rust/crates/csv-1.1.5.tar.gz) = 886773
|
||||
SHA256 (rust/crates/csv-core-0.1.10.tar.gz) = 2b2466559f260f48ad25fe6317b3c8dac77b5bdb5763ac7d9d6103530663bc90
|
||||
SIZE (rust/crates/csv-core-0.1.10.tar.gz) = 25668
|
||||
SHA256 (rust/crates/encoding_rs-0.8.26.tar.gz) = 801bbab217d7f79c0062f4f7205b5d4427c6d1a7bd7aafdd1475f7c59d62b283
|
||||
SIZE (rust/crates/encoding_rs-0.8.26.tar.gz) = 1367883
|
||||
SHA256 (rust/crates/flate2-1.0.14.tar.gz) = 2cfff41391129e0a856d6d822600b8d71179d46879e310417eb9c762eb178b42
|
||||
SIZE (rust/crates/flate2-1.0.14.tar.gz) = 74183
|
||||
SHA256 (rust/crates/hermit-abi-0.1.17.tar.gz) = 5aca5565f760fb5b220e499d72710ed156fdb74e631659e99377d9ebfbd13ae8
|
||||
SIZE (rust/crates/hermit-abi-0.1.17.tar.gz) = 10065
|
||||
SHA256 (rust/crates/itoa-0.4.6.tar.gz) = dc6f3ad7b9d11a0c00842ff8de1b60ee58661048eb8049ed33c73594f359d7e6
|
||||
SIZE (rust/crates/itoa-0.4.6.tar.gz) = 12167
|
||||
SHA256 (rust/crates/lazy_static-1.4.0.tar.gz) = e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646
|
||||
SIZE (rust/crates/lazy_static-1.4.0.tar.gz) = 10443
|
||||
SHA256 (rust/crates/libc-0.2.80.tar.gz) = 4d58d1b70b004888f764dfbf6a26a3b0342a1632d33968e4a179d8011c760614
|
||||
SIZE (rust/crates/libc-0.2.80.tar.gz) = 513503
|
||||
SHA256 (rust/crates/log-0.4.11.tar.gz) = 4fabed175da42fed1fa0746b0ea71f412aa9d35e76e95e59b192c64b9dc2bf8b
|
||||
SIZE (rust/crates/log-0.4.11.tar.gz) = 36276
|
||||
SHA256 (rust/crates/memchr-2.3.4.tar.gz) = 0ee1c47aaa256ecabcaea351eae4a9b01ef39ed810004e298d2511ed284b1525
|
||||
SIZE (rust/crates/memchr-2.3.4.tar.gz) = 23077
|
||||
SHA256 (rust/crates/miniz_oxide-0.3.7.tar.gz) = 791daaae1ed6889560f8c4359194f56648355540573244a5448a83ba1ecc7435
|
||||
SIZE (rust/crates/miniz_oxide-0.3.7.tar.gz) = 44996
|
||||
SHA256 (rust/crates/proc-macro2-1.0.24.tar.gz) = 1e0704ee1a7e00d7bb417d0770ea303c1bccbabf0ef1667dae92b5967f5f8a71
|
||||
SIZE (rust/crates/proc-macro2-1.0.24.tar.gz) = 37716
|
||||
SHA256 (rust/crates/quick-xml-0.19.0.tar.gz) = b3d72d5477478f85bd00b6521780dfba1ec6cdaadcf90b8b181c36d7de561f9b
|
||||
SIZE (rust/crates/quick-xml-0.19.0.tar.gz) = 109155
|
||||
SHA256 (rust/crates/quote-1.0.7.tar.gz) = aa563d17ecb180e500da1cfd2b028310ac758de548efdd203e18f283af693f37
|
||||
SIZE (rust/crates/quote-1.0.7.tar.gz) = 25170
|
||||
SHA256 (rust/crates/regex-automata-0.1.9.tar.gz) = ae1ded71d66a4a97f5e961fd0cb25a5f366a42a41570d16a763a69c092c26ae4
|
||||
SIZE (rust/crates/regex-automata-0.1.9.tar.gz) = 114560
|
||||
SHA256 (rust/crates/ryu-1.0.5.tar.gz) = 71d301d4193d031abdd79ff7e3dd721168a9572ef3fe51a1517aba235bd8f86e
|
||||
SIZE (rust/crates/ryu-1.0.5.tar.gz) = 49570
|
||||
SHA256 (rust/crates/serde-1.0.117.tar.gz) = b88fa983de7720629c9387e9f517353ed404164b1e482c970a90c1a4aaf7dc1a
|
||||
SIZE (rust/crates/serde-1.0.117.tar.gz) = 74505
|
||||
SHA256 (rust/crates/strsim-0.8.0.tar.gz) = 8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a
|
||||
SIZE (rust/crates/strsim-0.8.0.tar.gz) = 9309
|
||||
SHA256 (rust/crates/syn-1.0.52.tar.gz) = 6c1e438504729046a5cfae47f97c30d6d083c7d91d94603efdae3477fc070d4c
|
||||
SIZE (rust/crates/syn-1.0.52.tar.gz) = 228469
|
||||
SHA256 (rust/crates/textwrap-0.11.0.tar.gz) = d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060
|
||||
SIZE (rust/crates/textwrap-0.11.0.tar.gz) = 17322
|
||||
SHA256 (rust/crates/thiserror-1.0.22.tar.gz) = 0e9ae34b84616eedaaf1e9dd6026dbe00dcafa92aa0c8077cb69df1fcfe5e53e
|
||||
SIZE (rust/crates/thiserror-1.0.22.tar.gz) = 16603
|
||||
SHA256 (rust/crates/thiserror-impl-1.0.22.tar.gz) = 9ba20f23e85b10754cd195504aebf6a27e2e6cbe28c17778a0c930724628dd56
|
||||
SIZE (rust/crates/thiserror-impl-1.0.22.tar.gz) = 13289
|
||||
SHA256 (rust/crates/unicode-width-0.1.8.tar.gz) = 9337591893a19b88d8d87f2cec1e73fad5cdfd10e5a6f349f498ad6ea2ffb1e3
|
||||
SIZE (rust/crates/unicode-width-0.1.8.tar.gz) = 16732
|
||||
SHA256 (rust/crates/unicode-xid-0.2.1.tar.gz) = f7fe0bb3479651439c9112f72b6c505038574c9fbb575ed1bf3b797fa39dd564
|
||||
SIZE (rust/crates/unicode-xid-0.2.1.tar.gz) = 14392
|
||||
SHA256 (rust/crates/vec_map-0.8.2.tar.gz) = f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191
|
||||
SIZE (rust/crates/vec_map-0.8.2.tar.gz) = 14466
|
||||
SHA256 (rust/crates/winapi-0.3.9.tar.gz) = 5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419
|
||||
SIZE (rust/crates/winapi-0.3.9.tar.gz) = 1200382
|
||||
SHA256 (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.tar.gz) = ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6
|
||||
SIZE (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.tar.gz) = 2918815
|
||||
SHA256 (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.tar.gz) = 712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f
|
||||
SIZE (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.tar.gz) = 2947998
|
||||
SHA256 (rust/crates/zip-0.5.8.tar.gz) = 543adf038106b64cfca4711c82c917d785e3540e04f7996554488f988ec43124
|
||||
SIZE (rust/crates/zip-0.5.8.tar.gz) = 41175
|
||||
SHA256 (masklinn-xls2txt-1.0.1-1222f8069428f6bcedfcccf9e80523db34c0d343_GH0.tar.gz) = 6c2d605f949568bd08cd31a519d67d96b30c73824c7a9b3ad03f67084b9ee4c4
|
||||
SIZE (masklinn-xls2txt-1.0.1-1222f8069428f6bcedfcccf9e80523db34c0d343_GH0.tar.gz) = 3912
|
6
databases/xls2txt/pkg-descr
Normal file
6
databases/xls2txt/pkg-descr
Normal file
|
@ -0,0 +1,6 @@
|
|||
xls2txt and xsl2csv allow converting spreadsheet files to text for compatibility
|
||||
with terminals and command-line utilities (e.g. diff or less). Despite the name,
|
||||
they should work with both excel (xls, xlsx or xlsb) and OpenDocument (ods)
|
||||
files.
|
||||
|
||||
WWW: https://github.com/masklinn/xls2txt
|
Loading…
Reference in a new issue