def pkginfo(name, version, arch, repoid):
 pkginfo_tuple = collections.namedtuple('PkgInfo', ('name', 'version', 'arch', 'repoid'))
 return pkginfo_tuple(name, version, arch, repoid)

def pkginfo ( name , version , arch , repoid ) : pkginfo_tuple = collections . namedtuple ( 'PkgInfo' , ( 'name' , 'version' , 'arch' , 'repoid' ) ) return pkginfo_tuple ( name , version , arch , repoid )
build and return a pkginfo namedtuple .