summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorobache <obache>2010-04-19 11:40:16 +0000
committerobache <obache>2010-04-19 11:40:16 +0000
commit7f2dd10d9c77a58d469a32a8100ff84678a12406 (patch)
treea3584209e531ed39cbdf1ae0c4f5d62ab055a59c /devel
parentccf7e4fc9c85281405987dd11c400b2c6a06bb12 (diff)
downloadpkgsrc-7f2dd10d9c77a58d469a32a8100ff84678a12406.tar.gz
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).
Diffstat (limited to 'devel')
-rw-r--r--devel/py-nose/Makefile7
-rw-r--r--devel/py-nose/distinfo10
-rw-r--r--devel/py-nose/patches/patch-aa6
3 files changed, 13 insertions, 10 deletions
diff --git a/devel/py-nose/Makefile b/devel/py-nose/Makefile
index 8c85fdda6df..3fcfbcb9e2c 100644
--- a/devel/py-nose/Makefile
+++ b/devel/py-nose/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2010/02/10 10:31:46 drochner Exp $
+# $NetBSD: Makefile,v 1.3 2010/04/19 11:40:16 obache Exp $
#
-DISTNAME= nose-0.11.1
+DISTNAME= nose-0.11.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
#MASTER_SITES= http://python-nose.googlecode.com/files/
@@ -23,5 +23,8 @@ PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
post-extract:
${MV} ${WRKSRC}/nosetests.1 ${WRKSRC}/nosetests${PYVERSSUFFIX}.1
+do-test:
+ ${RUN} cd ${WRKSRC}; ${SETENV} ${TEST_ENV} ${PYTHONBIN} selftest.py
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/py-nose/distinfo b/devel/py-nose/distinfo
index 364a17846c4..f5f30025e41 100644
--- a/devel/py-nose/distinfo
+++ b/devel/py-nose/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2010/02/10 10:31:46 drochner Exp $
+$NetBSD: distinfo,v 1.3 2010/04/19 11:40:16 obache Exp $
-SHA1 (nose-0.11.1.tar.gz) = 696530bb81d04d57277b1c8ca554739e98cc7652
-RMD160 (nose-0.11.1.tar.gz) = 3a3aa22fd1f1647d4cd9ad2374dca3c58ca78e22
-Size (nose-0.11.1.tar.gz) = 250343 bytes
-SHA1 (patch-aa) = 328246aebf1f0bf5c73c920f573d943a48b4e8ff
+SHA1 (nose-0.11.3.tar.gz) = 37c03a5b9738575e25ef99a5ca3b021f66c53421
+RMD160 (nose-0.11.3.tar.gz) = 9f5e93d9bcfa2f294f97f6a5c31e462eb13e43e2
+Size (nose-0.11.3.tar.gz) = 256723 bytes
+SHA1 (patch-aa) = 6a48d1e0661eeaf5aa6600f1c3fa9369b3ab1e91
diff --git a/devel/py-nose/patches/patch-aa b/devel/py-nose/patches/patch-aa
index 0c7cb97221e..7cdede6492e 100644
--- a/devel/py-nose/patches/patch-aa
+++ b/devel/py-nose/patches/patch-aa
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.1 2010/02/10 10:31:46 drochner Exp $
+$NetBSD: patch-aa,v 1.2 2010/04/19 11:40:16 obache Exp $
---- setup.py.orig 2009-05-14 00:28:39.000000000 +0000
+--- setup.py.orig 2010-03-05 20:32:00.000000000 +0000
+++ setup.py
@@ -10,7 +10,7 @@ try:
packages = find_packages(),
@@ -11,7 +11,7 @@ $NetBSD: patch-aa,v 1.1 2010/02/10 10:31:46 drochner Exp $
'nosetests%s = nose:run_exit' % py_vers_tag,
],
'distutils.commands': [
-@@ -59,7 +59,7 @@ setup(
+@@ -85,7 +85,7 @@ setup(
download_url = \
'http://somethingaboutorange.com/mrl/projects/nose/nose-%s.tar.gz' \
% VERSION,