pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang Parso is a Python parser that supports error reco...
details: https://anonhg.NetBSD.org/pkgsrc/rev/cac6b5693d84
branches: trunk
changeset: 370391:cac6b5693d84
user: adam <adam%pkgsrc.org@localhost>
date: Mon Oct 16 17:01:50 2017 +0000
description:
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:
lang/Makefile | 3 +-
lang/py-parso/DESCR | 8 +++++
lang/py-parso/Makefile | 16 ++++++++++
lang/py-parso/PLIST | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++
lang/py-parso/distinfo | 6 +++
5 files changed, 109 insertions(+), 1 deletions(-)
diffs (140 lines):
diff -r 67815cd44f75 -r cac6b5693d84 lang/Makefile
--- a/lang/Makefile Mon Oct 16 16:57:10 2017 +0000
+++ b/lang/Makefile Mon Oct 16 17:01:50 2017 +0000
@@ -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-hy
SUBDIR+= py-js2py
SUBDIR+= py-jsparser
+SUBDIR+= py-parso
SUBDIR+= py-pyrex
SUBDIR+= py-pythonz
SUBDIR+= py-six
diff -r 67815cd44f75 -r cac6b5693d84 lang/py-parso/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/py-parso/DESCR Mon Oct 16 17:01:50 2017 +0000
@@ -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 -r 67815cd44f75 -r cac6b5693d84 lang/py-parso/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/py-parso/Makefile Mon Oct 16 17:01:50 2017 +0000
@@ -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@localhost
+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 -r 67815cd44f75 -r cac6b5693d84 lang/py-parso/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/py-parso/PLIST Mon Oct 16 17:01:50 2017 +0000
@@ -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 -r 67815cd44f75 -r cac6b5693d84 lang/py-parso/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/py-parso/distinfo Mon Oct 16 17:01:50 2017 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index