Bug#382725: python-apt: does not wrap policy interface
On Sat, Jun 06, 2009 at 11:07:04PM +0200, Julian Andres Klode wrote:
> owner 382725 !
> tag 382725 confirmed
> thanks
>
> On Sat, Aug 12, 2006 at 11:47:06PM +0100, Ben Hutchings wrote:
> > Package: python-apt
> > Version: 0.6.16.1bpo1
> > Severity: wishlist
> >
> > python-apt does not wrap the pkgPolicy class. This seems to make it
> > impossible to select versions to install based on the normal pinning
> > configuration *and* other criteria.
> I don't think that this is really needed, but I'll see what I can do
> for 0.8.
Packages are available for source, amd64, i386 at:
deb http://people.debian.org/~jak/debian/ experimental/
deb-src http://people.debian.org/~jak/debian/ experimental/
These packages are snapshots of the 0.7.92 development, and provide the
class apt_pkg.Policy. But as I already said, it is not really useful,
because DepCache itself provides access to read_pinfile() for it's
policy. This means you can use DepCache for normal cases, but for more
specific stuff, you can use Policy.
--
Julian Andres Klode - Free Software Developer
Debian Developer - Contributing Member of SPI
Ubuntu Member - Fellow of FSFE
Website: http://jak-linux.org/ XMPP: juliank@jabber.org
Debian: http://www.debian.org/ SPI: http://www.spi-inc.org/
Ubuntu: http://www.ubuntu.com/ FSFE: http://www.fsfe.org/
Reply to: