freebsd-ports/devel/py-pytest/Makefile
Ruslan Makhmatkhanov 60d41af280 - update to 2.3.2
- align whitespace, reorder PLIST_SUB
- add TEST_DEPENDS
- add regression-test target (discussed with hpk@upstream)

while here:
- trim Makefile header
- fix packing list with python32
- tab -> space change in pkg-plist:WWW

PR:		172920 (based on)
Submitted by:	Kubilay Kocak <koobs.freebsd at gmail dot com>
Feature safe:	yes
2012-10-29 20:51:08 +00:00

35 lines
731 B
Makefile

# $FreeBSD$
PORTNAME= pytest
PORTVERSION= 2.3.2
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= rm@FreeBSD.org
COMMENT= Cross-project testing tool for Python
LICENSE= MIT
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pylib>=1.4.8:${PORTSDIR}/devel/py-pylib
# Python 3 ready
USE_PYTHON= yes
USE_PYDISTUTILS= easy_install
USE_ZIP= yes
PLIST_SUB+= PYTHON_VER=${PYTHON_VER}
TEST_DEPENDS:= ${RUN_DEPENDS}
regression-test: build
@cd ${WRKSRC} && PYTHONPATH=${WRKSRC} ${PYTHON_CMD} pytest.py --ignore=doc/ja
.include <bsd.port.pre.mk>
post-install:
.if ${PYTHON_REL} >= 320
.include "${PORTSDIR}/devel/py-virtualenv/files/py3k-fix-pkg-plist.inc"
.endif
.include <bsd.port.post.mk>