git: 34a7eb1c4c29 - main - devel/rubygem-syntax_tree: Add rubygem-syntax_tree 6.1.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 21 Aug 2023 17:13:05 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=34a7eb1c4c29a33c8748ceab001aba2eb6724673 commit 34a7eb1c4c29a33c8748ceab001aba2eb6724673 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-08-21 16:52:05 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-08-21 17:01:59 +0000 devel/rubygem-syntax_tree: Add rubygem-syntax_tree 6.1.1 Syntax Tree is a suite of tools built on top of the internal CRuby parser. It provides the ability to generate a syntax tree from source, as well as the tools necessary to inspect and manipulate that syntax tree. It can be used to build formatters, linters, language servers, and more. It is built with only standard library dependencies. It additionally ships with a plugin system so that you can build your own syntax trees from other languages and incorporate these tools. --- devel/Makefile | 1 + devel/rubygem-syntax_tree/Makefile | 23 +++++++++++++++++++++++ devel/rubygem-syntax_tree/distinfo | 3 +++ devel/rubygem-syntax_tree/pkg-descr | 8 ++++++++ 4 files changed, 35 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 115b190a14f8..0ea94394c918 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -7401,6 +7401,7 @@ SUBDIR += rubygem-swagger-blocks SUBDIR += rubygem-sync SUBDIR += rubygem-syntax_suggest + SUBDIR += rubygem-syntax_tree SUBDIR += rubygem-sysinfo SUBDIR += rubygem-syslog SUBDIR += rubygem-systemu diff --git a/devel/rubygem-syntax_tree/Makefile b/devel/rubygem-syntax_tree/Makefile new file mode 100644 index 000000000000..c860e73ebe98 --- /dev/null +++ b/devel/rubygem-syntax_tree/Makefile @@ -0,0 +1,23 @@ +PORTNAME= syntax_tree +PORTVERSION= 6.1.1 +CATEGORIES= devel rubygems +MASTER_SITES= RG + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Parser based on ripper +WWW= https://ruby-syntax-tree.github.io/syntax_tree/ \ + https://github.com/ruby-syntax-tree/syntax_tree + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= rubygem-prettier_print>=1.2.0:devel/rubygem-prettier_print + +USES= gem + +NO_ARCH= yes + +PLIST_FILES= bin/stree \ + bin/yarv + +.include <bsd.port.mk> diff --git a/devel/rubygem-syntax_tree/distinfo b/devel/rubygem-syntax_tree/distinfo new file mode 100644 index 000000000000..ad86e6dd2778 --- /dev/null +++ b/devel/rubygem-syntax_tree/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1692211629 +SHA256 (rubygem/syntax_tree-6.1.1.gem) = eb03ff60f51ac29af5cf4fe39bc06e6714cd5b8b3f91cbec2a61e0b8602f5598 +SIZE (rubygem/syntax_tree-6.1.1.gem) = 218112 diff --git a/devel/rubygem-syntax_tree/pkg-descr b/devel/rubygem-syntax_tree/pkg-descr new file mode 100644 index 000000000000..c3730568c0af --- /dev/null +++ b/devel/rubygem-syntax_tree/pkg-descr @@ -0,0 +1,8 @@ +Syntax Tree is a suite of tools built on top of the internal CRuby parser. It +provides the ability to generate a syntax tree from source, as well as the tools +necessary to inspect and manipulate that syntax tree. It can be used to build +formatters, linters, language servers, and more. + +It is built with only standard library dependencies. It additionally ships with +a plugin system so that you can build your own syntax trees from other languages +and incorporate these tools.