summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2021-10-01 19:52:08 +0000
committeradam <adam@pkgsrc.org>2021-10-01 19:52:08 +0000
commit7cc0d9fe4f68da556d87e84cf3ecec89f7a75034 (patch)
treea24014e8249c3dfa7ddcb138dc43dcd52a151727
parentff4f00c5052fda6e3921637d6a4b8ea19ae2f6cf (diff)
downloadpkgsrc-7cc0d9fe4f68da556d87e84cf3ecec89f7a75034.tar.gz
py-gast: added version 0.5.2
A generic AST to represent Python2 and Python3's Abstract Syntax Tree (AST). GAST provides a compatibility layer between the AST of various Python versions, as produced by ast.parse from the standard ast module.
-rw-r--r--devel/py-gast/DESCR3
-rw-r--r--devel/py-gast/Makefile18
-rw-r--r--devel/py-gast/PLIST20
-rw-r--r--devel/py-gast/distinfo6
4 files changed, 47 insertions, 0 deletions
diff --git a/devel/py-gast/DESCR b/devel/py-gast/DESCR
new file mode 100644
index 00000000000..14f2145f787
--- /dev/null
+++ b/devel/py-gast/DESCR
@@ -0,0 +1,3 @@
+A generic AST to represent Python2 and Python3's Abstract Syntax Tree (AST).
+GAST provides a compatibility layer between the AST of various Python versions,
+as produced by ast.parse from the standard ast module.
diff --git a/devel/py-gast/Makefile b/devel/py-gast/Makefile
new file mode 100644
index 00000000000..5aa1b806e98
--- /dev/null
+++ b/devel/py-gast/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2021/10/01 19:52:08 adam Exp $
+
+DISTNAME= gast-0.5.2
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= devel python
+MASTER_SITES= ${MASTER_SITE_PYPI:=g/gast/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/serge-sans-paille/gast
+COMMENT= Python AST that abstracts the underlying Python version
+LICENSE= modified-bsd
+
+TEST_DEPENDS+= ${PYPKGPREFIX}-astunparse-[0-9]*:../../devel/py-astunparse
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/py-gast/PLIST b/devel/py-gast/PLIST
new file mode 100644
index 00000000000..7f2c0921604
--- /dev/null
+++ b/devel/py-gast/PLIST
@@ -0,0 +1,20 @@
+@comment $NetBSD: PLIST,v 1.1 2021/10/01 19:52:08 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/gast/__init__.py
+${PYSITELIB}/gast/__init__.pyc
+${PYSITELIB}/gast/__init__.pyo
+${PYSITELIB}/gast/ast2.py
+${PYSITELIB}/gast/ast2.pyc
+${PYSITELIB}/gast/ast2.pyo
+${PYSITELIB}/gast/ast3.py
+${PYSITELIB}/gast/ast3.pyc
+${PYSITELIB}/gast/ast3.pyo
+${PYSITELIB}/gast/astn.py
+${PYSITELIB}/gast/astn.pyc
+${PYSITELIB}/gast/astn.pyo
+${PYSITELIB}/gast/gast.py
+${PYSITELIB}/gast/gast.pyc
+${PYSITELIB}/gast/gast.pyo
diff --git a/devel/py-gast/distinfo b/devel/py-gast/distinfo
new file mode 100644
index 00000000000..5df53b32713
--- /dev/null
+++ b/devel/py-gast/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/10/01 19:52:08 adam Exp $
+
+SHA1 (gast-0.5.2.tar.gz) = 99491544f561ef76523e6f29a621ce633fc7a1c1
+RMD160 (gast-0.5.2.tar.gz) = 75f686d7bd6cf844b0fc449c847c0b2d15b0e4b2
+SHA512 (gast-0.5.2.tar.gz) = 2a06245ba93f2c0715f662e32e0865732828deb672bc70c3d70a4969c8a2e4c518354a4a63760eddeba53932d4f8bf0ae0ffab64f1a1ad3b20d5b2d18285cd6a
+Size (gast-0.5.2.tar.gz) = 14222 bytes