Bug#808911: dh-make-perl: Switch from libdpkg-parse-perl to libdpkg-perl modules

Guillem Jover guillem at debian.org
Thu Dec 24 11:07:06 UTC 2015


Package: dh-make-perl
Version: 0.89-1
Severity: wishlist
X-Debbugs-Cc: Andy Beverley <andy at andybev.com>

[ Filing this as a bug report, to not lose track of it. ]

Hi!

On Mon, 2015-09-28 at 12:37:22 +0100, Andrew Beverley wrote:
> On Mon, 2015-09-28 at 13:12 +0200, Guillem Jover wrote:
> > On Sat, 2015-09-26 at 21:12:57 +0300, Andy Beverley wrote:
> > > Package: wnpp
> > > Owner: Andy Beverley <andy at andybev.com>
> > > Severity: wishlist
> > > X-Debbugs-CC: debian-devel at lists.debian.org, 
> > > debian-perl at lists.debian.org
> > > 
> > > * Package name    : libdpkg-parse-perl
> > 
> > What's the advantage of this over the various modules in libdpkg-perl?
> 
> I think it's the only way to retrieve version information. It's a long time
> since I wrote my original patch for dh-make-perl, but I seem to remember
> that DPKG::Parse was the only module that provided certain information I
> needed (see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=774074).
> 
> I certainly tried to do it with other modules already packaged, but I
> couldn't gain all the required information.

The attached untested patch should in principle do it. In any case the
available file is only ever up-to-date when using dselect, so this is
probably not a very generic solution. And if it's too slow, this should
be fixed in libdpkg-perl anyway as that would benefit every caller.

Thanks,
Guillem
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Switch-from-libdpkg-parse-perl-to-libdpkg-perl-modul.patch
Type: text/x-diff
Size: 5358 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20151224/4208bbed/attachment.patch>


More information about the pkg-perl-maintainers mailing list