class PackageListEntry(object):
def __init__(self, name, package_type, section, component, priority, **other):
self.name = name
- self.package_type = package_type
+ self.type = package_type
self.section = section
self.component = component
self.priority = priority
def built_in_suite(self, suite):
built = False
for arch in suite.architectures:
+ if arch.arch_string == 'source':
+ continue
built_on_arch = self.built_on_architecture(arch.arch_string)
if built_on_arch:
return True
# <name> <type> <component/section> <priority> [arch=<arch>[,<arch>]...]
name = fields[0]
package_type = fields[1]
- component, section = extract_component_from_section(fields[2])
+ section, component = extract_component_from_section(fields[2])
priority = fields[3]
other = dict(kv.split('=', 1) for kv in fields[4:])