[libconfig-model-dpkg-perl] 01/03: dpkg-control model: allow autopkgtest-pkg-{ruby, perl} in Testsuite header.

gregor herrmann gregoa at debian.org
Sat Sep 27 17:00:54 UTC 2014


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libconfig-model-dpkg-perl.

commit 3e8bc80dcf6e9b60f2c6eb2216198d8954ea2ab6
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Sep 27 18:59:03 2014 +0200

    dpkg-control model: allow autopkgtest-pkg-{ruby,perl} in Testsuite header.
---
 lib/Config/Model/models/Dpkg/Control/Source.pl | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/lib/Config/Model/models/Dpkg/Control/Source.pl b/lib/Config/Model/models/Dpkg/Control/Source.pl
index ec438a6..cc3f803 100644
--- a/lib/Config/Model/models/Dpkg/Control/Source.pl
+++ b/lib/Config/Model/models/Dpkg/Control/Source.pl
@@ -78,21 +78,21 @@ area/section if the package is in the contrib or non-free archive areas.
       },
       'XS-Testsuite',
       {
-        'description' => 'Enable a testsuite to be used with this package. Currently only the \'autopkgtest\' name is allowed. For more details see L<README.package-tests.rst|https://anonscm.debian.org/cgit/autopkgtest/autopkgtest.git/plain/doc/README.package-tests.rst>',
+        'description' => 'Enable a testsuite to be used with this package. For more details see L<README.package-tests.rst|https://anonscm.debian.org/cgit/autopkgtest/autopkgtest.git/plain/doc/README.package-tests.rst>',
         'status' => 'deprecated',
         'summary' => 'name of the non regression test suite',
         'type' => 'leaf',
         'value_type' => 'uniline',
         'warn_unless_match' => {
-          '^autopkgtest$' => {
+          '^autopkgtest(-pkg-(perl|ruby))?$' => {
             'fix' => '$_ = undef; # restore default value',
-            'msg' => 'Currently, only "autopkgtest" is supported'
+            'msg' => 'Unknown value'
           }
         }
       },
       'Testsuite',
       {
-        'description' => 'Enable a testsuite to be used with this package. Currently only the \'autopkgtest\' name is allowed. For more details see L<README.package-tests.rst|https://anonscm.debian.org/cgit/autopkgtest/autopkgtest.git/plain/doc/README.package-tests.rst>',
+        'description' => 'Enable a testsuite to be used with this package. For more details see L<README.package-tests.rst|https://anonscm.debian.org/cgit/autopkgtest/autopkgtest.git/plain/doc/README.package-tests.rst>',
         'migrate_from' => {
           'formula' => '$xs_testsuite',
           'variables' => {
@@ -103,9 +103,9 @@ area/section if the package is in the contrib or non-free archive areas.
         'type' => 'leaf',
         'value_type' => 'uniline',
         'warn_unless_match' => {
-          '^autopkgtest$' => {
+          '^autopkgtest(-pkg-(perl|ruby))?$' => {
             'fix' => '$_ = undef; # restore default value',
-            'msg' => 'Currently, only "autopkgtest" is supported'
+            'msg' => 'Unknown value'
           }
         }
       },

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libconfig-model-dpkg-perl.git



More information about the Pkg-perl-cvs-commits mailing list