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

Bug#733489: python-apt: Improve 'Dependency' and 'BaseDependency' to get target package versions that satisfy dependencies



Hi everyone,

This is a feature request bug to improve the 'apt.package.Dependency' and 'apt.package.BaseDependency' classes in 'python-apt'.

The current implementation of both classes is rather scarce and so I've refactored them to to include better properties. Most notably the information from 'apt_pkg.Dependency.all_targets()' is now available as a property on both classes. While I was at it I've fixed PEP8 and pyflakes issues, fixed bugs and got rid of obsolete code.

Please review the patch carefully and let me know what you think.

Best,

Michael Schaller


Reply to: