Bug#774074: dh-make-perl: Recursive option does not check version of existing packages

Andrew Beverley andy at andybev.com
Sun Jun 7 22:05:35 UTC 2015


On Tue, 2015-05-26 at 10:18 +0000, Damyan Ivanov wrote:
> > 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?
>  }

Okay, I've done that, please find attached updated patch.

> > >  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.

As per the thread on debian-perl at lists.debian.org it will appear in the
repos soon (bug number currently missing).

However, given it's a recent addition, I've still done it as a
"require", and maybe we can move it to a hard dependency in due course.

Thanks,

Andy

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 774074.patch
Type: text/x-patch
Size: 8689 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20150607/9e880128/attachment-0001.bin>


More information about the pkg-perl-maintainers mailing list