Bug#199716: python-apt: support for source packages would be nice
On Wed, Jul 02, 2003 at 08:15:57PM +0200, Jochen Voss wrote:
> it would be useful if python-apt would be able to browse source
> package records, e.g. to determine BuildDepends. This would require
> wrappers around the methods and classes from <apt-pkg/srcrecords.h>.
> Maybe somebody has the knowledge and time to implement this.
I have implemented simple browsing of available source versions like this:
sources = apt_pkg.GetPkgSrcRecords()
print sources.Package, sources.Version, sources.Maintainer, sources.Section, `sources.Binaries`
but this is not in CVS yet.