Bug#734500: python-apt: DEP-8 debian/tests/control dependencies missing
Package: python-apt
Version: 0.9.1
Severity: normal
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Dear Maintainer,
debian/tests/control is missing dependencies to pull in all supported
Python versions. Attached is the patch I applied for Ubuntu.
Cheers!
- -- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.12-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages python-apt depends on:
ii libapt-inst1.5 0.9.14.2
ii libapt-pkg4.12 0.9.14.2
ii libc6 2.17-97
ii libgcc1 1:4.8.2-12
ii libstdc++6 4.8.2-12
ii python 2.7.5-5
ii python-apt-common 0.9.1
Versions of packages python-apt recommends:
ii iso-codes 3.50-1
ii lsb-release 4.1+Debian12
ii xz-utils 5.1.1alpha+20120614-2
Versions of packages python-apt suggests:
ii python-apt-dbg 0.9.1
pn python-apt-doc <none>
ii python-gtk2 2.24.0-3+b1
ii python-vte 1:0.28.2-5
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)
iQIcBAEBCAAGBQJSzDGYAAoJEBJutWOnSwa/ELIQAIxYSxPGKpWsDZHm17pZTO9R
WqLRqbASDbc/Q5lwCDlmsLWo3I9L/U363o3FX5mm2UxJD8AmnPfgSch1+/6fHSNc
fgX80z3vDQDyy7nXl1gGEfDnhPR+gsutGWOIwuCwqkZd7EZqyuqaEbQeHzGd/b1U
sm6AGvDCZGE4MdKd6ChZsbbb2t/e9a4CY3ttTJVmZxKHSNfnr/O+0HTRqc1pQ3l+
qin66uXOvnamf9vSUkSn6Dk5ekH0xEXs8fb/4q5aXmPKJKzl9uXP4oWGj90URaNA
ae1yefyn6NWh3n/U6Y8vAC2yelT0SxucpQhAFGqYOQViCejADpStAY7168MFblv6
RNtpOwyhMxN9TgomGAOls+UutOK7HjhW+7hSC/Xz33YQGpB6ODoYQd7qgOsi31No
uRtmgB9Woae2kmWsAx213KXWe3K2HaCccNKvf0654qJz7hUIMM/DzdlrioOuzlCw
jOPCpHa6sa/8XG0+ZmewOod/38k7yQNHg8e+ksZ5NPCU34xPp24iUYRz6C0DrtJu
63Ds0EKdKU8WSTmI5to5fdO/Aq1msWnvvwSaY1aWHesDH1UR0L/2Hd2rvuTs/Br4
FEmmc4jp4oK+36czAaKGfNUbtWgIlyQrhuFcblqb7CbRd5l26jMWxmZ5fFHjz2sO
8n940cjpqsY7svdsDGzP
=tmyS
-----END PGP SIGNATURE-----
=== modified file 'debian/changelog'
--- debian/changelog 2014-01-04 18:32:04 +0000
+++ debian/changelog 2014-01-07 16:52:29 +0000
@@ -1,3 +1,10 @@
+python-apt (0.9.1ubuntu1) trusty; urgency=medium
+
+ * d/tests/control: Add python-all and python3-all as Depends for the
+ autopkgtests so all the supported Python versions are pulled in.
+
+ -- Barry Warsaw <barry@ubuntu.com> Tue, 07 Jan 2014 11:13:50 -0500
+
python-apt (0.9.1build2) trusty; urgency=medium
* Rebuild for python3.4 as a supported python version.
=== modified file 'debian/tests/control'
--- debian/tests/control 2013-08-13 08:02:10 +0000
+++ debian/tests/control 2014-01-07 16:52:29 +0000
@@ -1,2 +1,2 @@
Tests: run-tests
-Depends: @, apt-utils, python-debian, fakeroot, intltool
+Depends: @, apt-utils, python-debian, fakeroot, intltool, python-all, python3-all
=== modified file 'debian/tests/run-tests'
--- debian/tests/run-tests 2013-08-13 08:02:10 +0000
+++ debian/tests/run-tests 2014-01-07 16:52:29 +0000
@@ -3,6 +3,6 @@
set -e
# from debian/rules
-for python in $(utils/pyversions -r); do
+for python in $(utils/pyversions -r); do
$python tests/test_all.py -q
done
Reply to: