'apt show filter by multiple fields

I want to get all binary packages that belong to specific source package from specific Debian source/repository.

apt show bla-dev command returns output like this:

Package: bla-dev
Version: 1.3-2
Priority: extra
Section: libdevel
Source: bla
Maintainer: someone@someone
Installed-Size: 144 kB
Download-Size: 121 kB
APT-Sources: http://my-repo/ all/main amd64 Packages
Description: Headers

I try to get all Package: and Version: fields of packages that contains the fields:

Source: bla
APT-sources: http://my-repo/

The command apt show '*-*' shows data of all packages so I think it would be helpful but I don't really know how to continue (This command is a little bit heavy - long text as output)



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source