pkgsrc/devel/py-nose/Makefile

32 lines
929 B
Makefile
Raw Normal View History

2013-02-26 11:24:27 +01:00
# $NetBSD: Makefile,v 1.7 2013/02/26 10:24:27 joerg Exp $
#
DISTNAME= nose-1.1.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
#MASTER_SITES= http://python-nose.googlecode.com/files/
#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
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
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
post-extract:
${MV} ${WRKSRC}/nosetests.1 ${WRKSRC}/nosetests${PYVERSSUFFIX}.1
Update py-nose to 0.11.3. Based on PR#43174 from Wen Heping. While here, define self test target. 0.11.3 - Fixed default plugin manager's use of plugin overriding. Thanks to rob.daylife for the bug report and patch. (#323). 0.11.2 - Changed plugin loading so that external plugins loaded via extension points can override builtin plugins with the same name. - Updated multiprocess plugin and nose's packaging to allow multiprocess plugin to work on Windows (#265). - Fixed bug in xunit plugin's interaction with suites and errors in module-level setup. Thanks to Mark McCague for the bug report (#279). - Fixed bug in nose.loader.TestLoader that allowed Test classes that raise exceptions in __init__ to crash the test run (#269). - Fixed bugs in nose's test suite that caused spurious failures on Windows. - Fixed bug in twisted tools: delayed calls were not shut down on reactor stop. Thanks to abbeyj for the patch (#278). - Fixed bug where root log handlers were not cleared. For example, this was emitting unwanted messages when testing Google App Engine websites. - Fixed bug in test names output by xunit plugin. Thanks to Philip Jenvey for the bug report and patch (#280). - Fixed bug in profile plugin that caused stats to fail to print under Python 2.5 and later. Thanks to djs at n-cube dot org for the bug report (#285). - Improved logcapture filtering, with default setting to filter out log messages from nose itself. Thanks to gfxmonk for the patch (#277). - The xunit plugin now tags skipped tests with a <skipped> testcase tag, and prevents the XML from containing invalid control characters. - Updated nose to be compatible with python 2.7 (#305). - Updated loading of usage document to allow nose to run from within an egg archive (#288). - Fixed IronPython checks to make nose compatible with more versions of IronPython. Thanks to Kevin Mitchell for the patch (#316).
2010-04-19 13:40:16 +02:00
do-test:
${RUN} cd ${WRKSRC}; ${SETENV} ${TEST_ENV} ${PYTHONBIN} selftest.py
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"