28 lines
872 B
Makefile
28 lines
872 B
Makefile
PORTNAME= pytest-trio
|
|
PORTVERSION= 0.7.0
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
COMMENT= Pytest plugin for trio
|
|
|
|
LICENSE= MIT APACHE20
|
|
LICENSE_COMB= dual
|
|
LICENSE_FILE_MIT= ${WRKSRC}/LICENSE.MIT
|
|
LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE.APACHE2
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}trio>=0:net/py-trio@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}async_generator>=0:devel/py-async_generator@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}outcome>=0:devel/py-outcome@${PY_FLAVOR}
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hypothesis>=0:devel/py-hypothesis@${PY_FLAVOR}
|
|
|
|
USES= python:3.6+
|
|
USE_PYTHON= autoplist distutils
|
|
NO_ARCH= yes
|
|
|
|
do-test:
|
|
@cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs
|
|
|
|
.include <bsd.port.mk>
|