# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup golang 1.0 go.setup github.com/noborus/trdsql 1.1.0 v github.tarball_from archive revision 0 description CLI tool that can execute SQL queries on CSV, LTSV, JSON \ and TBLN files. Can output to various formats. long_description {*}${description} Can use PostgreSQL or MySQL syntax. categories textproc databases installs_libs no license MIT maintainers {gmail.com:herby.gillot @herbygillot} \ openmaintainer build.cmd make build.target trdsql patch { reinplace "s|^VERSION=.*|VERSION=v${version}|" ${worksrcpath}/Makefile } destroot { xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/ set zsh_comp_path ${destroot}${prefix}/share/zsh/site-functions xinstall -d ${zsh_comp_path} xinstall -m 0644 \ ${worksrcpath}/completion/${name}-completion.zsh \ ${zsh_comp_path}/_${name} } github.livecheck.regex \ {([0-9.]+)} checksums ${distname}${extract.suffix} \ rmd160 81d533f9cda1a5162efcf47a077e72d9413770a0 \ sha256 e3b8bef57330648d3f4b279bd4c652eaeba19aa4fae3fe05cfa596a2b3f4bc51 \ size 2471837 go.vendors modernc.org/token \ repo gitlab.com/cznic/token \ lock v1.1.0 \ rmd160 0c43e852a8cdb4452f23a3bfdce01ef7bf128e9c \ sha256 3d43084990f91f39b9705892782a55768280fd504a573d8e52ce018bb8cb4ac2 \ size 6084 \ modernc.org/strutil \ repo gitlab.com/cznic/strutil \ lock v1.2.0 \ rmd160 73598e4d283b23dda632180f4321245683cf42ba \ sha256 463119995676a03c2a8d89e01605e9e068aa67d3b13984cac8fc9d1e47a0300b \ size 9759 \ modernc.org/sqlite \ repo gitlab.com/cznic/sqlite \ lock v1.31.1 \ rmd160 6be860347d3fb77351c851ec3cdf713ab92629bc \ sha256 82878d08504a970b267e192f008d93413e8abd85ca141a0f9a6fe03bd85e85e1 \ size 38721807 \ modernc.org/sortutil \ repo gitlab.com/cznic/sortutil \ lock v1.2.0 \ rmd160 de54e29fc2057e9d18872185198e085f27dc2234 \ sha256 90bb5051c15b148c149e4018981b8d9db6a694349aa1520b64a5ffb7718bbe80 \ size 6322 \ modernc.org/opt \ repo gitlab.com/cznic/opt \ lock v0.1.3 \ rmd160 d0bb845f73eb8f03c577f49280fc568d49d224c9 \ sha256 e2845a84219d525877bc651b362136efb7d736e7fad79e665a932e21c855bc80 \ size 3631 \ modernc.org/memory \ repo gitlab.com/cznic/memory \ lock v1.8.0 \ rmd160 475dfa61c5f41b4d3360ce5c4ffd84200449e00d \ sha256 dd0f4f6718812c12eb0be33a61023aa1512e523f291aefeb1e14668d5c5bb61e \ size 12147 \ modernc.org/mathutil \ repo gitlab.com/cznic/mathutil \ lock v1.6.0 \ rmd160 c948e07277fbbda86273941792e91217645ae39a \ sha256 7486c0328a62f6fce1bd2bd422c54556583c17ad59a3fe575d45177ef19d31f8 \ size 121998 \ modernc.org/libc \ repo gitlab.com/cznic/libc \ lock v1.55.3 \ rmd160 f6f44c9e1e5a1cd66222d5e4904ae2226fae03c6 \ sha256 237c9f29c8c6cc110f424199f0181ed73fd4476f6497ba39719515a61b872cde \ size 11360899 \ modernc.org/gc \ repo gitlab.com/cznic/gc \ lock f0dba7c97c2b \ rmd160 bdd52fa61914774117e10999d5d206a37ca8fdbc \ sha256 89377a96bb83d3f4b6cce116bc7bf7465ac563e0de17ca89b051c028a4402c8f \ size 1285516 \ modernc.org/fileutil \ repo gitlab.com/cznic/fileutil \ lock v1.3.0 \ rmd160 c071a5d6699d272a985609a7d2c6aa46009063de \ sha256 35f072e81a33be1540016b4a348ccdc771958d63382e6cba2af9f974dce40342 \ size 35910 \ modernc.org/ccgo \ repo gitlab.com/cznic/ccgo \ lock v4.19.2 \ rmd160 12fcb221076c098a6bcf3aca44a10fec64eaf226 \ sha256 b0a3907723c29bfca9919c639ed29642bb77e7ada7965ef34c1c802a6a8d8146 \ size 26862107 \ modernc.org/cc \ repo gitlab.com/cznic/cc \ lock v4.21.4 \ rmd160 2549b1587ec191d914f921609e013bf9a43b488d \ sha256 3c8c5debbd5df383cd46cb2d0f91961b7dc547e6d7b3472b1915f07082223ec0 \ size 16593276 \ gopkg.in/yaml.v3 \ lock v3.0.1 \ rmd160 e85ac1368fb7f9ef945b7fd7bd608a1f0d261c12 \ sha256 f3ea6be3f405ec25f8799773355aba54f8831d11f5315a01155bdc69b92eca7b \ size 91208 \ gonum.org/v1/gonum \ repo github.com/gonum/gonum \ lock v0.14.0 \ rmd160 13e5031d4842302003c01fb5ed49078a468949fe \ sha256 5036ad6eec61036907d9d2fc2a04a9662237ecf78ad0336aaf53409cf6f2c219 \ size 3461978 \ golang.org/x/xerrors \ lock 104605ab7028 \ rmd160 f95ec955a949a9572c5adb70601e23256cf3c1ec \ sha256 8f77229dab8844cb8c4e07cd58f701e6e6cd999f75d51edec517fd5bcc5eac30 \ size 13743 \ golang.org/x/tools \ lock v0.19.0 \ rmd160 f40fd35925ea9e665c5b8a12acca70ebe88de890 \ sha256 aba909537db388ac1d1a638c0e504159a0e80a74d78721ce6f05c0f91f5afbcd \ size 3743423 \ golang.org/x/term \ lock v0.25.0 \ rmd160 ca833ac737fee5ec966abbb66a96939a99bb0cc4 \ sha256 b7e1430c8d62c201eeb85b4dabd2801c0bbe7e83cdeb71c35f3e4fa44faed0ad \ size 14759 \ golang.org/x/sys \ lock v0.26.0 \ rmd160 19987e0da1912ad52b2b04531f53e61b342592e6 \ sha256 4f47aa2c6f4fede87b4ff8bfb3da47c6b1ddc10bfdb2a5d85a97131f6a459313 \ size 1509195 \ golang.org/x/mod \ lock v0.16.0 \ rmd160 5f587ca7145ba14f48d1aa77b29d61ccec122b8c \ sha256 907d4c5cc9c0d864777254337db3ac9efb7695dfd06a70e6fd36291f2c6f1377 \ size 121736 \ golang.org/x/exp \ lock 2478ac86f678 \ rmd160 e8d8f97e68bdbb803a70c220619974b388679505 \ sha256 7ac0478d35e691a4ea447e8af5278bb39adf360d4013bef84315596bf7c17d1b \ size 1634437 \ golang.org/x/crypto \ lock v0.21.0 \ rmd160 af2d1cfcc2e0b235f432863286fe666e2eec3f58 \ sha256 98e51eb5ad0dc5f9e1ea49804661e9c6db076dda540dc239a1e301b57bbd1090 \ size 1810842 \ github.com/ulikunitz/xz \ lock v0.5.12 \ rmd160 923ba7590d3cca4de73ce2e9ef67c95ee58ec043 \ sha256 95db3e60ec33a8d9c8aa67f2e73a9d7680d52386dc9f132f0caf0815862a53ae \ size 4176123 \ github.com/stretchr/testify \ lock v1.8.0 \ rmd160 5c390a4b7ea60de6cf9f69ece1cfc664e52c52b7 \ sha256 9b51f07d72fd2d88a76cd89fb8863fc69812e364d28d0a97f6eacf9cd974c71d \ size 97622 \ github.com/rivo/uniseg \ lock v0.4.7 \ rmd160 a9056dc9a2a80aa9c46d0ff9e54f9e2e5a498c41 \ sha256 abc6a2f17b64b34b8a0c56eb9d0b53886ebbe0c88d467755c09c7fa696a16677 \ size 458166 \ github.com/remyoudompheng/bigfft \ lock 24d4a6f8daec \ rmd160 063388692f096c20d5776d2b4bcdbb7a0a19fc05 \ sha256 3821c67a36f45ac9f2216b5765468e670b5b09cc9d52acfa5f7e407cc995eaed \ size 14834 \ github.com/pmezard/go-difflib \ lock v1.0.0 \ rmd160 fc879bfbdef9e3ff50844def58404e2b5a613ab8 \ sha256 7cd492737641847266115f3060489a67f63581e521a8ec51efbc280c33fc991f \ size 11409 \ github.com/pierrec/lz4 \ lock v4.1.21 \ rmd160 27bb411cfaae6451401eb103bed71066ce6996c6 \ sha256 6e54bf8b08deda511f146588b574c5dfae219e5a946a75d6fdc2c4c2fe6a02f6 \ size 40916306 \ github.com/olekukonko/tablewriter \ lock v0.0.5 \ rmd160 aa952a560c3aa5102bfb3e55f12facf048379adf \ sha256 830bdee7f05aa76353c113075a864359762a502c6d6a1f72bfb7055247c0539b \ size 19579 \ github.com/noborus/tbln \ lock v0.0.2 \ rmd160 9bd61b7f65eeefa3d84e62acc6e06ced555c8947 \ sha256 ffe3e28c6fa672cf81a81bd3b0d83c82c1a30cc3bc8f5d7f2428ea069d784751 \ size 25763 \ github.com/noborus/sqlss \ lock v0.1.0 \ rmd160 f312e64b8a7c8ecff7f15e5b848ea915bc2580da \ sha256 24ad914bf0fbdaa539a530cf640d3943569a2524cfb63e1d2b6327cc9642d062 \ size 2932 \ github.com/noborus/guesswidth \ lock v0.4.0 \ rmd160 4c38f022b7aa5a71ea59e1d27452bef1a8a57c52 \ sha256 5092f781475e71ea48db288902f2af4a2aa32a8fd0a20e3110ddf50e01fd605d \ size 143314 \ github.com/ncruces/go-strftime \ lock v0.1.9 \ rmd160 857221db6a32da01327c86dac7bf315468dcb3b7 \ sha256 d1ef850203811a0178ddc6f9ffbc3425e62f4ceabcc11c5bfa2837f2a6ec41ec \ size 11733 \ github.com/multiprocessio/go-sqlite3-stdlib \ lock 9f6825a1cd25 \ rmd160 ad8fb7de738ab4edae04a32b452636d17032c0a4 \ sha256 5967e638cd345f2636a4f6b56bb20c87205aecf72902b08b3d6808e038a98a3c \ size 732455 \ github.com/mattn/go-sqlite3 \ lock v1.14.24 \ rmd160 6e500f039d1c75242ded2a9474df727e00001877 \ sha256 144a80a3daaca66ff0456121b2e9a220216cde73369c434f958e69ae27704eff \ size 2622930 \ github.com/mattn/go-runewidth \ lock v0.0.16 \ rmd160 297825c4365b5f723ae485e726259ebb620ecd66 \ sha256 6c9e81a6b46220612b97ebc35e8d29d1907fd225a9ce3e40b7cebd64cc58d09c \ size 18496 \ github.com/mattn/go-isatty \ lock v0.0.20 \ rmd160 ef20ccdf87de8b704c0c7118625b2beb31d8f1b4 \ sha256 397549e98cf5d40df585f31dc7902f017c37be88c64311dd2b4aeccab4009949 \ size 4717 \ github.com/mattn/go-colorable \ lock v0.1.13 \ rmd160 c9e8ab9d0773c0984f36235e3c9f8c033552ac1a \ sha256 0cd9a951799c1a9f999df56e4b020170fa887456049c274aae6262d9ae3f7424 \ size 9778 \ github.com/lib/pq \ lock v1.10.9 \ rmd160 beb0e233773f49d8d08ee991abf23bc8febf69d0 \ sha256 08610bf0370b202bee369b7303c3085e02c7f6fdfd42a3f58e8f033088151eea \ size 114528 \ github.com/leodido/go-urn \ lock v1.2.0 \ rmd160 511c197355986e3222e1434446d1085bca6aec19 \ sha256 2a2dcbad59406556838a985812e86b45eea0815b8b563e786783b084af6f0150 \ size 1102403 \ github.com/klauspost/compress \ lock v1.17.8 \ rmd160 f9858ed8ed7af6ab6a573dbe67a92590641d67a0 \ sha256 13b001aa000bb1b9038ce44b51cd5fe8d294d667a0a44aa4d3d1872f3bcc0b3a \ size 38745921 \ github.com/jwalton/go-supportscolor \ lock v1.2.0 \ rmd160 eee81e34a98e6412d62148baea439969126cec23 \ sha256 4821d76e558996eaa352bc14ac1bcee2a4e98e4178e6f20326624e09b0bda613 \ size 11189 \ github.com/jwalton/gchalk \ lock v1.3.0 \ rmd160 b2c2bc544029b9157e5546ab98dd452882cb1f3a \ sha256 4235f5411a9a4ee029a3084fb47bc388a350cacff63a63292404de259efb64b7 \ size 96929 \ github.com/itchyny/timefmt-go \ lock v0.1.6 \ rmd160 99551280509a955329da38d35fea28174a93af61 \ sha256 c8d03cbfb0111d827cc0bd98230d180ed3bc603bae95e7b43fe6fcb7748093da \ size 15081 \ github.com/itchyny/gojq \ lock v0.12.16 \ rmd160 0fc7bf6411f18f52a1b2a003975b69c1aa8e888b \ sha256 c1a6a30e4475eb2ef7f41a54603abfe2b7021faaa0b97caebd7685db6aab1371 \ size 131946 \ github.com/iancoleman/orderedmap \ lock v0.3.0 \ rmd160 f64d23f90b014d2eb87f91b72cb2ec520b2dd588 \ sha256 451fca55043fac84b91a851053c7db796e7f988a6dc938c912b58ef912250d61 \ size 5808 \ github.com/hashicorp/golang-lru \ lock v2.0.7 \ rmd160 2f1bb029285d1f25ec7b2b55623c8b8a221154c0 \ sha256 7e0d056d9ae52e411de5945162e0dee0e7974dec527858f2fec39cfeff6afd3f \ size 23862 \ github.com/google/uuid \ lock v1.6.0 \ rmd160 3d4f6f95018c6313f7258805845eb2a7e717850c \ sha256 72700459e75cad2b36586e8a13aa12c2d6248c45db24d1eebf41e18b1ec1c811 \ size 20895 \ github.com/google/pprof \ lock 83162a5b38cd \ rmd160 aa8997b8d9e3e0ea3535bfff0b6829f89548b8df \ sha256 fd7f2120ceac6d7e767f5b37600501d115eefb39263dca23c78c820ab9e6daf2 \ size 4749628 \ github.com/google/go-cmp \ lock v0.5.9 \ rmd160 9832ae80123461baed8aa20e830199c0e21e337b \ sha256 3058d20d61f03aa05fca0fc07acb8c50850c68086998c542857aec7ad1529482 \ size 104431 \ github.com/goccy/go-yaml \ lock v1.11.3 \ rmd160 e6ad9c46b636da850d4f2df426a7386a84eb42b9 \ sha256 23cbfefa72c3aa898b8ae93d54c667f3a6de86d93641501341397912eb7bcb75 \ size 97561 \ github.com/go-sql-driver/mysql \ lock v1.8.1 \ rmd160 f32a15ddd5c0a9e628bf1d6fa236f0865b1f1697 \ sha256 a3d9fcb9479ffb100441dee59ebcefeb6306f6dd3549f7c429b91c5e9399a80d \ size 105661 \ github.com/go-playground/validator \ lock v10.4.1 \ rmd160 a0e525cee45ce0ce3d83d4e5036e3728b06666fa \ sha256 09ea3cbaf0f7a06c9c5a1230403657d883a34d83857abc4837a5004c27cfb7b6 \ size 173196 \ github.com/go-playground/universal-translator \ lock v0.17.0 \ rmd160 af69564aaac9a8c02b17d40bfbc057bf301684f1 \ sha256 4272670a016909c65e8789f62f5804cf54c045b010d4d3d29d71f46fc791db95 \ size 36838 \ github.com/go-playground/locales \ lock v0.13.0 \ rmd160 89550915ead759ae6afd9b3a7db1a06dc40effd1 \ sha256 3e0a7c7223e05b9e563f86d0890899e23ddf1017db3e95817caffa848679b722 \ size 4227226 \ github.com/fatih/color \ lock v1.16.0 \ rmd160 e366491b67c4f4afbc5d3a26f2b76585d06f8381 \ sha256 968744e2d5468beab9fe694143737c0c9e5cebfe860211c521a8424320cfa910 \ size 12112 \ github.com/dustin/go-humanize \ lock v1.0.1 \ rmd160 3c799a1cbda2e82f3d35ec20e539581fd9c24b9d \ sha256 aa5a5059ebd8fffc9e9b9e3c888d85cdb1f4c8f7b73944a6c027647039a83df7 \ size 17709 \ github.com/dsnet/compress \ lock v0.0.1 \ rmd160 44a9ba6d99a11d15815c3600f997b48abfec5bd5 \ sha256 42eac045c3c85d633e26d3dfdf62ff0a2c7b970397baaa0de85f5de783489705 \ size 9963201 \ github.com/davecgh/go-spew \ lock v1.1.1 \ rmd160 7c02883aa81f81aca14e13a27fdca9e7fbc136f7 \ sha256 e85d6afa83e64962e0d63dd4812971eccf2b9b5445eda93f46a4406f0c177d5f \ size 42171 \ github.com/araddon/dateparse \ lock 6b43995a97de \ rmd160 6917dfacee739f408b18077506c4e1cd0506365f \ sha256 d99c72ffd8aa7d2077d1a9e844efbc3237bc018cd05aec11cc44e216ddabed4d \ size 27524 \ filippo.io/edwards25519 \ repo github.com/FiloSottile/edwards25519 \ lock v1.1.0 \ rmd160 32e76862168e566190f9be95e5a88dcb10b3a6a2 \ sha256 a68a54423370e136bf03e4217d2fba807b4d041f873f6ebbcfc8ad4ba9925f5d \ size 47132