git: 1a949e35ca3d - main - devel/py-synr: New port: Consistent AST for Python
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 22 Jul 2022 06:33:09 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=1a949e35ca3d53850017102372a7ba0e6d00cbe6 commit 1a949e35ca3d53850017102372a7ba0e6d00cbe6 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-07-22 06:17:50 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-07-22 06:33:05 +0000 devel/py-synr: New port: Consistent AST for Python --- devel/Makefile | 1 + devel/py-synr/Makefile | 18 ++++++++++++++++++ devel/py-synr/distinfo | 3 +++ devel/py-synr/pkg-descr | 11 +++++++++++ 4 files changed, 33 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index b73e2ed9f422..31b69b8de8bf 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5294,6 +5294,7 @@ SUBDIR += py-subversion SUBDIR += py-sure SUBDIR += py-swagger-spec-validator + SUBDIR += py-synr SUBDIR += py-sysctl SUBDIR += py-sysv_ipc SUBDIR += py-tables diff --git a/devel/py-synr/Makefile b/devel/py-synr/Makefile new file mode 100644 index 000000000000..2e7e651c8201 --- /dev/null +++ b/devel/py-synr/Makefile @@ -0,0 +1,18 @@ +PORTNAME= synr +PORTVERSION= 0.6.0 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Consistent AST for Python + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= python:3.6+ +USE_PYTHON= distutils autoplist + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/py-synr/distinfo b/devel/py-synr/distinfo new file mode 100644 index 000000000000..6fdbf20c8b06 --- /dev/null +++ b/devel/py-synr/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1658468015 +SHA256 (synr-0.6.0.tar.gz) = 0b4e16b10c3988e1981e3372153a31956f74d86752eaaa55e8c4e7b7fe591e4e +SIZE (synr-0.6.0.tar.gz) = 17299 diff --git a/devel/py-synr/pkg-descr b/devel/py-synr/pkg-descr new file mode 100644 index 000000000000..e4535475efbd --- /dev/null +++ b/devel/py-synr/pkg-descr @@ -0,0 +1,11 @@ +Synr is a library that provides a stable Abstract Syntax Tree for Python. + +Features: +* The Synr AST does not change between Python versions. +* Every AST node contains line and column information. +* There is a single AST node for assignments (compared to three in Python's ast + module). +* Support for returning multiple errors at once. +* Support for custom error reporting. + +WWW: https://github.com/octoml/synr