|
|
|
@ -9,14 +9,15 @@ SuiteInfo = namedtuple('SuiteInfo', [
|
|
|
|
|
|
|
|
|
|
class SourcePackage(object):
|
|
|
|
|
|
|
|
|
|
__slots__ = ['version', 'section', 'binaries', 'maintainer', 'is_fakesrc']
|
|
|
|
|
__slots__ = ['version', 'section', 'binaries', 'maintainer', 'is_fakesrc', 'testsuite']
|
|
|
|
|
|
|
|
|
|
def __init__(self, version, section, binaries, maintainer, is_fakesrc):
|
|
|
|
|
def __init__(self, version, section, binaries, maintainer, is_fakesrc, testsuite):
|
|
|
|
|
self.version = version
|
|
|
|
|
self.section = section
|
|
|
|
|
self.binaries = binaries
|
|
|
|
|
self.maintainer = maintainer
|
|
|
|
|
self.is_fakesrc = is_fakesrc
|
|
|
|
|
self.testsuite = testsuite
|
|
|
|
|
|
|
|
|
|
def __getitem__(self, item):
|
|
|
|
|
return getattr(self, self.__slots__[item])
|
|
|
|
|