# Created by: Dryice Liu # $FreeBSD$ PORTNAME= nose PORTVERSION= 1.2.1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= nivit@FreeBSD.org COMMENT= Discovery-based unittest extension LICENSE= LGPL21 # Python3 ready USE_PYTHON= yes USE_PYDISTUTILS= easy_install PLIST_SUB+= PYTHON_VER=${PYTHON_VER} .if !defined(NO_INSTALL_MANPAGES) MAN1= nosetests.1 post-install: ${INSTALL_MAN} ${WRKSRC}/nosetests.1 ${MANPREFIX}/man/man1 .endif test: build cd ${WRKSRC} && ${PYTHON_CMD} selftest.py .include .if ${PYTHON_REL} >= 320 .include "${PORTSDIR}/devel/py-virtualenv/files/py3k-fix-pkg-plist.inc" .endif .include