Skip to content

Commit

Permalink
devel/py-ast-decompiler: Add py-ast-decompiler 0.7.0
Browse files Browse the repository at this point in the history
ast_decompiler is a module for generating Python code given an AST.
  • Loading branch information
sunpoet committed Apr 9, 2023
1 parent d3cac3a commit 9b73231
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 0 deletions.
1 change: 1 addition & 0 deletions devel/Makefile
Expand Up @@ -4203,6 +4203,7 @@
SUBDIR += py-asn1
SUBDIR += py-asn1crypto
SUBDIR += py-aspy.yaml
SUBDIR += py-ast-decompiler
SUBDIR += py-asteval
SUBDIR += py-astor
SUBDIR += py-astroid
Expand Down
22 changes: 22 additions & 0 deletions devel/py-ast-decompiler/Makefile
@@ -0,0 +1,22 @@
PORTNAME= ast-decompiler
PORTVERSION= 0.7.0
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ast_decompiler-${PORTVERSION}

MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Python module to decompile AST to Python code
WWW= https://github.com/JelleZijlstra/ast_decompiler

LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE

BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.4<4:devel/py-flit-core@${PY_FLAVOR}

USES= python:3.7+
USE_PYTHON= autoplist concurrent pep517

NO_ARCH= yes

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions devel/py-ast-decompiler/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1680726000
SHA256 (ast_decompiler-0.7.0.tar.gz) = efc3a507e5f8963ec7b4b2ce2ea693e3755c2f52b741c231bc344a4526738337
SIZE (ast_decompiler-0.7.0.tar.gz) = 18413
1 change: 1 addition & 0 deletions devel/py-ast-decompiler/pkg-descr
@@ -0,0 +1 @@
ast_decompiler is a module for generating Python code given an AST.

0 comments on commit 9b73231

Please sign in to comment.