Hi

To improve my package, I had to add "<!nocheck>" to all libtest-*-perl packages 
found in the field Build-Depends-Indep
on debian/control file.

This can be done with cme with this line:

$ cme modify dpkg-control 'source Build-Depends-Indep:=~"s/^(libtest.*-perl)/$1 
<!nocheck>/"'
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait

Changes applied to dpkg-control configuration:
- source Build-Depends-Indep:17: 'libtest-command-perl' -> 
'libtest-command-perl <!nocheck>'
- source Build-Depends-Indep:18: 'libtest-differences-perl' -> 
'libtest-differences-perl <!nocheck>'
- source Build-Depends-Indep:19: 'libtest-exception-perl' -> 
'libtest-exception-perl <!nocheck>'
- source Build-Depends-Indep:20: 'libtest-file-contents-perl' -> 
'libtest-file-contents-perl <!nocheck>'
- source Build-Depends-Indep:21: 'libtest-log-log4perl-perl' -> 
'libtest-log-log4perl-perl <!nocheck>'
- source Build-Depends-Indep:22: 'libtest-memory-cycle-perl' -> 
'libtest-memory-cycle-perl <!nocheck>'
- source Build-Depends-Indep:23: 'libtest-pod-perl' -> 'libtest-pod-perl 
<!nocheck>'
- source Build-Depends-Indep:24: 'libtest-synopsis-expectation-perl' -> 
'libtest-synopsis-expectation-perl <!nocheck>'
- source Build-Depends-Indep:25: 'libtest-warn-perl' -> 'libtest-warn-perl 
<!nocheck>'

This modify command contains an instruction in the format specified by 
Config::Model::Loader [1]

Since 'source Build-Depends-Indep' is a list, the command ":=~" applies the 
substitution instructions to all element of Build-Depends-Indep. This 
substitution follows Perl syntax to append "<!nocheck>" to all elements that 
match the regexp "libtest.*-perl".

HTH

[1] https://metacpan.org/pod/Config::Model::Loader




Reply via email to