freebsd-ports/devel/py-pytest-cache/Makefile
Fukang Chen bbcdb8178e [NEW] devel/py-pytest-cache: Pytest plugin with mechanisms for
caching across test runs

pytest plugin with mechanisms for caching across test runs.

WWW: https://bitbucket.org/hpk42/pytest-cache/

PR: 199774
Approved by: koobs
Differential Revision: https://reviews.freebsd.org/D2996
2015-07-05 17:17:11 +00:00

31 lines
780 B
Makefile

# Created by: loader <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} && py.test
.include <bsd.port.mk>