Date: Thu, 5 Jan 2023 10:47:23 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 0e1969440218 - main - devel/tree-sitter-graph: New port: Construct graphs from parsed source code Message-ID: <202301051047.305AlNtM018349@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=0e19694402185d4471121142715c7de54da0319d commit 0e19694402185d4471121142715c7de54da0319d Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-01-05 10:46:41 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-01-05 10:46:41 +0000 devel/tree-sitter-graph: New port: Construct graphs from parsed source code --- devel/Makefile | 1 + devel/tree-sitter-graph/Makefile | 86 +++++++++++++++++++++++++++ devel/tree-sitter-graph/distinfo | 121 ++++++++++++++++++++++++++++++++++++++ devel/tree-sitter-graph/pkg-descr | 2 + 4 files changed, 210 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 96a7f27ce11d..dd2a3c21e9e5 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -7419,6 +7419,7 @@ SUBDIR += transient-devel SUBDIR += transwarp SUBDIR += tree-sitter + SUBDIR += tree-sitter-graph SUBDIR += treefmt SUBDIR += treepy.el SUBDIR += trellis diff --git a/devel/tree-sitter-graph/Makefile b/devel/tree-sitter-graph/Makefile new file mode 100644 index 000000000000..8bcee859042f --- /dev/null +++ b/devel/tree-sitter-graph/Makefile @@ -0,0 +1,86 @@ +PORTNAME= tree-sitter-graph +DISTVERSIONPREFIX= v +DISTVERSION= 0.7.0 +CATEGORIES= devel + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Construct graphs from parsed source code +WWW= https://docs.rs/tree-sitter-graph/*/tree_sitter_graph/ + +LICENSE= APACHE20 MIT +LICENSE_COMB= dual +LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE-APACHE +LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-MIT + +USES= cargo + +USE_GITHUB= yes +GH_ACCOUNT= tree-sitter + +CARGO_FEATURES= cli +CARGO_CRATES= ahash-0.4.7 \ + aho-corasick-0.7.20 \ + anyhow-1.0.68 \ + atty-0.2.14 \ + autocfg-1.1.0 \ + bitflags-1.3.2 \ + cc-1.0.78 \ + cfg-if-1.0.0 \ + clap-3.2.23 \ + clap_lex-0.2.4 \ + colored-2.0.0 \ + dirs-3.0.2 \ + dirs-sys-0.3.7 \ + env_logger-0.9.3 \ + getrandom-0.2.8 \ + hashbrown-0.9.1 \ + hashbrown-0.12.3 \ + hermit-abi-0.1.19 \ + humantime-2.1.0 \ + indexmap-1.9.2 \ + indoc-1.0.8 \ + itoa-1.0.5 \ + lazy_static-1.4.0 \ + libc-0.2.139 \ + libloading-0.7.4 \ + log-0.4.17 \ + memchr-2.5.0 \ + once_cell-1.17.0 \ + os_str_bytes-6.4.1 \ + proc-macro2-1.0.49 \ + quote-1.0.23 \ + redox_syscall-0.2.16 \ + redox_users-0.4.3 \ + regex-1.7.0 \ + regex-syntax-0.6.28 \ + ryu-1.0.12 \ + serde-1.0.152 \ + serde_derive-1.0.152 \ + serde_json-1.0.91 \ + smallvec-1.10.0 \ + string-interner-0.12.2 \ + strsim-0.10.0 \ + syn-1.0.107 \ + termcolor-1.1.3 \ + textwrap-0.16.0 \ + thiserror-1.0.38 \ + thiserror-impl-1.0.38 \ + tree-sitter-0.20.9 \ + tree-sitter-config-0.19.0 \ + tree-sitter-highlight-0.20.1 \ + tree-sitter-loader-0.19.0 \ + tree-sitter-python-0.19.1 \ + tree-sitter-tags-0.20.2 \ + unicode-ident-1.0.6 \ + wasi-0.11.0+wasi-snapshot-preview1 \ + winapi-0.3.9 \ + winapi-i686-pc-windows-gnu-0.4.0 \ + winapi-util-0.1.5 \ + winapi-x86_64-pc-windows-gnu-0.4.0 + +PLIST_FILES= bin/${PORTNAME} + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + +.include <bsd.port.mk> diff --git a/devel/tree-sitter-graph/distinfo b/devel/tree-sitter-graph/distinfo new file mode 100644 index 000000000000..9bd75374b907 --- /dev/null +++ b/devel/tree-sitter-graph/distinfo @@ -0,0 +1,121 @@ +TIMESTAMP = 1672914440 +SHA256 (rust/crates/ahash-0.4.7.crate) = 739f4a8db6605981345c5654f3a85b056ce52f37a39d34da03f25bf2151ea16e +SIZE (rust/crates/ahash-0.4.7.crate) = 51474 +SHA256 (rust/crates/aho-corasick-0.7.20.crate) = cc936419f96fa211c1b9166887b38e5e40b19958e5b895be7c1f93adec7071ac +SIZE (rust/crates/aho-corasick-0.7.20.crate) = 111440 +SHA256 (rust/crates/anyhow-1.0.68.crate) = 2cb2f989d18dd141ab8ae82f64d1a8cdd37e0840f73a406896cf5e99502fab61 +SIZE (rust/crates/anyhow-1.0.68.crate) = 43882 +SHA256 (rust/crates/atty-0.2.14.crate) = d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8 +SIZE (rust/crates/atty-0.2.14.crate) = 5470 +SHA256 (rust/crates/autocfg-1.1.0.crate) = d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa +SIZE (rust/crates/autocfg-1.1.0.crate) = 13272 +SHA256 (rust/crates/bitflags-1.3.2.crate) = bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a +SIZE (rust/crates/bitflags-1.3.2.crate) = 23021 +SHA256 (rust/crates/cc-1.0.78.crate) = a20104e2335ce8a659d6dd92a51a767a0c062599c73b343fd152cb401e828c3d +SIZE (rust/crates/cc-1.0.78.crate) = 61375 +SHA256 (rust/crates/cfg-if-1.0.0.crate) = baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd +SIZE (rust/crates/cfg-if-1.0.0.crate) = 7934 +SHA256 (rust/crates/clap-3.2.23.crate) = 71655c45cb9845d3270c9d6df84ebe72b4dad3c2ba3f7023ad47c144e4e473a5 +SIZE (rust/crates/clap-3.2.23.crate) = 219435 +SHA256 (rust/crates/clap_lex-0.2.4.crate) = 2850f2f5a82cbf437dd5af4d49848fbdfc27c157c3d010345776f952765261c5 +SIZE (rust/crates/clap_lex-0.2.4.crate) = 9652 +SHA256 (rust/crates/colored-2.0.0.crate) = b3616f750b84d8f0de8a58bda93e08e2a81ad3f523089b05f1dffecab48c6cbd +SIZE (rust/crates/colored-2.0.0.crate) = 21619 +SHA256 (rust/crates/dirs-3.0.2.crate) = 30baa043103c9d0c2a57cf537cc2f35623889dc0d405e6c3cccfadbc81c71309 +SIZE (rust/crates/dirs-3.0.2.crate) = 12184 +SHA256 (rust/crates/dirs-sys-0.3.7.crate) = 1b1d1d91c932ef41c0f2663aa8b0ca0342d444d842c06914aa0a7e352d0bada6 +SIZE (rust/crates/dirs-sys-0.3.7.crate) = 10597 +SHA256 (rust/crates/env_logger-0.9.3.crate) = a12e6657c4c97ebab115a42dcee77225f7f482cdd841cf7088c657a42e9e00e7 +SIZE (rust/crates/env_logger-0.9.3.crate) = 33291 +SHA256 (rust/crates/getrandom-0.2.8.crate) = c05aeb6a22b8f62540c194aac980f2115af067bfe15a0734d7277a768d396b31 +SIZE (rust/crates/getrandom-0.2.8.crate) = 30553 +SHA256 (rust/crates/hashbrown-0.9.1.crate) = d7afe4a420e3fe79967a00898cc1f4db7c8a49a9333a29f8a4bd76a253d5cd04 +SIZE (rust/crates/hashbrown-0.9.1.crate) = 77734 +SHA256 (rust/crates/hashbrown-0.12.3.crate) = 8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888 +SIZE (rust/crates/hashbrown-0.12.3.crate) = 102968 +SHA256 (rust/crates/hermit-abi-0.1.19.crate) = 62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33 +SIZE (rust/crates/hermit-abi-0.1.19.crate) = 9979 +SHA256 (rust/crates/humantime-2.1.0.crate) = 9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4 +SIZE (rust/crates/humantime-2.1.0.crate) = 16749 +SHA256 (rust/crates/indexmap-1.9.2.crate) = 1885e79c1fc4b10f0e172c475f458b7f7b93061064d98c3293e98c5ba0c8b399 +SIZE (rust/crates/indexmap-1.9.2.crate) = 54627 +SHA256 (rust/crates/indoc-1.0.8.crate) = da2d6f23ffea9d7e76c53eee25dfb67bcd8fde7f1198b0855350698c9f07c780 +SIZE (rust/crates/indoc-1.0.8.crate) = 13748 +SHA256 (rust/crates/itoa-1.0.5.crate) = fad582f4b9e86b6caa621cabeb0963332d92eea04729ab12892c2533951e6440 +SIZE (rust/crates/itoa-1.0.5.crate) = 10622 +SHA256 (rust/crates/lazy_static-1.4.0.crate) = e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646 +SIZE (rust/crates/lazy_static-1.4.0.crate) = 10443 +SHA256 (rust/crates/libc-0.2.139.crate) = 201de327520df007757c1f0adce6e827fe8562fbc28bfd9c15571c66ca1f5f79 +SIZE (rust/crates/libc-0.2.139.crate) = 638983 +SHA256 (rust/crates/libloading-0.7.4.crate) = b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f +SIZE (rust/crates/libloading-0.7.4.crate) = 27580 +SHA256 (rust/crates/log-0.4.17.crate) = abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e +SIZE (rust/crates/log-0.4.17.crate) = 38028 +SHA256 (rust/crates/memchr-2.5.0.crate) = 2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d +SIZE (rust/crates/memchr-2.5.0.crate) = 65812 +SHA256 (rust/crates/once_cell-1.17.0.crate) = 6f61fba1741ea2b3d6a1e3178721804bb716a68a6aeba1149b5d52e3d464ea66 +SIZE (rust/crates/once_cell-1.17.0.crate) = 32736 +SHA256 (rust/crates/os_str_bytes-6.4.1.crate) = 9b7820b9daea5457c9f21c69448905d723fbd21136ccf521748f23fd49e723ee +SIZE (rust/crates/os_str_bytes-6.4.1.crate) = 23101 +SHA256 (rust/crates/proc-macro2-1.0.49.crate) = 57a8eca9f9c4ffde41714334dee777596264c7825420f521abc92b5b5deb63a5 +SIZE (rust/crates/proc-macro2-1.0.49.crate) = 41977 +SHA256 (rust/crates/quote-1.0.23.crate) = 8856d8364d252a14d474036ea1358d63c9e6965c8e5c1885c18f73d70bff9c7b +SIZE (rust/crates/quote-1.0.23.crate) = 28058 +SHA256 (rust/crates/redox_syscall-0.2.16.crate) = fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a +SIZE (rust/crates/redox_syscall-0.2.16.crate) = 24012 +SHA256 (rust/crates/redox_users-0.4.3.crate) = b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b +SIZE (rust/crates/redox_users-0.4.3.crate) = 15353 +SHA256 (rust/crates/regex-1.7.0.crate) = e076559ef8e241f2ae3479e36f97bd5741c0330689e217ad51ce2c76808b868a +SIZE (rust/crates/regex-1.7.0.crate) = 239421 +SHA256 (rust/crates/regex-syntax-0.6.28.crate) = 456c603be3e8d448b072f410900c09faf164fbce2d480456f50eea6e25f9c848 +SIZE (rust/crates/regex-syntax-0.6.28.crate) = 299288 +SHA256 (rust/crates/ryu-1.0.12.crate) = 7b4b9743ed687d4b4bcedf9ff5eaa7398495ae14e61cba0a295704edbc7decde +SIZE (rust/crates/ryu-1.0.12.crate) = 47070 +SHA256 (rust/crates/serde-1.0.152.crate) = bb7d1f0d3021d347a83e556fc4683dea2ea09d87bccdf88ff5c12545d89d5efb +SIZE (rust/crates/serde-1.0.152.crate) = 77091 +SHA256 (rust/crates/serde_derive-1.0.152.crate) = af487d118eecd09402d70a5d72551860e788df87b464af30e5ea6a38c75c541e +SIZE (rust/crates/serde_derive-1.0.152.crate) = 55586 +SHA256 (rust/crates/serde_json-1.0.91.crate) = 877c235533714907a8c2464236f5c4b2a17262ef1bd71f38f35ea592c8da6883 +SIZE (rust/crates/serde_json-1.0.91.crate) = 144654 +SHA256 (rust/crates/smallvec-1.10.0.crate) = a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0 +SIZE (rust/crates/smallvec-1.10.0.crate) = 31564 +SHA256 (rust/crates/string-interner-0.12.2.crate) = 383196d1876517ee6f9f0864d1fc1070331b803335d3c6daaa04bbcccd823c08 +SIZE (rust/crates/string-interner-0.12.2.crate) = 20300 +SHA256 (rust/crates/strsim-0.10.0.crate) = 73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623 +SIZE (rust/crates/strsim-0.10.0.crate) = 11355 +SHA256 (rust/crates/syn-1.0.107.crate) = 1f4064b5b16e03ae50984a5a8ed5d4f8803e6bc1fd170a3cda91a1be4b18e3f5 +SIZE (rust/crates/syn-1.0.107.crate) = 237539 +SHA256 (rust/crates/termcolor-1.1.3.crate) = bab24d30b911b2376f3a13cc2cd443142f0c81dda04c118693e35b3835757755 +SIZE (rust/crates/termcolor-1.1.3.crate) = 17242 +SHA256 (rust/crates/textwrap-0.16.0.crate) = 222a222a5bfe1bba4a77b45ec488a741b3cb8872e5e499451fd7d0129c9c7c3d +SIZE (rust/crates/textwrap-0.16.0.crate) = 53722 +SHA256 (rust/crates/thiserror-1.0.38.crate) = 6a9cd18aa97d5c45c6603caea1da6628790b37f7a34b6ca89522331c5180fed0 +SIZE (rust/crates/thiserror-1.0.38.crate) = 18947 +SHA256 (rust/crates/thiserror-impl-1.0.38.crate) = 1fb327af4685e4d03fa8cbcf1716380da910eeb2bb8be417e7f9fd3fb164f36f +SIZE (rust/crates/thiserror-impl-1.0.38.crate) = 15429 +SHA256 (rust/crates/tree-sitter-0.20.9.crate) = d4423c784fe11398ca91e505cdc71356b07b1a924fc8735cfab5333afe3e18bc +SIZE (rust/crates/tree-sitter-0.20.9.crate) = 132102 +SHA256 (rust/crates/tree-sitter-config-0.19.0.crate) = f5fec4cb27f052ead2246631b332dba0cb6af9a54ce012badee59c4b0ded5e03 +SIZE (rust/crates/tree-sitter-config-0.19.0.crate) = 2579 +SHA256 (rust/crates/tree-sitter-highlight-0.20.1.crate) = 042342584c5a7a0b833d9fc4e2bdab3f9868ddc6c4b339a1e01451c6720868bc +SIZE (rust/crates/tree-sitter-highlight-0.20.1.crate) = 13977 +SHA256 (rust/crates/tree-sitter-loader-0.19.0.crate) = 8abc4393d1b2bcf1b4714b80ff57dcc62a1703bcb7b41c88e23354cbd7f86c61 +SIZE (rust/crates/tree-sitter-loader-0.19.0.crate) = 7972 +SHA256 (rust/crates/tree-sitter-python-0.19.1.crate) = 83c46916553ebc2a5b23763cd2da8d2b104c515c8f828eb678d1477ccd8c379c +SIZE (rust/crates/tree-sitter-python-0.19.1.crate) = 78286 +SHA256 (rust/crates/tree-sitter-tags-0.20.2.crate) = ccb3f1376219530a37a809751ecf65aa35fd8b9c1c4ab6d4faf5f6a9eeda2c05 +SIZE (rust/crates/tree-sitter-tags-0.20.2.crate) = 9445 +SHA256 (rust/crates/unicode-ident-1.0.6.crate) = 84a22b9f218b40614adcb3f4ff08b703773ad44fa9423e4e0d346d5db86e4ebc +SIZE (rust/crates/unicode-ident-1.0.6.crate) = 42158 +SHA256 (rust/crates/wasi-0.11.0+wasi-snapshot-preview1.crate) = 9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423 +SIZE (rust/crates/wasi-0.11.0+wasi-snapshot-preview1.crate) = 28131 +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-util-0.1.5.crate) = 70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178 +SIZE (rust/crates/winapi-util-0.1.5.crate) = 10164 +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 (tree-sitter-tree-sitter-graph-v0.7.0_GH0.tar.gz) = 2096f94e60ac38ab9860289fb6df84ddfa636a4d553767261ce8572da1966cde +SIZE (tree-sitter-tree-sitter-graph-v0.7.0_GH0.tar.gz) = 66576 diff --git a/devel/tree-sitter-graph/pkg-descr b/devel/tree-sitter-graph/pkg-descr new file mode 100644 index 000000000000..41fe346fb344 --- /dev/null +++ b/devel/tree-sitter-graph/pkg-descr @@ -0,0 +1,2 @@ +The `tree-sitter-graph` library and app defines a DSL for constructing arbitrary +graph structures from source code that has been parsed using tree-sitter.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202301051047.305AlNtM018349>