aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/py-parso/Makefile
blob: e7b4d3f7475efd4651a3da270435ba031d433685 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Created by: Richard Gallamore <ultima@FreeBSD.org>
# $FreeBSD$

PORTNAME=   parso
DISTVERSION=    0.2.0
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>