Bug#850000: libdebian-source-perl: fails to parse build-depends restriction formulas

gregor herrmann gregoa at debian.org
Tue Jan 3 01:19:51 UTC 2017


Control: block -1 with 757760 # half-jokingly

On Mon, 02 Jan 2017 20:56:10 -0400, David Bremner wrote:

> Build-Depends: debhelper (>= 10),
>  dh-elpa,
>  racket <!nocheck>
> 
> % dh_elpa_test
> 
> leads to
> 
> Unable to parse 'racket <!nocheck>' at /usr/share/perl5/Debian/Dependency.pm line 331

Debian::Dependency just follows Debian Policy (7.1) which doesn't
know yet about build profiles:
https://bugs.debian.org/757760
https://wiki.debian.org/BuildProfileSpec

If the spec in the wiki is correct, adding this to the parse() sub in
./lib/Debian/Dependency.pm should be relatively straightforward.
And there's even a t/Dep.t.


Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at/ - Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Beatles
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20170103/5cc1c538/attachment.sig>


More information about the pkg-perl-maintainers mailing list