mirror of
https://git.freebsd.org/ports.git
synced 2025-05-29 17:36:28 -04:00
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
27 lines
593 B
Makefile
27 lines
593 B
Makefile
# 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>
|