Hello

Thanks to gregoa's sponsorship, the new parser for DEP5 is available in 
libconfig-model-perl 1.209.

To run it, use the command config-edit-dep5. 

For instance:
$ dh-make-perl --cpan Dancer
[snip]
$ cd Dancer-1.1812/
$ config-edit-dep5 -ui none
$ sed -i 's/GPL/PGL/' debian/copyright 
$ config-edit-dep5 -ui none
Configuration item 'Debian::Dep5 License id' has a wrong value:
        Unexpected key 'PGL-1'. Key must match ^(?i:Apache|Artistic|BSD|
FreeBSD|ISC|CC-BY|CC-BY-SA|CC-BY-ND|CC-BY-NC|CC-BY-NC-SA|CC-BY-NC-ND|CC0|CDDL|
CPL|Eiffel|Expat|GPL|LGPL|GFDL|GFDL-NIV|LPPL|MIT|MPL|Perl|PSF|QPL|W3C-
Software|ZLIB|Zope|other)[\d\.\-]*\+?$

'-ui none' option is specified to skip user interfaces.

Feel free to send feedback to improve this parser.

All the best


-- 
To UNSUBSCRIBE, email to debian-project-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201009221405.53690.domi.dum...@free.fr

Reply via email to