Am Mittwoch, den 03.03.2010, 10:42 -0500 schrieb Hubert Chathi:
> On Sat 27 Feb 2010 02:53:05 PM EST, Julian Andres Klode  
> <j...@debian.org> wrote:
> 
> > As part of the python-apt API transition mass bug filing[1],
> > I would like to ask you to update your package for the new
> > API using the attached patch.
> [...]
> 
> I have just officially orphaned tla-buildpackage (I thought that I had  
> orphaned it a while ago, but apparently not); I do not have time to  
> maintain it.  Please feel free to NMU with your patch, if you wish.

Shouldn't it be an QA upload then? I have attached an QA upload diff
which also fixes the python 2.6 bug; and would upload it if there are no
objections.

-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.

 debian/changelog  |   11 +++++++++++
 debian/control    |    8 ++++----
 debian/rules      |    3 ++-
 tbppy/versions.py |    4 ++--
 4 files changed, 19 insertions(+), 7 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index ee85ef8..ff673d7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,14 @@
+tla-buildpackage (0.9.14) unstable; urgency=low
+
+  * QA upload.
+  * Update Standards-Version to 3.8.4
+  * Set maintainer to Debian QA Group <packa...@qa.debian.org>.
+  * Pass --install-layout=deb to setup.py (Closes: #571483)
+  * Use the new python-apt API (Closes: #571758)
+  * Build-depend on python (>= 2.5.4) instead of python-dev
+
+ -- Julian Andres Klode <j...@debian.org>  Wed, 03 Mar 2010 17:14:09 +0100
+
 tla-buildpackage (0.9.13+nmu1) unstable; urgency=low
 
   * Non-maintainer upload with maintainer's consent:
diff --git a/debian/control b/debian/control
index cbb2876..b69f3ef 100644
--- a/debian/control
+++ b/debian/control
@@ -1,14 +1,14 @@
 Source: tla-buildpackage
 Section: devel
 Priority: optional
-Maintainer: Hubert Chathi <uho...@debian.org>
-Build-Depends: debhelper (>= 5), python-support (>= 0.4), python-dev, scons
+Maintainer: Debian QA Group <packa...@qa.debian.org>
+Build-Depends: debhelper (>= 5), python-support (>= 0.4), python (>= 2.5.4), scons
 Build-Depends-Indep: gtk-doc-tools, sgml2x, docbook-utils, jade, tla-load-dirs (>= 1.1.0), lynx, poppler-utils
-Standards-Version: 3.7.3
+Standards-Version: 3.8.4
 
 Package: tla-buildpackage
 Architecture: all
-Depends: tla, tla-load-dirs (>= 1.1.0), dpkg-dev, devscripts, python-apt, ${python:Depends}
+Depends: tla, tla-load-dirs (>= 1.1.0), dpkg-dev, devscripts, python-apt (>= 0.7.93), ${python:Depends}
 Description: Suite to help with Debian packages in Arch archives
  This package helps automate and ease the task of maintaining Debian
  packages by helping you, the Debian developer, take advantage of
diff --git a/debian/rules b/debian/rules
index cb6681d..d9b6ebb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -48,7 +48,8 @@ install: build
 	dh_installdirs
 
 	$(PYTHON) setup.py install --root=$(CURDIR)/debian/$(PACKAGE) \
-	  --no-compile --install-purelib /usr/share/tla-buildpackage
+	  --no-compile --install-purelib /usr/share/tla-buildpackage \
+	               --install-layout=deb
 
 
 # Build architecture-independent files here.
diff --git a/tbppy/versions.py b/tbppy/versions.py
index 51479aa..7db4802 100644
--- a/tbppy/versions.py
+++ b/tbppy/versions.py
@@ -19,7 +19,7 @@
 import re
 import extcmd
 import apt_pkg
-apt_pkg.InitSystem()
+apt_pkg.init_system()
 
 tbp_version = '0.9.12+hc2'
 
@@ -64,4 +64,4 @@ def getpackagefromchangelog():
     return extcmd.extractline('dpkg-parsechangelog', 'Source')
 
 def vercmp(v1, v2):
-    return apt_pkg.VersionCompare(v1, v2)
+    return apt_pkg.version_compare(v1, v2)

Reply via email to