-=| Andrew Beverley, 25.05.2015 09:48:41 +0100 |=- > On Sat, 2015-05-23 at 16:18 +0000, Damyan Ivanov wrote: > > I like the patch, though it needs DPKG::Parse::Available in Debian > > before it could be applied as is. Maybe make that part conditional on > > DPKG::Parse::Available being present? > > That's fine. Is the correct way to do this by doing a "require", and > removing the "use"?
I think so. Something like if ( eval { require DPKG::Parse::Available } ) { ... } else { # perhaps some word of warning? } would allow for the patch to be included in dh-make-perl for the benefit of those installing DPKG::Parse::Available from CPAN. (Oh, and adding DPKG::Parse::Available to META's recommended list would be nice) > > Do you plan to package that in Debian? > > Yes, that's fine, I can do that, I just need to spend a bit of time > reading up on how to package correctly. I'll update this ticket once > I've done that. Cool! Then I guess we can make DPKG::Parse::Available a hard dependency and give everyone a better experience. -- dam -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org