2c61610138
Parso is a Python parser that supports error recovery and round-trip parsing for different Python versions. Parso is also able to list multiple syntax errors in your python file. ok bcallah@
32 lines
577 B
Makefile
32 lines
577 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2018/07/15 22:38:58 shadchin Exp $
|
|
|
|
COMMENT = python parser
|
|
|
|
MODPY_EGG_VERSION = 0.3.1
|
|
DISTNAME = parso-${MODPY_EGG_VERSION}
|
|
PKGNAME = py-${DISTNAME}
|
|
|
|
CATEGORIES = devel
|
|
|
|
HOMEPAGE = https://parso.readthedocs.org
|
|
|
|
MAINTAINER = Elias M. Mariani <marianielias@gmail.com>
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
MODULES = lang/python
|
|
|
|
MODPY_PI = Yes
|
|
MODPY_SETUPTOOLS = Yes
|
|
|
|
TEST_DEPENDS = devel/py-test${MODPY_FLAVOR}
|
|
|
|
FLAVORS = python3
|
|
FLAVOR ?=
|
|
|
|
do-test:
|
|
cd ${WRKSRC} && ${MODPY_BIN} -m pytest ${TEST_ARGS} parso test
|
|
|
|
.include <bsd.port.mk>
|