[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#523997: marked as done (python-apt: Package class should allow to set the candidate version)



Your message dated Wed, 15 Apr 2009 18:47:06 +0000
with message-id <E1LuA8Y-0000JA-Cr@ries.debian.org>
and subject line Bug#523997: fixed in python-apt 0.7.90
has caused the Debian Bug report #523997,
regarding python-apt: Package class should allow to set the candidate version
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 owner@bugs.debian.org
immediately.)


-- 
523997: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=523997
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: python-apt
Version: 0.7.7.1+nmu1
Severity: wishlist
Tags: patch

The Package class should allow to set its the candidate version.

-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-apt depends on:
ii  apt [libapt-pkg-libc6.7-6-4. 0.7.20.2    Advanced front-end for dpkg
ii  apt-utils [libapt-inst-libc6 0.7.20.2    APT utility programs
ii  libc6                        2.7-18      GNU C Library: Shared libraries
ii  libgcc1                      1:4.3.2-1.1 GCC support library
ii  libstdc++6                   4.3.2-1.1   The GNU Standard C++ Library v3
ii  lsb-release                  3.2-20      Linux Standard Base version report
ii  python                       2.5.2-3     An interactive high-level object-o
ii  python-central               0.6.8       register and build utility for Pyt

python-apt recommends no packages.

Versions of packages python-apt suggests:
pn  python-apt-dbg                <none>     (no description available)

-- no debconf information
# Bazaar merge directive format 2 (Bazaar 0.90)
# revision_id: renate@unstable.virtual-20090410202703-krdd15z5xhoz11h0
# target_branch: ../debian-sid/
# testament_sha1: e6d468f392106808f743f3e3c67a38c1a2970026
# timestamp: 2009-04-10 22:34:15 +0200
# base_revision_id: jak@debian.org-20090401154054-zh33a3avjszl3fg7
# 
# Begin patch
=== modified file 'apt/package.py'
--- apt/package.py	2009-04-01 14:27:15 +0000
+++ apt/package.py	2009-04-10 20:27:03 +0000
@@ -874,6 +874,12 @@
 
     # depcache actions
 
+    def set_candidate(self, version):
+        """Set the candidate version of the package."""
+        self._pcache.cachePreChange()
+        self._pcache._depcache.SetCandidateVer(self._pkg, version._cand)
+        self._pcache.cachePostChange()
+
     def markKeep(self):
         """Mark a package for keep."""
         self._pcache.cachePreChange()

# Begin bundle
IyBCYXphYXIgcmV2aXNpb24gYnVuZGxlIHY0CiMKQlpoOTFBWSZTWWKjHTEAAZffgEQQUWf//3pC
TQC////wUAP2a9p1c7qJ7m9nQkokno09CekGCaGkxMg9I0AAaCSgRiaUw0anqaNAAGmgNAACSEmm
o1T8Impp+qe0p6TPVD0g0xpDTJpkDaqamQyDRo0GmhoA0AAAAJJBNTNDUxPVR+hNTQ9IaaA0Gmho
aORXjzaCvZjWbPhIt1SWcYpsvqtc8Br2ym/DEkoI2afUfa9hml2njKZa9hU5bX2ajkh/xb6cXdqj
x41yNDDMPhEHnI5iOU+OOq1rof1trp0cz8BVGx4ZB+/A/Jv1jMo3D9ldPshwusXvPao5yvNfvOY4
GH4oAaA5TFwSyqjRtvKxOOoh8xK8LjcKBOLqEaypUQmLKnVciCT2iHiKHLZslSPaRweeolqcja9X
C2lI6mRuhhG1xjPkcLLz4aL2qaNeAjCLLxnfFEQiyUUGAhCBU0JCtjicU44ZEdaGcFcrMOlWkRiS
vBk44PEz38SxSzgQJG8xIEC8NxluoWYF9+TjBRW1NW8Jwr7CxxQ7CyBdtpgyFXHtRLksmUjE35PK
oE0xAeTJm90LUTMKK0sGLLmxJGwyEPMzKRIwMRM1ziTrIDXyFROeRCGoXatxgUYa2H2+lQ3Nowf5
OG3icPSJuTZ/rLqCxSSua5kx3yIjLUBBQ98QymZGeTGUFSqngfNXdhwWxW0atUhggI2dM4SaAJB6
1GkqOBvvESWwWoHuFrLE8tD9DildUvciN6O+a92Isua0CaTVX6XZU6yp5LyY4HJdWVbgbdnO4iMY
Wm60ZtykebOlDiSaxYFA+OGQfBhF2EVBNmTRAZGh0C7w/Ge34GpNFTt+fSe1ncxhmcDPAl5zmOyl
7J8y0glw3jt2A7ljIIeHEKaWvl+6i60RA8UyLP82lLLA1CpuVCNwElKOtRqIvJS5poKCUrXrr2WM
W+7IESkhTAPtPFZtFWm0gxK4qTRSchPV7pxN3g3OuKm6kVo54BpmTTTTSEsHxFMchSJAH2SQ7Wk4
WVdSaMVZLuhsHyMoDDBEDRjCJ+e7DnTc63qZ4Y2H6H9lc+UmPCGBkGJclBIGRJ3XI+d6UwhkOnW/
fjhYbV0rIKAdAwZX0RByBydAv7HTcKd6tZXVUp7VfMIN0y0xRDJu+xwTDh5RXW8EzKmSFTkuexOs
Ckmq9uQHifoSaNTKhmzPh/U2NjGk0bgZJ6LQacUnwojvTx2r3KB1F7p6/oSAqSHbTcUZWTuIThQU
MrmToKxHcaP0uJsLw86UEpcAQJKqMKjd1R+UTiCCNjHhjbqJilsNavU/+LuSKcKEgxUY6Yg=

--- End Message ---
--- Begin Message ---
Source: python-apt
Source-Version: 0.7.90

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

python-apt-dbg_0.7.90_amd64.deb
  to pool/main/p/python-apt/python-apt-dbg_0.7.90_amd64.deb
python-apt_0.7.90.dsc
  to pool/main/p/python-apt/python-apt_0.7.90.dsc
python-apt_0.7.90.tar.gz
  to pool/main/p/python-apt/python-apt_0.7.90.tar.gz
python-apt_0.7.90_amd64.deb
  to pool/main/p/python-apt/python-apt_0.7.90_amd64.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 523997@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julian Andres Klode <jak@debian.org> (supplier of updated python-apt 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 ftpmaster@debian.org)


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

Format: 1.8
Date: Wed, 15 Apr 2009 13:47:42 +0200
Source: python-apt
Binary: python-apt python-apt-dbg
Architecture: source amd64
Version: 0.7.90
Distribution: experimental
Urgency: low
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Julian Andres Klode <jak@debian.org>
Description: 
 python-apt - Python interface to libapt-pkg
 python-apt-dbg - Python interface to libapt-pkg (debug extension)
Closes: 523645 523997
Changes: 
 python-apt (0.7.90) experimental; urgency=low
 .
   * Introduce support for Python 3 (Closes: #523645)
 .
   * Support the 'in' operator (e.g. "k in d") in Configuration{,Ptr,Sub}
     objects (e.g. apt_pkg.Config) and in TagSections (apt_pkg.ParseSection())
   * Replace support for file objects with a more generic support for any object
     providing a fileno() method and for file descriptors (integers).
   * Add support for the Breaks fields
   * Only create Package objects when they are requested, do not keep them in
     a dict. Saves 10MB for 25,000 packages on my machine.
   * apt/package.py: Allow to set the candidate of a package (Closes: #523997)
     - Support assignments to the 'candidate' property of Package objects.
     - Initial patch by Sebastian Heinlein
Checksums-Sha1: 
 012475fe56165d009fab5cf375f2d10dee2a2722 1201 python-apt_0.7.90.dsc
 2f47ff8f3f185e936323ee5fb7265380850d93d0 685425 python-apt_0.7.90.tar.gz
 971285345d4c70cc1934e5f6c9c809aff2eb1475 505288 python-apt_0.7.90_amd64.deb
 a94d91205d6e130ce6bcc30d2370f4cfa0cbec7c 2296162 python-apt-dbg_0.7.90_amd64.deb
Checksums-Sha256: 
 5a79cbc24770f8e9784d8d127a9efe8a9ebb6ebc6b2c66e80e111714c6a06292 1201 python-apt_0.7.90.dsc
 0fd873cc4875a384351fcb8a816a54b385eccda9581cea340a55c52e09bfbcfb 685425 python-apt_0.7.90.tar.gz
 f2c2eea4ba254ce83beab5e176f78da288d70505500a49f011297fdb608c40cf 505288 python-apt_0.7.90_amd64.deb
 92712da061b83ae88e92a951b8d433aee40433f2350e6b71a60f9f4ee3d8ccbb 2296162 python-apt-dbg_0.7.90_amd64.deb
Files: 
 b17465d8f1e31cfe3bd28a2e09db1afc 1201 python optional python-apt_0.7.90.dsc
 cd65128dcbd9bd8556d679e13f649803 685425 python optional python-apt_0.7.90.tar.gz
 df0014f05ef702b53326cc27bd84b047 505288 python optional python-apt_0.7.90_amd64.deb
 bc1e804501dd7908edfb2ebde0a90793 2296162 debug extra python-apt-dbg_0.7.90_amd64.deb

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

iEYEARECAAYFAknmJwAACgkQrCpf/gCCPsLn0QCeIfTwr3F5cktEmiebqIw92J3X
1TIAnidzpRWMTfG77oqdFXDlV0CrTw9E
=l/l8
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: