1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/devel/py-nose/Makefile
Baptiste Daroussin d8ff4576a2 Modernize python
2014-08-29 14:36:24 +00:00

29 lines
639 B
Makefile

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