Bug#808911: dh-make-perl: Switch from libdpkg-parse-perl to libdpkg-perl modules
gregor herrmann
gregoa at debian.org
Wed Mar 23 16:21:59 UTC 2016
On Thu, 24 Dec 2015 12:07:06 +0100, Guillem Jover wrote:
> 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:
> > > 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.
Andy, Dam, what do you think about Guillem's patch?
Cheers,
gregor
--
.''`. Homepage https://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
: :' : Debian GNU/Linux user, admin, and developer - https://www.debian.org/
`. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
`- NP: Arlo Guthrie: Coming Into Los Angeles
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20160323/f3eb3c9f/attachment.sig>
More information about the pkg-perl-maintainers
mailing list