[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

DEP5 parser is available in Debians/Sid



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


Reply to: