debian/0000755000000000000000000000000011673130664007175 5ustar debian/changelog0000644000000000000000000000153311673130531011042 0ustar unittest2 (0.5.1-1ubuntu1) precise; urgency=low * Build using dh_python2 -- Matthias Klose Sat, 17 Dec 2011 15:12:25 +0000 unittest2 (0.5.1-1) unstable; urgency=low * New upstream release -- Sandro Tosi Tue, 13 Jul 2010 00:11:34 +0200 unittest2 (0.5.0-1) unstable; urgency=low * New upstream release * debian/watch - use only numbers and dots for version matching * debian/control - bump Standards-Version to 3.9.0 (no changes needed) -- Sandro Tosi Mon, 12 Jul 2010 20:47:28 +0200 unittest2 (0.4.2-1) unstable; urgency=low * New upstream release -- Sandro Tosi Sat, 12 Jun 2010 09:39:12 +0200 unittest2 (0.4.1-1) unstable; urgency=low * Initial release (Closes: #580895) -- Sandro Tosi Mon, 10 May 2010 21:23:41 +0200 debian/rules0000755000000000000000000000170411673130660010253 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 PYVERS:=$(shell pyversions -s) %: dh $@ --with=python2 override_dh_auto_install: dh_auto_install # it's just 'unit2' but it's targetted to windows systems rm $(CURDIR)/debian/python-unittest2/usr/bin/unit2.py override_dh_auto_test: for python in $(PYVERS) ; do \ # retrive the lib path \ LIB=$$($$python -c "from distutils.command.build import build ; from distutils.core import Distribution ; b = build(Distribution()) ; b.finalize_options() ; print b.build_purelib") ; \ # retrieve the script path \ SCRIPT=$$($$python -c "from distutils.command.build import build ; from distutils.core import Distribution ; b = build(Distribution()) ; b.finalize_options() ; print b.build_scripts") ; \ # call the unit2 test script discovering the current LIB dir \ PYTHONPATH=$$LIB $$python $$SCRIPT/unit2 discover -s $$LIB ; \ done debian/control0000644000000000000000000000222211673130557010577 0ustar Source: unittest2 Section: python Priority: optional Maintainer: Debian Python Modules Team Uploaders: Sandro Tosi Build-Depends: debhelper (>= 7.4.2) Build-Depends-Indep: python-all (>= 2.6.6-3~) Standards-Version: 3.9.0 X-Python-Version: all Homepage: http://pypi.python.org/pypi/unittest2 Vcs-Svn: svn://svn.debian.org/svn/python-modules/packages/unittest2/trunk/ Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/unittest2/trunk/ Package: python-unittest2 Architecture: all Depends: ${python:Depends}, ${misc:Depends} Description: backport of the enhanced unittest testing framework in Python 2.7 unittest2 is an enhanced version of unittest including a standard test runner (automatic test discovery), class and module level fixtures (``setUpClass`` / ``setUpModule`` etc), many powerful new assert methods, better resource management with ``addCleanups`` and a host of other new features. These new features are *all* going into the Python version of unittest in Python 2.7 and Python 3.2. The point of unittest2 is that it works with Python 2.4 - 2.6; you can use it now. debian/copyright0000644000000000000000000000304011372041714011116 0ustar This work was packaged for Debian by: Sandro Tosi on Sun, 09 May 2010 18:38:34 +0200 It was downloaded from: http://pypi.python.org/pypi/unittest2 Upstream Author(s): Michael Foord Copyright: Copyright (c) 1999-2003 Steve Purcell Copyright (c) 2003-2010 Python Software Foundation License: This module is free software, and you may redistribute it and/or modify it under the same terms as Python itself, so long as this copyright message and disclaimer are retained in their original form. IN NO EVENT SHALL THE AUTHOR BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF THIS CODE, EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. THE AUTHOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. The Debian packaging is: Copyright (C) 2010 Sandro Tosi and is licensed under the same terms as of upstream code. This file has a different license and copyright notices: setup.py: # Copyright (C) 2010 Michael Foord # This software is licensed under the terms of the BSD license. # http://www.voidspace.org.uk/python/license.shtml debian/source/0000755000000000000000000000000011416711574010475 5ustar debian/source/format0000644000000000000000000000001411372042426011675 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000013311416656356010231 0ustar version=3 http://pypi.python.org/packages/source/u/unittest2/unittest2-([0-9.]*)\.tar\.gz debian/compat0000644000000000000000000000000211372041714010364 0ustar 7 debian/docs0000644000000000000000000000001311372041714010033 0ustar README.txt