I'll upload this to delay 7 (the release team binNMUed python-apsw today, so 
this is not blocking the python3.4 transition anymore). 
diff -Nru python-apsw-3.8.2-r1/debian/changelog python-apsw-3.8.2-r1/debian/changelog
--- python-apsw-3.8.2-r1/debian/changelog	2014-02-07 14:15:14.000000000 -0500
+++ python-apsw-3.8.2-r1/debian/changelog	2014-05-30 00:28:16.000000000 -0400
@@ -1,3 +1,15 @@
+python-apsw (3.8.2-r1-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Correct python3 substitution variable for python3-apsw and move dh_python2
+    and dh_python3 calls to after install in debian/rules so python and
+    python3 sustitution variables are expanded correctly and both python-apsw
+    and python3-apsw have proper depends (Closes: #749717)
+  * Remove rather than correct unused provides for python3-apsw and clear up
+    unused provides and related obsolete conflicts/replaces for python-apsw
+
+ -- Scott Kitterman <sc...@kitterman.com>  Thu, 29 May 2014 08:01:16 -0400
+
 python-apsw (3.8.2-r1-2) unstable; urgency=medium
 
   * New upstream URL and license text
diff -Nru python-apsw-3.8.2-r1/debian/control python-apsw-3.8.2-r1/debian/control
--- python-apsw-3.8.2-r1/debian/control	2014-02-07 14:15:14.000000000 -0500
+++ python-apsw-3.8.2-r1/debian/control	2014-05-30 00:25:24.000000000 -0400
@@ -13,9 +13,6 @@
 Architecture: any
 Depends: ${shlibs:Depends}, ${python:Depends}, ${misc:Depends}
 Suggests: python-apsw-doc
-Provides: ${python:Provides}
-Conflicts: python2.3-apsw, python2.4-apsw
-Replaces: python2.3-apsw, python2.4-apsw
 Description: another Python SQLite 3 wrapper
  APSW (Another Python SQLite Wrapper) is an SQLite 3 wrapper that
  provides the thinnest layer over SQLite 3 possible. Everything you
@@ -39,9 +36,8 @@
 
 Package: python3-apsw
 Architecture: any
-Depends: ${shlibs:Depends}, ${python:Depends}, ${misc:Depends}
+Depends: ${shlibs:Depends}, ${python3:Depends}, ${misc:Depends}
 Suggests: python-apsw-doc
-Provides: ${python:Provides}
 Description: another Python SQLite 3 wrapper (Python 3 version)
  APSW (Another Python SQLite Wrapper) is an SQLite 3 wrapper that
  provides the thinnest layer over SQLite 3 possible. Everything you
diff -Nru python-apsw-3.8.2-r1/debian/rules python-apsw-3.8.2-r1/debian/rules
--- python-apsw-3.8.2-r1/debian/rules	2014-02-07 14:15:14.000000000 -0500
+++ python-apsw-3.8.2-r1/debian/rules	2014-05-30 00:29:03.000000000 -0400
@@ -79,10 +79,6 @@
 	dh_testdir -a
 	dh_testroot -a
 	dh_installdocs -a debian/NEWS.Debian
-
-	dh_python2 -a
-	dh_python3 -a
-
 	dh_install
 
         # Install debugging extension and remove from regular package
@@ -104,6 +100,10 @@
 	ln -s python3-apsw debian/python3-apsw-dbg/usr/share/doc/python3-apsw-dbg
 	dh_compress -a
 	dh_fixperms -a
+
+	dh_python2 -a
+	dh_python3 -a
+
 	dh_installdeb -a
 	dh_shlibdeps -a
 	dh_gencontrol -a

Reply via email to