# Created by: Richard Gallamore # $FreeBSD: head/textproc/py-pyhamcrest/Makefile 559531 2020-12-28 23:02:12Z antoine $ PORTNAME= PyHamcrest DISTVERSIONPREFIX= V DISTVERSION= 2.0.2 CATEGORIES= textproc python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ultima@FreeBSD.org COMMENT= Hamcrest matchers for Python LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hypothesis>=1.11:devel/py-hypothesis@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest>=2.8:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist distutils USE_GITHUB= yes GH_ACCOUNT= hamcrest NO_ARCH= yes do-test: (cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test) .include