mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
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. WWW: https://github.com/davidhalter/parso Reviewed by: mat, sunpoet Approved by: koobs (python) Differential Revision: https://reviews.freebsd.org/D13435
This commit is contained in:
parent
274d91c18e
commit
1ddc565b17
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=456064
4 changed files with 41 additions and 0 deletions
|
@ -1320,6 +1320,7 @@
|
|||
SUBDIR += py-paragrep
|
||||
SUBDIR += py-parsel
|
||||
SUBDIR += py-parsimonious
|
||||
SUBDIR += py-parso
|
||||
SUBDIR += py-pdfminer
|
||||
SUBDIR += py-pss
|
||||
SUBDIR += py-pyPEG2
|
||||
|
|
27
textproc/py-parso/Makefile
Normal file
27
textproc/py-parso/Makefile
Normal file
|
@ -0,0 +1,27 @@
|
|||
# Created by: Richard Gallamore <ultima@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= parso
|
||||
DISTVERSION= 0.1.1
|
||||
CATEGORIES= textproc python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= ultima@FreeBSD.org
|
||||
COMMENT= Python Parser
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
||||
|
||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=3.0.7:devel/py-pytest@${FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pytest-cache>=0:devel/py-pytest-cache@${FLAVOR}
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
do-test:
|
||||
cd ${WRKSRC} && ${PYTHON_CMD} -m pytest test
|
||||
|
||||
.include <bsd.port.mk>
|
3
textproc/py-parso/distinfo
Normal file
3
textproc/py-parso/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1513021535
|
||||
SHA256 (parso-0.1.1.tar.gz) = 5815f3fe254e5665f3c5d6f54f086c2502035cb631a91341591b5a564203cffb
|
||||
SIZE (parso-0.1.1.tar.gz) = 379443
|
10
textproc/py-parso/pkg-descr
Normal file
10
textproc/py-parso/pkg-descr
Normal file
|
@ -0,0 +1,10 @@
|
|||
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.
|
||||
|
||||
WWW: https://github.com/davidhalter/parso
|
Loading…
Add table
Reference in a new issue