[Python-modules-commits] [python-scripttest] 01/01: Fix FTBFS, bump Standards-Version, add DEP-8 tests.

Barry Warsaw barry at moszumanska.debian.org
Mon Apr 11 20:42:22 UTC 2016


This is an automated email from the git hooks/post-receive script.

barry pushed a commit to branch master
in repository python-scripttest.

commit d861abd6921e13b2d07f6b482fdb2a7e2bad8909
Author: Barry Warsaw <barry at python.org>
Date:   Mon Apr 11 16:42:14 2016 -0400

    Fix FTBFS, bump Standards-Version, add DEP-8 tests.
    
    * d/rules: override_dh_auto_test: Don't run the test suite at build time
      since upstream's tests/ directory isn't included in the tarball.
      (Closes: #815294)
    * d/control: Bump Standards-Version to 3.9.7 with no other changes needed.
    * d/tests/: Added simple import-based DEP-8 tests.
---
 debian/changelog     | 10 +++++++++-
 debian/control       |  2 +-
 debian/rules         |  2 ++
 debian/tests/control |  3 +++
 4 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index f531106..daefc40 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,16 @@
 python-scripttest (1.3-2) UNRELEASED; urgency=medium
 
+  [ Ondřej Nový ]
   * Fixed VCS URL (https)
 
- -- Ondřej Nový <novy at ondrej.org>  Tue, 29 Mar 2016 22:22:37 +0200
+  [ Barry Warsaw ]
+  * d/rules: override_dh_auto_test: Don't run the test suite at build time
+    since upstream's tests/ directory isn't included in the tarball.
+    (Closes: #815294)
+  * d/control: Bump Standards-Version to 3.9.7 with no other changes needed.
+  * d/tests/: Added simple import-based DEP-8 tests.
+
+ -- Barry Warsaw <barry at debian.org>  Mon, 11 Apr 2016 16:31:42 -0400
 
 python-scripttest (1.3-1) unstable; urgency=medium
 
diff --git a/debian/control b/debian/control
index 606ab91..ecb5dcb 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: python
 Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Thomas Bechtold <thomasbechtold at jpberlin.de>
-Standards-Version: 3.9.5
+Standards-Version: 3.9.7
 Build-Depends: debhelper (>= 9),
                dh-python,
                python-all (>= 2.6.6-3~),
diff --git a/debian/rules b/debian/rules
index 5ea3199..d66ec87 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,3 +4,5 @@ export PYBUILD_NAME=scripttest
 
 %:
 	dh $@ --with python2,python3 --buildsystem=pybuild
+
+override_dh_auto_test:
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..0431000
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,3 @@
+Test-Command: python -c "import scripttest; print scripttest.__file__"
+
+Test-Command: python3 -c "import scripttest; print(scripttest.__file__)"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-scripttest.git



More information about the Python-modules-commits mailing list