pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-testtools Update py-testtools to 1.5.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f0212a99037c
branches:  trunk
changeset: 643269:f0212a99037c
user:      obache <obache%pkgsrc.org@localhost>
date:      Sat Dec 13 08:43:37 2014 +0000

description:
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:

 devel/py-testtools/Makefile |  8 ++++++--
 devel/py-testtools/distinfo |  8 ++++----
 2 files changed, 10 insertions(+), 6 deletions(-)

diffs (36 lines):

diff -r 355f37471482 -r f0212a99037c devel/py-testtools/Makefile
--- a/devel/py-testtools/Makefile       Sat Dec 13 08:36:16 2014 +0000
+++ b/devel/py-testtools/Makefile       Sat Dec 13 08:43:37 2014 +0000
@@ -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 @@
 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 -r 355f37471482 -r f0212a99037c devel/py-testtools/distinfo
--- a/devel/py-testtools/distinfo       Sat Dec 13 08:36:16 2014 +0000
+++ b/devel/py-testtools/distinfo       Sat Dec 13 08:43:37 2014 +0000
@@ -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



Home | Main Index | Thread Index | Old Index