6816d793d3
- Update to 1.3.0 - Update pkg-plist - Use regression-test: target - Whitespace alignment - Mute cd to WRKSRC Changes: https://github.com/nose-devs/nose/blob/release_1.3.0/CHANGELOG PR: ports/178962 Approved by: nivit (maintainer, via email)
37 lines
742 B
Makefile
37 lines
742 B
Makefile
# Created by: Dryice Liu <dryice@dryice.name>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= nose
|
|
PORTVERSION= 1.3.0
|
|
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
|
|
|
|
regression-test: build
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} selftest.py
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PYTHON_REL} >= 320
|
|
.include "${PORTSDIR}/devel/py-virtualenv/files/py3k-fix-pkg-plist.inc"
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|