Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Dec 2023 06:16:26 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: ac67a13cf74e - main - misc/py-ast-comments: New port: Extension to the built-in ast module
Message-ID:  <202312300616.3BU6GQ9R096952@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=ac67a13cf74ee250ea844a9c2bba4ce79402d489

commit ac67a13cf74ee250ea844a9c2bba4ce79402d489
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-12-30 05:49:03 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-12-30 06:16:21 +0000

    misc/py-ast-comments: New port: Extension to the built-in ast module
---
 misc/Makefile                  |  1 +
 misc/py-ast-comments/Makefile  | 22 ++++++++++++++++++++++
 misc/py-ast-comments/distinfo  |  3 +++
 misc/py-ast-comments/pkg-descr |  2 ++
 4 files changed, 28 insertions(+)

diff --git a/misc/Makefile b/misc/Makefile
index af01e5ac4f58..419a4c9414fc 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -402,6 +402,7 @@
     SUBDIR += py-alive-progress
     SUBDIR += py-apache-beam
     SUBDIR += py-ascii-magic
+    SUBDIR += py-ast-comments
     SUBDIR += py-boost-histogram
     SUBDIR += py-censys
     SUBDIR += py-cinder
diff --git a/misc/py-ast-comments/Makefile b/misc/py-ast-comments/Makefile
new file mode 100644
index 000000000000..426bb00df096
--- /dev/null
+++ b/misc/py-ast-comments/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	ast-comments
+DISTVERSION=	1.2.1
+CATEGORIES=	misc
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	${PORTNAME:S/-/_/}-${PORTVERSION}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Extension to the built-in ast module
+WWW=		https://github.com/t3rn0/ast-comments
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	pep517 autoplist
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/misc/py-ast-comments/distinfo b/misc/py-ast-comments/distinfo
new file mode 100644
index 000000000000..cb8137eb187c
--- /dev/null
+++ b/misc/py-ast-comments/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1703911538
+SHA256 (ast_comments-1.2.1.tar.gz) = 28f356ed2d5943e39a25ba12038d6210b01ce9363c42101216fc61561d318d3a
+SIZE (ast_comments-1.2.1.tar.gz) = 5288
diff --git a/misc/py-ast-comments/pkg-descr b/misc/py-ast-comments/pkg-descr
new file mode 100644
index 000000000000..e3ceb7a30b28
--- /dev/null
+++ b/misc/py-ast-comments/pkg-descr
@@ -0,0 +1,2 @@
+ast-comments is an extension to the built-in ast module. Finds comments in
+source code and adds them to the parsed tree.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202312300616.3BU6GQ9R096952>