aboutsummaryrefslogblamecommitdiff
path: root/textproc/py-parso/Makefile
blob: 877df34d88f24dc29f73dde4985dc3221d72f3c5 (plain) (tree)
1
2
3
4
5
6
7
8
9
                     
                     
                               
                    



                                       
                                                    



                                     
                                                                                      
                                                                             
 

                                   







                                                            
PORTNAME=	parso
DISTVERSION=	0.8.3
CATEGORIES=	textproc python
MASTER_SITES=	PYPI
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	ultima@FreeBSD.org
COMMENT=	Python Parser
WWW=		https://github.com/davidhalter/parso

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE.txt

TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest4<6.0.0,1:devel/py-pytest4@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}docopt>=0:devel/py-docopt@${PY_FLAVOR}

USES=		cpe python:3.6+
CPE_VENDOR=	${PORTNAME}_project
USE_PYTHON=	autoplist distutils

NO_ARCH=	yes

do-test:
		cd ${WRKSRC} && ${PYTHON_CMD} -m pytest test

.include <bsd.port.mk>