# $FreeBSD: head/devel/py-whichcraft/Makefile 559531 2020-12-28 23:02:12Z antoine $ PORTNAME= whichcraft PORTVERSION= 0.6.1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= matthew@FreeBSD.org COMMENT= Cross-platform cross-python shutil.which functionality LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-cov>=2.1.0:devel/py-pytest-cov@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0.23.0:devel/py-wheel@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes do-test: cd ${WRKSRC} && ${PYTHON_CMD} test_whichcraft.py .include