We're getting ready to start the python3.1 -> 3.2 transition (see #617272) and it would be nice if python-apt were able to transition to Testing. I've prepared the attched NMU diff which I will upload after the new python3- defaults is in place unless I hear from one of the maintainers and you would rather handle it.
Scott K
diff -Nru python-apt-0.7.100.2/debian/changelog python-apt-0.7.100.2+nmu1/debian/changelog
--- python-apt-0.7.100.2/debian/changelog 2011-03-21 09:56:01.000000000 -0400
+++ python-apt-0.7.100.2+nmu1/debian/changelog 2011-04-03 18:13:24.000000000 -0400
@@ -1,3 +1,13 @@
+python-apt (0.7.100.2+nmu1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Override override_dh_auto_install to install python3 extensions in the
+ correct locations (Closes: #619528)
+ - Drop .so files from python3-apt.install
+ * Removed ${python:Breaks} - No longer used in dh_python2
+
+ -- Scott Kitterman <[email protected]> Sun, 03 Apr 2011 18:09:52 -0400
+
python-apt (0.7.100.2) unstable; urgency=low
* apt/progress/text.py:
diff -Nru python-apt-0.7.100.2/debian/control python-apt-0.7.100.2+nmu1/debian/control
--- python-apt-0.7.100.2/debian/control 2011-02-18 16:32:49.000000000 -0500
+++ python-apt-0.7.100.2+nmu1/debian/control 2011-04-03 18:16:04.000000000 -0400
@@ -23,7 +23,7 @@
Architecture: any
Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}, python-apt-common
Recommends: lsb-release, iso-codes, python2.6
-Breaks: debdelta (<< 0.28~), packagekit-backend-apt (<= 0.4.8-0ubuntu4), ${python:Breaks}
+Breaks: debdelta (<< 0.28~), packagekit-backend-apt (<= 0.4.8-0ubuntu4)
Provides: ${python:Provides}
Suggests: python-apt-dbg, python-gtk2, python-vte, python-apt-doc
XB-Python-Version: ${python:Versions}
diff -Nru python-apt-0.7.100.2/debian/python3-apt.install python-apt-0.7.100.2+nmu1/debian/python3-apt.install
--- python-apt-0.7.100.2/debian/python3-apt.install 2011-02-18 16:32:49.000000000 -0500
+++ python-apt-0.7.100.2+nmu1/debian/python3-apt.install 2011-04-03 18:06:14.000000000 -0400
@@ -1,4 +1,2 @@
-usr/lib/python3*/*/apt_pkg*.so
-usr/lib/python3*/*/apt_inst*.so
usr/lib/python3*/*/*/
usr/lib/python3*/*/*.egg-info
diff -Nru python-apt-0.7.100.2/debian/rules python-apt-0.7.100.2+nmu1/debian/rules
--- python-apt-0.7.100.2/debian/rules 2010-09-29 14:35:14.000000000 -0400
+++ python-apt-0.7.100.2+nmu1/debian/rules 2011-04-03 18:27:45.000000000 -0400
@@ -11,6 +11,15 @@
override_dh_auto_build:
dh_auto_build
+override_dh_auto_install:
+ for i in $(shell py3versions -r); do \
+ $$i ./setup.py install --install-layout=deb --root $(CURDIR)/debian/python3-apt; \
+ done
+ for i in $(shell py3versions -r); do \
+ $$i-dbg ./setup.py install --install-layout=deb --root $(CURDIR)/debian/python3-apt-dbg; \
+ done
+ dh_auto_install
+
override_dh_installdocs:
set -e; if [ -z $(filter -a,$(DH_INTERNAL_OPTIONS)) ]; then \
python setup.py build_sphinx; \
signature.asc
Description: This is a digitally signed message part.

