[SCM] pyliblo/master: Add DEP-8 test for the Python 3 package

sramacher at users.alioth.debian.org sramacher at users.alioth.debian.org
Fri Aug 30 20:24:15 UTC 2013


The following commit has been merged in the master branch:
commit ef03541c9f2179205b901afcdf4f0795c91835f9
Author: Sebastian Ramacher <sramacher at debian.org>
Date:   Fri Aug 30 21:02:25 2013 +0200

    Add DEP-8 test for the Python 3 package

diff --git a/debian/tests/control b/debian/tests/control
index 87453b5..2777dad 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
 Tests: python-liblo
 Depends: python-liblo
+
+Tests: python3-liblo
+Depends: python3-liblo
diff --git a/debian/tests/python-liblo b/debian/tests/python3-liblo
similarity index 81%
copy from debian/tests/python-liblo
copy to debian/tests/python3-liblo
index 4f7d703..10f9ee3 100755
--- a/debian/tests/python-liblo
+++ b/debian/tests/python3-liblo
@@ -5,6 +5,6 @@ set -eu
 WORKDIR=$(mktemp -d)
 cp -r test "$WORKDIR/"
 cd "$WORKDIR/"
-for python in $(pyversions -i); do 
+for python in $(py3versions -i); do
 	PYTHONWARNINGS=d $python -m unittest discover -s test/ -p '*.py' -v 2>&1
 done

-- 
pyliblo packaging



More information about the pkg-multimedia-commits mailing list