86615de50d
- update my email address to loader@FreeBSD.org. Approved by: danfe Differential Revision: https://reviews.freebsd.org/D3612
31 lines
817 B
Makefile
31 lines
817 B
Makefile
# Created by: Fukang Chen <loader@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pytest-cache
|
|
PORTVERSION= 1.0
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= loader@FreeBSD.org
|
|
COMMENT= Pytest plugin with mechanisms for caching across test runs
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=2.2:${PORTSDIR}/devel/py-pytest \
|
|
${PYTHON_PKGNAMEPREFIX}execnet>=1.2:${PORTSDIR}/sysutils/py-execnet
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:${PORTSDIR}/devel/py-pytest
|
|
|
|
OPTIONS_DEFINE= TESTS
|
|
|
|
TESTS_DESC= Install test suite requirements
|
|
TESTS_BUILD_DEPENDS= ${TEST_DEPENDS}
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
regression-test: build
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
|
|
|
|
.include <bsd.port.mk>
|