Tags: patch
The attached debdiff adds autopkgtest support for python-dateutil and
run the testsuite against the package as-installed.
Thanks for considering the patch.
Jean-Baptiste.
diff -Nru python-dateutil-1.5+dfsg/debian/changelog
python-dateutil-1.5+dfsg/debian/changelog
--- python-dateutil-1.5+dfsg/debian/changelog 2012-07-06 16:00:10.000000000
+0200
+++ python-dateutil-1.5+dfsg/debian/changelog 2013-11-13 09:09:05.000000000
+0100
@@ -1,3 +1,10 @@
+python-dateutil (1.5+dfsg-1) UNRELEASED; urgency=low
+
+ * Add autopkgtest that runs the upstream test suite against the installed
+ package. (Closes: #729461)
+
+ -- Jean-Baptiste Lallement <jean-baptiste.lallem...@canonical.com> Wed, 13
Nov 2013 09:07:39 +0100
+
python-dateutil (1.5+dfsg-0.1) unstable; urgency=low
* Non-maintainer upload.
diff -Nru python-dateutil-1.5+dfsg/debian/control
python-dateutil-1.5+dfsg/debian/control
--- python-dateutil-1.5+dfsg/debian/control 2011-08-30 22:20:10.000000000
+0200
+++ python-dateutil-1.5+dfsg/debian/control 2013-11-13 08:44:08.000000000
+0100
@@ -7,6 +7,7 @@
Vcs-Git: git://git.debian.org/git/calendarserver/python-dateutil.git
Vcs-Browser: http://git.debian.org/?p=calendarserver/python-dateutil.git
X-Python-Version: >= 2.3
+XS-Testsuite: autopkgtest
Package: python-dateutil
Architecture: all
diff -Nru python-dateutil-1.5+dfsg/debian/tests/control
python-dateutil-1.5+dfsg/debian/tests/control
--- python-dateutil-1.5+dfsg/debian/tests/control 1970-01-01
01:00:00.000000000 +0100
+++ python-dateutil-1.5+dfsg/debian/tests/control 2013-11-13
08:43:22.000000000 +0100
@@ -0,0 +1,2 @@
+Tests: upstream
+Depends: @
diff -Nru python-dateutil-1.5+dfsg/debian/tests/upstream
python-dateutil-1.5+dfsg/debian/tests/upstream
--- python-dateutil-1.5+dfsg/debian/tests/upstream 1970-01-01
01:00:00.000000000 +0100
+++ python-dateutil-1.5+dfsg/debian/tests/upstream 2013-11-13
08:43:22.000000000 +0100
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+./test.py -v