[Python-modules-commits] [rope] 07/11: Add basic autodep8 test
Arnaud Fontaine
arnau at moszumanska.debian.org
Thu Apr 13 08:52:44 UTC 2017
This is an automated email from the git hooks/post-receive script.
arnau pushed a commit to branch debian-experimental
in repository rope.
commit d61989c9dbf5f9c104c1755a2a155a078b37edfa
Author: Diane Trout <diane at ghic.org>
Date: Thu Feb 23 14:55:46 2017 -0800
Add basic autodep8 test
---
debian/changelog | 1 +
debian/control | 1 +
debian/tests/control | 6 ++++++
3 files changed, 8 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index c1905cb..5a7f80f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ rope (0.10.5-1) UNRELEASED; urgency=medium
* Build a python3 version using pybuild. Closes: #755911.
+ Add Python 3 & setuptools to Build-Depends.
+ Remove cdbs.
+ + Add basic autodep8 test.
-- Arnaud Fontaine <arnau at debian.org> Thu, 13 Apr 2017 17:14:48 +0900
diff --git a/debian/control b/debian/control
index ed397df..74746f1 100644
--- a/debian/control
+++ b/debian/control
@@ -12,6 +12,7 @@ Build-Depends: debhelper (>= 10),
X-Python-Version: >= 2.6
X-Python3-Version: >= 3.2
Standards-Version: 3.9.8
+Testsuite: autopkgtest-pkg-python
Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/rope.git
Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/rope.git
Homepage: http://rope.sourceforge.net/
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..378f34a
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,6 @@
+Test-Command: set -e ; for py in $(pyversions -r 2>/dev/null) ; do cd "$ADTTMP" ; echo "Testing with $py:" ; $py -c "import rope; print rope" ; done
+Depends: python-all, python-rope
+
+Test-Command: set -e ; for py in $(py3versions -r 2>/dev/null) ; do cd "$ADTTMP" ; echo "Testing with $py:" ; $py -c "import rope; print(rope)" ; done
+Depends: python3-all, python3-rope
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/rope.git
More information about the Python-modules-commits
mailing list