[libconfig-model-dpkg-perl] 02/03: Dpkg model: added XS-Ruby-Versions and XB-Ruby-Versions fields (Closes: #713053)

dod at debian.org dod at debian.org
Fri Aug 23 16:44:17 UTC 2013


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

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

commit 69134a30dacea7f3e44b16bfad49e7700d44e073
Author: Dominique Dumont <dod at debian.org>
Date:   Fri Aug 23 18:43:31 2013 +0200

    Dpkg model: added XS-Ruby-Versions and XB-Ruby-Versions fields (Closes: #713053)
---
 lib/Config/Model/models/Dpkg/Control/Binary.pl |   19 +++++++++++++++++++
 lib/Config/Model/models/Dpkg/Control/Source.pl |   19 +++++++++++++++++++
 2 files changed, 38 insertions(+)

diff --git a/lib/Config/Model/models/Dpkg/Control/Binary.pl b/lib/Config/Model/models/Dpkg/Control/Binary.pl
index dd908a5..fefb387 100644
--- a/lib/Config/Model/models/Dpkg/Control/Binary.pl
+++ b/lib/Config/Model/models/Dpkg/Control/Binary.pl
@@ -275,6 +275,25 @@ else {
         },
         'mandatory' => '1',
         'type' => 'leaf'
+      },
+      'XB-Ruby-Versions',
+      {
+        'value_type' => 'uniline',
+        'level' => 'hidden',
+        'warp' => {
+          'follow' => {
+            'section' => '- - source Section'
+          },
+          'rules' => [
+            '$section =~ m!ruby$!',
+            {
+              'level' => 'normal'
+            }
+          ]
+        },
+        'type' => 'leaf',
+        'description' => 'indicate the versions of the interpreter
+supported by the library'
       }
     ]
   }
diff --git a/lib/Config/Model/models/Dpkg/Control/Source.pl b/lib/Config/Model/models/Dpkg/Control/Source.pl
index b5fb37e..a4e90f3 100644
--- a/lib/Config/Model/models/Dpkg/Control/Source.pl
+++ b/lib/Config/Model/models/Dpkg/Control/Source.pl
@@ -331,6 +331,25 @@ $new ;',
         'experience' => 'advanced',
         'type' => 'leaf',
         'description' => 'This field specifies the versions of Python 3 supported by the package. For more detail, See L<python policy|http://www.debian.org/doc/packaging-manuals/python-policy/ch-module_packages.html#s-specifying_versions>'
+      },
+      'XS-Ruby-Versions',
+      {
+        'value_type' => 'uniline',
+        'level' => 'hidden',
+        'warp' => {
+          'follow' => {
+            'section' => '- Section'
+          },
+          'rules' => [
+            '$section =~ m!ruby$!',
+            {
+              'level' => 'normal'
+            }
+          ]
+        },
+        'type' => 'leaf',
+        'description' => 'indicate the versions of the interpreter
+supported by the library'
       }
     ]
   }

-- 
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