Changeset View
Changeset View
Standalone View
Standalone View
head/devel/py-nose/Makefile
# Created by: Dryice Liu <dryice@dryice.name> | # Created by: Dryice Liu <dryice@dryice.name> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= nose | PORTNAME= nose | ||||
PORTVERSION= 1.3.7 | PORTVERSION= 1.3.7 | ||||
CATEGORIES= devel python | CATEGORIES= devel python | ||||
MASTER_SITES= CHEESESHOP | MASTER_SITES= CHEESESHOP | ||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} | PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} | ||||
MAINTAINER= koobs@FreeBSD.org | MAINTAINER= koobs@FreeBSD.org | ||||
COMMENT= Discovery-based unittest extension | COMMENT= Discovery-based unittest extension | ||||
LICENSE= LGPL21 | LICENSE= LGPL21 | ||||
LICENSE_FILE= ${WRKSRC}/lgpl.txt | LICENSE_FILE= ${WRKSRC}/lgpl.txt | ||||
USES= python | USES?= python | ||||
USE_PYTHON= autoplist concurrent distutils | USE_PYTHON= autoplist concurrent distutils | ||||
.include <bsd.port.pre.mk> | .include <bsd.port.pre.mk> | ||||
regression-test: build | regression-test: build | ||||
# Extra tests for python 3, added in by setup3lib.py | # Extra tests for python 3, added in by setup3lib.py | ||||
.if ${PYTHON_REL} >= 3000 | .if ${PYTHON_REL} >= 3000 | ||||
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} build_tests | @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} build_tests | ||||
.endif | .endif | ||||
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test | @cd ${WRKSRC} && ${PYTHON_CMD} selftest.py | ||||
.include <bsd.port.post.mk> | .include <bsd.port.post.mk> |