summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2010-07-05 18:22:37 +0200
committerJulian Andres Klode <jak@debian.org>2010-07-05 18:22:37 +0200
commit9cfc2cd1213ab98d744b42bbfe3a4f8ca5e870ea (patch)
tree0fca6db6624b0c13c5409c1dbf6708b6b1a25c37
parent465b19e6ae3c6daeee0841d38ac93e0c19991c13 (diff)
downloadpython-apt-9cfc2cd1213ab98d744b42bbfe3a4f8ca5e870ea.tar.gz
Re-enable Python 3 support for latest python-default changes (hack).
-rw-r--r--debian/changelog3
-rwxr-xr-xdebian/rules2
-rwxr-xr-xutils/pyversions2
3 files changed, 7 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index b8ae49c1..e82c0487 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -36,6 +36,9 @@ python-apt (0.7.96) UNRELEASED; urgency=low
latter is disastrous if we use compressed package indexes, and slower than
necessary for uncompressed indexes.
+ [ Julian Andres Klode ]
+ * Re-enable Python 3 support for latest python-default changes (hack).
+
-- Michael Vogt <mvo@debian.org> Tue, 01 Jun 2010 16:20:00 +0200
python-apt (0.7.95) unstable; urgency=low
diff --git a/debian/rules b/debian/rules
index a65c5cfd..e93d682f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,8 @@
export DH_PYCENTRAL=nomove
export DEBVER=$(shell dpkg-parsechangelog | sed -n -e 's/^Version: //p')
export CFLAGS=-Wno-write-strings -DCOMPAT_0_7
+export PATH :=$(CURDIR)/utils:$(PATH)
+export SHELL=PATH=$(PATH) sh
%:
dh --with python-central $@
diff --git a/utils/pyversions b/utils/pyversions
new file mode 100755
index 00000000..3accad3f
--- /dev/null
+++ b/utils/pyversions
@@ -0,0 +1,2 @@
+#!/bin/sh
+(/usr/bin/pyversions "$@"; /usr/bin/py3versions "$@"; ) | tr '\n' ' '