128
129
def dsc_url(mirror, component, package, version):
129
130
"Build a source package URL"
130
131
group = package[:4] if package.startswith('lib') else package[0]
132
return os.path.join(mirror, 'pool', component, group, package, fn)
133
return os.path.join(mirror, 'pool', component, group, package, filename)