summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog11
-rw-r--r--debian/control1
-rw-r--r--debian/tests/control2
-rw-r--r--debian/tests/run-tests8
4 files changed, 20 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index 62450591..203c968d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+python-apt (0.8.7ubuntu5) UNRELEASED; urgency=low
+
+ * add dep8 style autopkgtest support
+ * add "codename" to the PackageFile object
+
+ -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 12 Oct 2012 11:02:03 +0200
+
python-apt (0.8.7ubuntu4) quantal; urgency=low
* apt/auth.py:
@@ -90,13 +97,13 @@ python-apt (0.8.6) unstable; urgency=low
* debian/control:
- add build-dep for apt (>= 0.9.6) to make test_auth.py test
work reliable
-
+ * python/cache.cc:
[ Colin Watson ]
* aptsources/*.py, setup.py: Make aptsources modules work directly in
either Python 2 or 3, and exclude the "future" 2to3 fixer so that 2to3
doesn't need to modify them. This makes life a little easier for the
strange tricks update-manager plays with its dist-upgrader tarball.
-
+ - Use Popen.communicate() instead of stdin, stdout
[ Julian Andres Klode ]
* apt/auth.py:
- Use tempfile.NamedTemporaryFile to create temporary file
diff --git a/debian/control b/debian/control
index 5707b0c2..c186dc23 100644
--- a/debian/control
+++ b/debian/control
@@ -22,6 +22,7 @@ Build-Depends: apt (>= 0.9.6),
Vcs-Bzr: http://code.launchpad.net/~ubuntu-core-dev/python-apt/ubuntu
XS-Debian-Vcs-Bzr: http://bzr.debian.org/apt/python-apt/debian-sid
XS-Debian-Vcs-Browser: http://bzr.debian.org/loggerhead/apt/python-apt/debian-sid/changes
+XS-Testsuite: autopkgtest
Package: python-apt
Architecture: any
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 00000000..2ca0a401
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: run-tests
+Depends: @, apt-utils, python-debian, fakeroot, intltool
diff --git a/debian/tests/run-tests b/debian/tests/run-tests
new file mode 100644
index 00000000..bb980c6b
--- /dev/null
+++ b/debian/tests/run-tests
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+set -e
+
+# from debian/rules
+for python in $(utils/pyversions -r); do
+ $python tests/test_all.py -q
+done