2013-02-26 11:24:27 +01:00
|
|
|
# $NetBSD: Makefile,v 1.7 2013/02/26 10:24:27 joerg Exp $
|
2010-01-26 18:43:14 +01:00
|
|
|
#
|
|
|
|
|
2012-02-17 19:30:23 +01:00
|
|
|
DISTNAME= nose-1.1.2
|
2010-01-26 18:43:14 +01:00
|
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
|
|
CATEGORIES= devel python
|
|
|
|
#MASTER_SITES= http://python-nose.googlecode.com/files/
|
2012-02-17 19:30:23 +01:00
|
|
|
#MASTER_SITES= http://somethingaboutorange.com/mrl/projects/nose/
|
|
|
|
MASTER_SITES= http://pypi.python.org/packages/source/n/nose/
|
2013-02-26 11:24:27 +01:00
|
|
|
EXTRACT_USING= bsdtar
|
2010-01-26 18:43:14 +01:00
|
|
|
|
|
|
|
MAINTAINER= kamel.derouiche@gmail.com
|
|
|
|
HOMEPAGE= http://code.google.com/p/python-nose/
|
|
|
|
COMMENT= Unittest-based testing framework for python
|
|
|
|
LICENSE= gnu-lgpl-v2.1
|
|
|
|
|
|
|
|
# only needed for a plugin
|
|
|
|
#DEPENDS+= ${PYPKGPREFIX}-coverage>=3.0:../../devel/py-coverage
|
|
|
|
|
|
|
|
USE_LANGUAGES= # none
|
2012-08-16 17:07:42 +02:00
|
|
|
PYTHON_VERSIONS_INCLUDE_3X= yes
|
2010-02-10 11:31:46 +01:00
|
|
|
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
${MV} ${WRKSRC}/nosetests.1 ${WRKSRC}/nosetests${PYVERSSUFFIX}.1
|
2010-01-26 18:43:14 +01:00
|
|
|
|
2010-04-19 13:40:16 +02:00
|
|
|
do-test:
|
|
|
|
${RUN} cd ${WRKSRC}; ${SETENV} ${TEST_ENV} ${PYTHONBIN} selftest.py
|
|
|
|
|
2010-01-26 18:43:14 +01:00
|
|
|
.include "../../lang/python/egg.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|