openbsd-ports/devel/py-parso/Makefile
shadchin 2c61610138 Import py-parso 0.3.1, from Elias M. Mariani <marianielias A gmail D com>
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@
2018-07-15 22:38:58 +00:00

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>