summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog8
-rw-r--r--debian/compat1
-rw-r--r--debian/control6
-rwxr-xr-xdebian/rules5
-rw-r--r--setup.py18
5 files changed, 20 insertions, 18 deletions
diff --git a/debian/changelog b/debian/changelog
index 567ef8e9..b02c3917 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+python-apt (0.6.16.2ubuntu6) unstable; urgency=low
+
+ * debian/control:
+ + Replaces: python-apt (<< 0.6.11), instead of Conflicts which is not
+ correct here. (closes: #308586).
+
+ --
+
python-apt (0.6.16.2ubuntu5) dapper; urgency=low
* apt/cache.py: Release locks on failure (thanks to Colin Watson)
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 00000000..7813681f
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+5 \ No newline at end of file
diff --git a/debian/control b/debian/control
index 350d08e0..e8d0038c 100644
--- a/debian/control
+++ b/debian/control
@@ -3,8 +3,8 @@ Section: python
Priority: optional
Maintainer: APT Development Team <deity@lists.debian.org>
Uploaders: Matt Zimmerman <mdz@debian.org>, Michael Vogt <mvo@debian.org>
-Standards-Version: 3.6.1.1
-Build-Depends: debhelper (>= 4.2.28), libapt-pkg-dev (>= 0.6.40), apt-utils, python-dev, python2.4-dev
+Standards-Version: 3.6.2.0
+Build-Depends: debhelper (>= 5.0), libapt-pkg-dev (>= 0.6.40), apt-utils, python-dev, python2.4-dev
Package: python-apt
Architecture: all
@@ -23,7 +23,7 @@ Description: Python interface to libapt-pkg
Package: python2.4-apt
Architecture: any
Depends: python2.4, ${shlibs:Depends}
-Conflicts: python-apt (<< 0.6.11)
+Replaces: python-apt (<< 0.6.11)
Priority: optional
Description: Python interface to libapt-pkg
The apt-pkg Python interface will provide full access to the internal
diff --git a/debian/rules b/debian/rules
index 9439a2c9..c71baf08 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,9 +6,6 @@
# This has to be exported to make some magic below work.
export DH_OPTIONS
-# This is the debhelper compatibility version to use.
-export DH_COMPAT=3
-
DEBVER=$(shell dpkg-parsechangelog |sed -n -e '/^Version:/s/^Version: //p')
DEB_BUILD_PROG:=debuild --preserve-envvar PATH --preserve-envvar CCACHE_DIR -us -uc $(DEB_BUILD_PROG_OPTS)
@@ -84,7 +81,7 @@ source diff:
arch-build:
rm -rf debian/arch-build
mkdir -p debian/arch-build/python-apt-$(DEBVER)
- baz inventory -s | xargs cp -a --parents --target=debian/arch-build/python-apt-$(DEBVER)
+ tar -c --exclude=arch-build --no-recursion -f - `bzr inventory` | (cd debian/arch-build/python-apt-$(DEBVER);tar xf -)
(cd debian/arch-build/python-apt-$(DEBVER); $(DEB_BUILD_PROG))
binary: binary-indep binary-arch
diff --git a/setup.py b/setup.py
index f9255607..5adb0376 100644
--- a/setup.py
+++ b/setup.py
@@ -7,22 +7,18 @@ import string, glob
# The apt_pkg module
-files = string.split(parse_makefile("python/makefile")["APT_PKG_SRC"]);
-for i in range(0,len(files)):
- files[i] = "python/"+ files[i];
-apt_pkg = Extension("apt_pkg", files,
- libraries=["apt-pkg"]);
+files = map(lambda source: "python/"+source,
+ string.split(parse_makefile("python/makefile")["APT_PKG_SRC"]))
+apt_pkg = Extension("apt_pkg", files, libraries=["apt-pkg"]);
# The apt_inst module
-files = string.split(parse_makefile("python/makefile")["APT_INST_SRC"]);
-for i in range(0,len(files)):
- files[i] = "python/"+ files[i];
-apt_inst = Extension("apt_inst", files,
- libraries=["apt-pkg","apt-inst"]);
+files = map(lambda source: "python/"+source,
+ string.split(parse_makefile("python/makefile")["APT_INST_SRC"]))
+apt_inst = Extension("apt_inst", files, libraries=["apt-pkg","apt-inst"]);
setup(name="python-apt",
- version="0.6.13",
+ version="0.6.17",
description="Python bindings for APT",
author="APT Development Team",
author_email="deity@lists.debian.org",