Bug#934273: python3-debian: please support parsing Source: package (version)
David Bremner
bremner at debian.org
Sun Oct 25 10:22:57 GMT 2020
Stuart Prescott <stuart at debian.org> writes:
> Control: tags -1 patch
>
>
> In [2]: def whatmade(name, cat):
> ...: p = [pkg for pkg in cat if pkg['Package'] == name][0]
> ...: print("Source %s/%s made binary %s/%s" % (
> ...: p.source,
> ...: p.source_version,
> ...: p['Package'],
> ...: p.get_version(),
> ...: ))
>
Yes, that seems like it would work for my use case.
d
More information about the pkg-python-debian-maint
mailing list