1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/devel/py-nose/Makefile
Ruslan Makhmatkhanov c3fbc25e68 - update to 1.2.1
- add license (LGPL21)
- add test: target
- update pkg-plist

PR:		172161
Submitted by:	Kubilay Kocak <koobs.freebsd at gmail dot com>
Approved by:	nivit (maintainer, by mail)
Feature safe:	yes
2012-10-24 12:42:34 +00:00

38 lines
729 B
Makefile

# Created by: Dryice Liu <dryice@dryice.name>
# $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 <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>