Your message dated Wed, 01 Jun 2011 14:48:41 +0000
with message-id <[email protected]>
and subject line Bug#572087: fixed in dogtail 0.6.1-3.2
has caused the Debian Bug report #572087,
regarding [PATCH] python-apt 0.8 API transition: Please update dogtail to new 
API
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
572087: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=572087
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dogtail
Tags: patch
User: [email protected]
Usertags: python-apt-0-8-api

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.

Please make sure to adjust your dependencies to require
at least version 0.7.93.2 of python-apt; because older
versions may not provide all needed functions.

The first python-apt upload after the Squeeze release will
drop the old API and will get a 'Breaks' for all packages
which have not been adjusted yet. All not-fixed bugs will 
become release critical then.

[1] http://lists.debian.org/debian-devel/2010/02/msg00424.html

-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.
From c226745825d122826d8075a2280e358d075543f0 Mon Sep 17 00:00:00 2001
From: Julian Andres Klode <[email protected]>
Date: Mon, 1 Mar 2010 15:03:10 +0100
Subject: [PATCH] Upgrade to the new python-apt API.

---
 debian/control    |    2 +-
 dogtail/distro.py |   20 ++++++++++----------
 2 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/debian/control b/debian/control
index 930dcdc..37991f4 100644
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,7 @@ Standards-Version: 3.7.2
 
 Package: python-dogtail
 Architecture: all
-Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}, python-gnome2, python-apt, xvfb, xbase-clients, python-at-spi
+Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}, python-gnome2, python-apt (>= 0.7.93), xvfb, xbase-clients, python-at-spi
 Recommends: imagemagick, python-celementtree | python-elementtree
 Description: GUI test tool and automation framework
  dogtail is a GUI test tool and automation framework written in Python.
diff --git a/dogtail/distro.py b/dogtail/distro.py
index 8260de5..c7b6bf1 100644
--- a/dogtail/distro.py
+++ b/dogtail/distro.py
@@ -129,12 +129,12 @@ class _AptPackageDb(PackageDb):
         if not self.cache:
             import apt_pkg
             apt_pkg.init()
-            self.cache = apt_pkg.GetCache()
-        packages = self.cache.Packages
+            self.cache = apt_pkg.Cache()
+        packages = self.cache.packages
         for package in packages:
-            if package.Name == packageName:
+            if package.name == packageName:
                 import re
-                verString = re.match('.*Ver:\'(.*)-.*\' Section:', str(package.CurrentVer)).group(1)
+                verString = re.match('.*Ver:\'(.*)-.*\' Section:', str(package.current_ver)).group(1)
                 return Version.fromString(verString)
         raise PackageNotFoundError, packageName
 
@@ -156,17 +156,17 @@ class _AptPackageDb(PackageDb):
         if not self.cache:
             import apt_pkg
             apt_pkg.init()
-            self.cache = apt_pkg.GetCache()
-        packages = self.cache.Packages
+            self.cache = apt_pkg.Cache()
+        packages = self.cache.packages
         for package in packages:
-            if package.Name == packageName:
-                current = package.CurrentVer
+            if package.name == packageName:
+                current = package.current_ver
                 if not current:
                     raise PackageNotFoundError, packageName
-                depends = current.DependsList
+                depends = current.depends_list
                 list = depends['Depends']
                 for dependency in list:
-                    name = dependency[0].TargetPkg.Name
+                    name = dependency[0].target_pkg.name
                     # Add to the hash using a dummy value
                     result[name] = None
         return result.keys()
-- 
1.7.0

Attachment: pgpdqYJdjcJ1o.pgp
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: dogtail
Source-Version: 0.6.1-3.2

We believe that the bug you reported is fixed in the latest version of
dogtail, which is due to be installed in the Debian FTP archive:

dogtail_0.6.1-3.2.diff.gz
  to main/d/dogtail/dogtail_0.6.1-3.2.diff.gz
dogtail_0.6.1-3.2.dsc
  to main/d/dogtail/dogtail_0.6.1-3.2.dsc
python-dogtail_0.6.1-3.2_all.deb
  to main/d/dogtail/python-dogtail_0.6.1-3.2_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mehdi Dogguy <[email protected]> (supplier of updated dogtail package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Wed, 01 Jun 2011 16:18:42 +0200
Source: dogtail
Binary: python-dogtail
Architecture: source all
Version: 0.6.1-3.2
Distribution: unstable
Urgency: high
Maintainer: Jose Carlos Garcia Sogo <[email protected]>
Changed-By: Mehdi Dogguy <[email protected]>
Description: 
 python-dogtail - GUI test tool and automation framework
Closes: 572087
Changes: 
 dogtail (0.6.1-3.2) unstable; urgency=high
 .
   * Non-maintainer upload.
   * Apply patch by Julian Andres Klode to make it API compliant with
     python-apt 0.8 (Closes: #572087).
Checksums-Sha1: 
 01e15b9c5fa8b093e574671fb69f631ea55697e7 1316 dogtail_0.6.1-3.2.dsc
 2dab4d608e32c5704c11b6bbd71c4e150b87199c 3187 dogtail_0.6.1-3.2.diff.gz
 5ef182945c6e789ba359fc198422f209e5654771 102298 
python-dogtail_0.6.1-3.2_all.deb
Checksums-Sha256: 
 c3c26d0ebc7620e4293db24dc52902cef4df20eb8e64042ab937a3d2f2c707b0 1316 
dogtail_0.6.1-3.2.dsc
 f34f9f60c412c4c7e6853fba142c6277e0fae353c9c758e1b61cb6aa34538266 3187 
dogtail_0.6.1-3.2.diff.gz
 01d68b27319f7231cc57d9bfc1bc12e6df075c6eec901df3fb6571f2a094cc43 102298 
python-dogtail_0.6.1-3.2_all.deb
Files: 
 011a377b46d3dff786cf6a0f83692cfe 1316 misc optional dogtail_0.6.1-3.2.dsc
 c505388654710f2dc263638fe3d59365 3187 misc optional dogtail_0.6.1-3.2.diff.gz
 ea1d1ab33bab5a9e1e89bdc6c6aa8318 102298 misc optional 
python-dogtail_0.6.1-3.2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEcBAEBAgAGBQJN5kyIAAoJEDe1GR0FRlJoxBEH/3WRwedRSZR/rrxY0NcnEaSy
FCo1Y1sH8tSP+7sSPzT7OJmzZ/q5+6VJyfSjPrzEOTZSsvf4C1qLuuaKQKPRt94H
sVNzITFtLVkfDaYIoUxmzkXtliwt44sIsQDjL9BccjSfnD6kdgkr36xJzmogZUr2
ChEmuN5UK6JnPFlzgFwOeIuI24xntUtqSIgmeKNFppZH5NBV32mSKxqNzOw8B+fc
C+m3br7F8uPkP0tyRicodV+NGYkL2/MBDWFL9ElZgqD0M6FxuulJ80LGp/tsrh+h
sfo/4EKYgIhLLdf/gurr4xFgnNqkM7OQGG95ksLTUtxT4zCjpnOwimO7ul44aLc=
=CtAF
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to