[Python-modules-commits] r31942 - in packages/unittest2/trunk/debian (8 files)
zyga-guest at users.alioth.debian.org
zyga-guest at users.alioth.debian.org
Wed Mar 4 14:23:38 UTC 2015
Date: Wednesday, March 4, 2015 @ 14:23:37
Author: zyga-guest
Revision: 31942
* Team upload.
* Update Standards-Version to 3.9.6 (no change required)
* Correct debian/copyright license on setup.py (BSD-3-clause)
* Correct debian/copyright license on unittest2 (Python)
* Update debian/copyright with my changes to debian/*
* Add missing dependency on python-pkg-resources (for unit2 executable)
* Add autopackage tests
* Add a simple manual page for unit2(1)
Added:
packages/unittest2/trunk/debian/python-unittest2.manpages
packages/unittest2/trunk/debian/tests/
packages/unittest2/trunk/debian/tests/control
packages/unittest2/trunk/debian/tests/unit-tests
packages/unittest2/trunk/debian/unit2.1
Modified:
packages/unittest2/trunk/debian/changelog
packages/unittest2/trunk/debian/control
packages/unittest2/trunk/debian/copyright
Modified: packages/unittest2/trunk/debian/changelog
===================================================================
--- packages/unittest2/trunk/debian/changelog 2015-03-04 13:24:06 UTC (rev 31941)
+++ packages/unittest2/trunk/debian/changelog 2015-03-04 14:23:37 UTC (rev 31942)
@@ -1,5 +1,6 @@
unittest2 (0.8.0-1) UNRELEASED; urgency=low
+ * Team upload.
[ Jakub Wilk ]
* Use canonical URIs for Vcs-* fields.
* Run tests only if DEB_BUILD_OPTIONS=nocheck is not set.
@@ -17,8 +18,15 @@
* Use wrap-and-sort on everything
* New upstream release
* Port to pybuild
+ * Update Standards-Version to 3.9.6 (no change required)
+ * Correct debian/copyright license on setup.py (BSD-3-clause)
+ * Correct debian/copyright license on unittest2 (Python)
+ * Update debian/copyright with my changes to debian/*
+ * Add missing dependency on python-pkg-resources (for unit2 executable)
+ * Add autopackage tests
+ * Add a simple manual page for unit2(1)
- -- Zygmunt Krynicki <zygmunt.krynicki at canonical.com> Wed, 04 Mar 2015 14:20:03 +0100
+ -- Zygmunt Krynicki <zygmunt.krynicki at canonical.com> Wed, 04 Mar 2015 15:11:04 +0100
unittest2 (0.5.1-1) unstable; urgency=low
Modified: packages/unittest2/trunk/debian/control
===================================================================
--- packages/unittest2/trunk/debian/control 2015-03-04 13:24:06 UTC (rev 31941)
+++ packages/unittest2/trunk/debian/control 2015-03-04 14:23:37 UTC (rev 31942)
@@ -4,16 +4,17 @@
Maintainer: Sandro Tosi <morph at debian.org>
Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
Build-Depends: debhelper (>= 7.4.2), dh-python
-Build-Depends-Indep: python-all, python-setuptools, python-six
-Standards-Version: 3.9.5
+Build-Depends-Indep: python-all, python-setuptools, python-pkg-resources, python-six
+Standards-Version: 3.9.6
XS-Python-Version: all
Homepage: http://pypi.python.org/pypi/unittest2
Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/unittest2/trunk/
Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/unittest2/trunk/
+XS-Testsuite: autopkgtest
Package: python-unittest2
Architecture: all
-Depends: ${misc:Depends}, ${python:Depends}
+Depends: ${misc:Depends}, ${python:Depends}, python-pkg-resources
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
Modified: packages/unittest2/trunk/debian/copyright
===================================================================
--- packages/unittest2/trunk/debian/copyright 2015-03-04 13:24:06 UTC (rev 31941)
+++ packages/unittest2/trunk/debian/copyright 2015-03-04 14:23:37 UTC (rev 31942)
@@ -6,13 +6,15 @@
Copyright:
Copyright (c) 1999-2003 Steve Purcell
Copyright (c) 2003-2010 Python Software Foundation
-License: Python License
+License: Python
Files: debian/*
-Copyright: Copyright (C) 2010-2014 Sandro Tosi <morph at debian.org>
-License: Python License
+Copyright:
+ Copyright (C) 2010-2014 Sandro Tosi <morph at debian.org>
+ Copyright (C) 2015 Zygmunt Krynicki <zygmunt.krynicki at canonical.com>
+License: Python
-License: Python License
+License: Python
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.
@@ -30,6 +32,6 @@
Files: setup.py
copyright: Copyright (C) 2010 Michael Foord <fuzzyman at voidspace.org.uk>
-License: BSD
+License: BSD-3-clause
This software is licensed under the terms of the BSD license
http://www.voidspace.org.uk/python/license.shtml
Added: packages/unittest2/trunk/debian/python-unittest2.manpages
===================================================================
--- packages/unittest2/trunk/debian/python-unittest2.manpages (rev 0)
+++ packages/unittest2/trunk/debian/python-unittest2.manpages 2015-03-04 14:23:37 UTC (rev 31942)
@@ -0,0 +1 @@
+debian/unit2.1
Added: packages/unittest2/trunk/debian/tests/control
===================================================================
--- packages/unittest2/trunk/debian/tests/control (rev 0)
+++ packages/unittest2/trunk/debian/tests/control 2015-03-04 14:23:37 UTC (rev 31942)
@@ -0,0 +1,2 @@
+Tests: unit-tests
+Depends: @
Added: packages/unittest2/trunk/debian/tests/unit-tests
===================================================================
--- packages/unittest2/trunk/debian/tests/unit-tests (rev 0)
+++ packages/unittest2/trunk/debian/tests/unit-tests 2015-03-04 14:23:37 UTC (rev 31942)
@@ -0,0 +1,10 @@
+#!/bin/sh
+# autopkgtest check: run unittest2 unit tests
+# (C) 2015 Canonical Ltd.
+# Author: Zygmunt Krynicki <zygmunt.krynicki at canonical.com>
+
+set -e
+# NOTE: tests have to run from the unittest2 installation directory
+cd /usr/lib/python2.7/dist-packages/unittest2
+unit2 -v 2>&1
+echo "unit-tests: OK"
Property changes on: packages/unittest2/trunk/debian/tests/unit-tests
___________________________________________________________________
Added: svn:executable
+ *
Added: packages/unittest2/trunk/debian/unit2.1
===================================================================
--- packages/unittest2/trunk/debian/unit2.1 (rev 0)
+++ packages/unittest2/trunk/debian/unit2.1 2015-03-04 14:23:37 UTC (rev 31942)
@@ -0,0 +1,64 @@
+.TH UNIT2 "1" "March 2015"
+.SH NAME
+unit2 \- a shorthand for python \-m unittest2
+.SH SYNOPSIS
+.B unit2
+[
+.B \-h
+]
+[
+.B \-v
+]
+[
+.B \-q
+]
+[
+.B \-f
+]
+[
+.B \-c
+]
+[
+.B \-b
+]
+[
+.I tests [tests ...]
+]
+
+.SH DESCRIPTION
+The unit2 script is a convenient shortcut for discovering and running tests in
+a given body of Python source code.
+.SH COMMAND LINE OPTIONS
+.TP
+.B \-h ", " \-\-help
+show this help message and exit
+.TP
+.B \-v ", " \-\-verbose
+Verbose output
+.TP
+.B \-q ", " \-\-quiet
+Quiet output
+.TP
+.B \-f ", " \-\-failfast
+Stop on first fail or error
+.TP
+.B \-c ", " \-\-catch
+Catch ctrl-C and display results so far
+.TP
+.B \-b, \-\-buffer
+Buffer stdout and stderr during tests
+.SH EXAMPLES
+.TP
+.B unit2 test_module
+run tests from
+.I test_module
+.TP
+.B unit2 module.TestClass
+run tests from
+.I module.TestClass
+.TP
+.B unit2 module.Class.test_method
+run specified test method
+.SH AUTHOR
+.UR zygmunt.krynicki at canonical.com
+This manual page was written for Debian by Zygmunt Krynicki
More information about the Python-modules-commits
mailing list