diff options
author | obache <obache@pkgsrc.org> | 2014-12-13 08:43:37 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2014-12-13 08:43:37 +0000 |
commit | ed7e80ab98fe20d5330217caa266ebfa413b71c6 (patch) | |
tree | 359e92c4347cdd2f7b129cf9acb19f09372944ae /devel | |
parent | afd04974bce98cb39d1d956badbfb0a9320c6aae (diff) | |
download | pkgsrc-ed7e80ab98fe20d5330217caa266ebfa413b71c6.tar.gz |
Update py-testtools to 1.5.0.
1.5.0
~~~~~
Improvements
------------
* When an import error happens ``testtools.run`` will now show the full
error rather than just the name of the module that failed to import.
(Robert Collins)
1.4.0
~~~~~
Changes
-------
* ``testtools.TestCase`` now inherits from unittest2.TestCase, which
provides a ``setUpClass`` for upcalls on Python 2.6.
(Robert Collins, #1393283)
1.3.0
~~~~~
Changes
-------
* Fixed our setup.py to use setup_requires to ensure the import dependencies
for testtools are present before setup.py runs (as setup.py imports testtools
to read out the version number). (Robert Collins)
* Support setUpClass skipping with self.skipException. Previously this worked
with unittest from 2.7 and above but was not supported by testtools - it was
a happy accident. Since we now hard depend on unittest2, we need to invert
our exception lookup priorities to support it. Regular skips done through
raise self.skipException will continue to work, since they were always caught
in our code - its because the suite type being used to implement setUpClass
has changed that an issue occured.
(Robert Collins, #1393068)
1.2.1
~~~~~
Changes
-------
* Correctly express our unittest2 dependency: we don't work with old releases.
(Robert Collins)
1.2.0
~~~~~
Changes
-------
* Depends on unittest2 for discovery functionality and the ``TestProgram`` base
class. This brings in many fixes made to discovery where previously we were
only using the discovery package or the version in the release of Python
that the test execution was occuring on. (Robert Collins, #1271133)
* Fixed unit tests which were failing under pypy due to a change in the way
pypy formats tracebacks. (Thomi Richards)
* Fixed the testtools test suite to run correctly when run via ``unit2``
or ``testtools.run discover``.
* Make `testtools.content.text_content` error if anything other than text
is given as content. (Thomi Richards)
* We now publish wheels of testtools. (Robert Collins, #issue84)
1.1.0
~~~~~
Improvements
------------
* Exceptions in a ``fixture.getDetails`` method will no longer mask errors
raised from the same fixture's ``setUp`` method.
(Robert Collins, #1368440)
Diffstat (limited to 'devel')
-rw-r--r-- | devel/py-testtools/Makefile | 8 | ||||
-rw-r--r-- | devel/py-testtools/distinfo | 8 |
2 files changed, 10 insertions, 6 deletions
diff --git a/devel/py-testtools/Makefile b/devel/py-testtools/Makefile index f958185b021..0c91d9a6226 100644 --- a/devel/py-testtools/Makefile +++ b/devel/py-testtools/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.12 2014/09/10 09:01:49 obache Exp $ +# $NetBSD: Makefile,v 1.13 2014/12/13 08:43:37 obache Exp $ -DISTNAME= testtools-1.0.0 +DISTNAME= testtools-1.5.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= devel MASTER_SITES= https://pypi.python.org/packages/source/t/testtools/ @@ -10,6 +10,10 @@ HOMEPAGE= https://github.com/testing-cabal/testtools COMMENT= Extensions to the Python standard library unit testing framework LICENSE= mit AND python-software-foundation +DEPENDS+= ${PYPKGPREFIX}-extras-[0-9]*:../../devel/py-extras +DEPENDS+= ${PYPKGPREFIX}-python-mimeparse-[0-9]*:../../www/py-python-mimeparse +DEPENDS+= ${PYPKGPREFIX}-unittest2>=0.8.0:../../devel/py-unittest2 + USE_LANGUAGES= # none .include "../../lang/python/egg.mk" diff --git a/devel/py-testtools/distinfo b/devel/py-testtools/distinfo index 986ed1da281..af01eeb3140 100644 --- a/devel/py-testtools/distinfo +++ b/devel/py-testtools/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.8 2014/09/10 09:01:49 obache Exp $ +$NetBSD: distinfo,v 1.9 2014/12/13 08:43:37 obache Exp $ -SHA1 (testtools-1.0.0.tar.gz) = ae1d8dc7ea88437102e4f73e7ff58607480fa9ee -RMD160 (testtools-1.0.0.tar.gz) = 399b9366d3bb9db107227d04bd601c65d9e8f930 -Size (testtools-1.0.0.tar.gz) = 206579 bytes +SHA1 (testtools-1.5.0.tar.gz) = cbde81985e8deb144282d1a4b6c584f83f1346d3 +RMD160 (testtools-1.5.0.tar.gz) = ba59549a6381a5875aa2dba65f8e48769a720392 +Size (testtools-1.5.0.tar.gz) = 205197 bytes |