# Created by: Po-Chuan Hsieh PORTNAME= flit-core PORTVERSION= 3.7.1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= flit_core-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Distribution-building parts of Flit LICENSE= BSD3CLAUSE TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}testpath>=0:devel/py-testpath@${PY_FLAVOR} USES= python:3.4+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes post-patch: @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py do-test: cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v .include