# Created by: Po-Chuan Hsieh # $FreeBSD: head/devel/py-flit-core/Makefile 547918 2020-09-07 18:11:22Z sunpoet $ PORTNAME= flit-core PORTVERSION= 3.0.0 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 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytoml>=0:textproc/py-pytoml@${PY_FLAVOR} 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: @${CP} ${FILESDIR}/setup.py ${WRKSRC} do-test: cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v .include