pkgsrc/devel/py-nose/Makefile

32 lines
819 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.15 2016/08/28 15:48:30 wiz Exp $
DISTNAME= nose-1.3.7
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
2016-06-08 19:43:20 +02:00
MASTER_SITES= ${MASTER_SITE_PYPI:=n/nose/}
2013-02-26 11:24:27 +01:00
EXTRACT_USING= bsdtar
MAINTAINER= kamel.derouiche@gmail.com
2016-07-24 13:56:15 +02:00
HOMEPAGE= https://nose.readthedocs.io/
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
2015-09-30 15:58:15 +02:00
SUBST_CLASSES+= manpath
SUBST_STAGE.manpath= pre-build
SUBST_FILES.manpath= setup.py
SUBST_VARS.manpath= PKGMANDIR
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"