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 523716fd9ad6d0ed64a196b6fe5fb5ab5e4ff37e Author: Dominique Dumont <d...@debian.org> Date: Mon Feb 13 13:21:08 2017 +0100 add support for debian/*.install files --- lib/Config/Model/models/Dpkg.pl | 11 +++++++++ lib/Config/Model/models/Dpkg/Install.pl | 41 +++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/lib/Config/Model/models/Dpkg.pl b/lib/Config/Model/models/Dpkg.pl index ce563be..3c33d5e 100644 --- a/lib/Config/Model/models/Dpkg.pl +++ b/lib/Config/Model/models/Dpkg.pl @@ -113,6 +113,17 @@ details', 'summary' => 'copyright and license information', 'type' => 'node' }, + 'install', + { + 'cargo' => { + 'config_class_name' => 'Dpkg::Install', + 'type' => 'node' + }, + 'description' => 'List the files to install into each package and the directory they should be installed to.', + 'follow_keys_from' => '- control binary', + 'index_type' => 'string', + 'type' => 'hash' + }, 'source', { 'config_class_name' => 'Dpkg::Source', diff --git a/lib/Config/Model/models/Dpkg/Install.pl b/lib/Config/Model/models/Dpkg/Install.pl new file mode 100644 index 0000000..7be19c7 --- /dev/null +++ b/lib/Config/Model/models/Dpkg/Install.pl @@ -0,0 +1,41 @@ +[ + { + 'class_description' => 'Contains the list of files to be installed by L<dh_install>', + 'element' => [ + 'list', + { + 'cargo' => { + 'type' => 'leaf', + 'value_type' => 'uniline' + }, + 'description' => 'a file or files to install. The end of the line tells the directory it +should be installed in. The name of the files (or directories) to +install should be given relative to the current directory, while the +installation directory is given relative to the package build +directory. You may use wildcards in the names of the files to install +(in v3 mode and above). + +Note that if you list exactly one filename or wildcard-pattern, with +no explicit destination, then dh_install will automatically guess the +destination to use, the same as if the --autodest option were used. + +See L<dh_install> for more details. +', + 'duplicates' => 'warn', + 'type' => 'list' + } + ], + 'name' => 'Dpkg::Install', + 'read_config' => [ + { + 'auto_create' => '1', + 'auto_delete' => '1', + 'backend' => 'PlainFile', + 'config_dir' => 'debian', + 'file' => '&index.install' + } + ] + } +] +; + -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libconfig-model-dpkg-perl.git _______________________________________________ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits