Re: Perl AptPkg bindings: no binpkg(name, ver) -> srcpkg(name, ver) mapping?
* On 11/21/25 18:47, Mihai Moldovan wrote:
It looks like SourceVer has been part of the Record parser since 2007:
https://salsa.debian.org/apt-team/apt/-/commit/c2f2b86252cec3a9ec68df2f55850067faa705d6
I figure all that is missing would be a
PUSH_PAIR (p, SourceVer);
in
https://salsa.debian.org/bod/libapt-pkg-perl/-/blob/master/AptPkg.xs?ref_type=heads#L1233
.
I'll have to test that.
Yep, this is doing exactly what I expected and would need.
Good to know that it's as easy as that!
Mihai
Reply to: