qitoolchain.feeds – Parsing toolchain feeds¶
All the XML parsing is done with the excellent xml.etree.ElementTree standard Python library.
A class to handle feed parsing
- A list of packages, stored as
ElementTreeobjects. The feed where the package came from is stored in a “feed” XML attribute of this package for later use.
name->versionused to only keep the latest version of packages
Add a package to self.packages. If an older version of the package exists, replace it by the new version