[Python-modules-commits] [python-cluster] 01/01: autopkgtest

Luciano Bello luciano at moszumanska.debian.org
Tue May 10 16:41:16 UTC 2016


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

luciano pushed a commit to branch master
in repository python-cluster.

commit 7b60d5b923dc8a528e61e709bdfd8e4dfbf4840b
Author: Luciano Bello <luciano at debian.org>
Date:   Tue May 10 18:41:07 2016 +0200

    autopkgtest
---
 debian/changelog     | 3 +++
 debian/control       | 1 +
 debian/tests/control | 6 ++++++
 3 files changed, 10 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 60c1abe..2f8f8db 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,9 @@ python-cluster (1.3.3-2) unstable; urgency=medium
   [ Adrian Alves ]
   * add python3 support
 
+  [ Luciano Bello ]
+  * Testsuite: autopkgtest-pkg-python added. Basic import tests.
+
  -- Adrian Alves <aalves at gmail.com>  Tue, 10 May 2016 12:54:32 +0200
 
 python-cluster (1.3.3-1) unstable; urgency=medium
diff --git a/debian/control b/debian/control
index 451ce2d..88cdf06 100644
--- a/debian/control
+++ b/debian/control
@@ -10,6 +10,7 @@ Build-Depends: debhelper (>= 9),
                python3-all,
                python3-setuptools
 Standards-Version: 3.9.8
+Testsuite: autopkgtest-pkg-python
 Homepage: https://github.com/exhuma/python-cluster/
 XS-Python-Version: all
 Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-cluster.git
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..5144bf9
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,6 @@
+Test-Command: python -c "import cluster; print cluster"
+Depends: python-cluster
+
+Test-Command: python3 -c "import cluster; print(cluster)"
+Depends: python3-cluster
+

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



More information about the Python-modules-commits mailing list