diff options
author | adam <adam@pkgsrc.org> | 2017-10-16 17:01:50 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2017-10-16 17:01:50 +0000 |
commit | f4f32d3a019840de1e85588a241aca052e050f8a (patch) | |
tree | b76e7c91b966f723dff8c70663559cfe9e0e656f /lang | |
parent | 296505c9c8814b87c50da6889a4744127207409a (diff) | |
download | pkgsrc-f4f32d3a019840de1e85588a241aca052e050f8a.tar.gz |
Parso is a Python parser that supports error recovery and round-trip parsing
for different Python versions (in multiple Python versions). Parso is also
able to list multiple syntax errors in your python file.
Parso has been battle-tested by jedi. It was pulled out of jedi to be useful
for other projects as well.
Parso consists of a small API to parse Python and analyse the syntax tree.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/Makefile | 3 | ||||
-rw-r--r-- | lang/py-parso/DESCR | 8 | ||||
-rw-r--r-- | lang/py-parso/Makefile | 16 | ||||
-rw-r--r-- | lang/py-parso/PLIST | 77 | ||||
-rw-r--r-- | lang/py-parso/distinfo | 6 |
5 files changed, 109 insertions, 1 deletions
diff --git a/lang/Makefile b/lang/Makefile index 095df9c7852..0fe488c89ee 100644 --- a/lang/Makefile +++ b/lang/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.466 2017/10/05 04:06:02 jnemeth Exp $ +# $NetBSD: Makefile,v 1.467 2017/10/16 17:01:50 adam Exp $ # COMMENT= Programming languages @@ -180,6 +180,7 @@ SUBDIR+= py-execjs SUBDIR+= py-hy SUBDIR+= py-js2py SUBDIR+= py-jsparser +SUBDIR+= py-parso SUBDIR+= py-pyrex SUBDIR+= py-pythonz SUBDIR+= py-six diff --git a/lang/py-parso/DESCR b/lang/py-parso/DESCR new file mode 100644 index 00000000000..f8400ce5be4 --- /dev/null +++ b/lang/py-parso/DESCR @@ -0,0 +1,8 @@ +Parso is a Python parser that supports error recovery and round-trip parsing +for different Python versions (in multiple Python versions). Parso is also +able to list multiple syntax errors in your python file. + +Parso has been battle-tested by jedi. It was pulled out of jedi to be useful +for other projects as well. + +Parso consists of a small API to parse Python and analyse the syntax tree. diff --git a/lang/py-parso/Makefile b/lang/py-parso/Makefile new file mode 100644 index 00000000000..12968d849f4 --- /dev/null +++ b/lang/py-parso/Makefile @@ -0,0 +1,16 @@ +# $NetBSD: Makefile,v 1.1 2017/10/16 17:02:14 adam Exp $ + +DISTNAME= parso-0.1.0 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= lang python +MASTER_SITES= ${MASTER_SITE_PYPI:=p/parso/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://github.com/davidhalter/parso +COMMENT= Python Parser +LICENSE= mit + +USE_LANGUAGES= # none + +.include "../../lang/python/egg.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/lang/py-parso/PLIST b/lang/py-parso/PLIST new file mode 100644 index 00000000000..46990c01bda --- /dev/null +++ b/lang/py-parso/PLIST @@ -0,0 +1,77 @@ +@comment $NetBSD: PLIST,v 1.1 2017/10/16 17:02:14 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}/parso/__init__.py +${PYSITELIB}/parso/__init__.pyc +${PYSITELIB}/parso/__init__.pyo +${PYSITELIB}/parso/_compatibility.py +${PYSITELIB}/parso/_compatibility.pyc +${PYSITELIB}/parso/_compatibility.pyo +${PYSITELIB}/parso/cache.py +${PYSITELIB}/parso/cache.pyc +${PYSITELIB}/parso/cache.pyo +${PYSITELIB}/parso/grammar.py +${PYSITELIB}/parso/grammar.pyc +${PYSITELIB}/parso/grammar.pyo +${PYSITELIB}/parso/normalizer.py +${PYSITELIB}/parso/normalizer.pyc +${PYSITELIB}/parso/normalizer.pyo +${PYSITELIB}/parso/parser.py +${PYSITELIB}/parso/parser.pyc +${PYSITELIB}/parso/parser.pyo +${PYSITELIB}/parso/pgen2/__init__.py +${PYSITELIB}/parso/pgen2/__init__.pyc +${PYSITELIB}/parso/pgen2/__init__.pyo +${PYSITELIB}/parso/pgen2/grammar.py +${PYSITELIB}/parso/pgen2/grammar.pyc +${PYSITELIB}/parso/pgen2/grammar.pyo +${PYSITELIB}/parso/pgen2/parse.py +${PYSITELIB}/parso/pgen2/parse.pyc +${PYSITELIB}/parso/pgen2/parse.pyo +${PYSITELIB}/parso/pgen2/pgen.py +${PYSITELIB}/parso/pgen2/pgen.pyc +${PYSITELIB}/parso/pgen2/pgen.pyo +${PYSITELIB}/parso/python/__init__.py +${PYSITELIB}/parso/python/__init__.pyc +${PYSITELIB}/parso/python/__init__.pyo +${PYSITELIB}/parso/python/diff.py +${PYSITELIB}/parso/python/diff.pyc +${PYSITELIB}/parso/python/diff.pyo +${PYSITELIB}/parso/python/errors.py +${PYSITELIB}/parso/python/errors.pyc +${PYSITELIB}/parso/python/errors.pyo +${PYSITELIB}/parso/python/fstring.py +${PYSITELIB}/parso/python/fstring.pyc +${PYSITELIB}/parso/python/fstring.pyo +${PYSITELIB}/parso/python/grammar26.txt +${PYSITELIB}/parso/python/grammar27.txt +${PYSITELIB}/parso/python/grammar33.txt +${PYSITELIB}/parso/python/grammar34.txt +${PYSITELIB}/parso/python/grammar35.txt +${PYSITELIB}/parso/python/grammar36.txt +${PYSITELIB}/parso/python/parser.py +${PYSITELIB}/parso/python/parser.pyc +${PYSITELIB}/parso/python/parser.pyo +${PYSITELIB}/parso/python/pep8.py +${PYSITELIB}/parso/python/pep8.pyc +${PYSITELIB}/parso/python/pep8.pyo +${PYSITELIB}/parso/python/prefix.py +${PYSITELIB}/parso/python/prefix.pyc +${PYSITELIB}/parso/python/prefix.pyo +${PYSITELIB}/parso/python/token.py +${PYSITELIB}/parso/python/token.pyc +${PYSITELIB}/parso/python/token.pyo +${PYSITELIB}/parso/python/tokenize.py +${PYSITELIB}/parso/python/tokenize.pyc +${PYSITELIB}/parso/python/tokenize.pyo +${PYSITELIB}/parso/python/tree.py +${PYSITELIB}/parso/python/tree.pyc +${PYSITELIB}/parso/python/tree.pyo +${PYSITELIB}/parso/tree.py +${PYSITELIB}/parso/tree.pyc +${PYSITELIB}/parso/tree.pyo +${PYSITELIB}/parso/utils.py +${PYSITELIB}/parso/utils.pyc +${PYSITELIB}/parso/utils.pyo diff --git a/lang/py-parso/distinfo b/lang/py-parso/distinfo new file mode 100644 index 00000000000..851623f68a2 --- /dev/null +++ b/lang/py-parso/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2017/10/16 17:02:14 adam Exp $ + +SHA1 (parso-0.1.0.tar.gz) = c22a0b97443810af0b45e24bf0424f1bd7583800 +RMD160 (parso-0.1.0.tar.gz) = a01b2e40ee094cd55054ce93c7a9dbeb0a839d92 +SHA512 (parso-0.1.0.tar.gz) = e0ab487c717324e03ec4ef57c34268973410f34fecb30786b889c174e8867c304aba1257ee7ed09e1334718680ef931f7ee0e55ce71444c1004eeb1cd5e59ef4 +Size (parso-0.1.0.tar.gz) = 378813 bytes |