mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-16 07:58:04 +00:00
0fef2dde91
used in many of our regression-test targets in python ports Makefiles. Discussed with: koobs
26 lines
587 B
Makefile
26 lines
587 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= pytest
|
|
PORTVERSION= 2.6.1
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= python@FreeBSD.org
|
|
COMMENT= Mature full-featured Python testing tool
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pylib>=1.4.22:${PORTSDIR}/devel/py-pylib
|
|
TEST_DEPENDS:= ${RUN_DEPENDS} \
|
|
${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
regression-test: build
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
|
|
|
|
.include <bsd.port.mk>
|