forked from Lainports/freebsd-ports
- Update PORTVERSION and distinfo checksum (2.8.5) - Add USES zip accordingly (no tar.gz @ PyPI) - Add pytest-xdist to TEST_DEPENDS - Add NO_ARCH - Remove TESTS option and OPTIONS helpers - Update test target to new convention Changes: https://github.com/pytest-dev/pytest/blob/2.8.5/CHANGELOG
29 lines
765 B
Makefile
29 lines
765 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= pytest
|
|
PORTVERSION= 2.8.5
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= python@FreeBSD.org
|
|
COMMENT= Simple powerful testing with Python
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}py>=1.4.29:${PORTSDIR}/devel/py-py
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock \
|
|
${PYTHON_PKGNAMEPREFIX}nose>0:${PORTSDIR}/devel/py-nose \
|
|
${PYTHON_PKGNAMEPREFIX}pexpect>0:${PORTSDIR}/misc/py-pexpect \
|
|
${PYTHON_PKGNAMEPREFIX}pytest-xdist>=1.13:${PORTSDIR}/devel/py-pytest-xdist
|
|
|
|
USES= python zip
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
NO_ARCH= yes
|
|
|
|
do-test:
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
|
|
|
|
.include <bsd.port.mk>
|