[libconfig-model-dpkg-perl] 01/04: add paste-license script

dod at debian.org dod at debian.org
Fri Oct 13 15:05:12 UTC 2017


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 b3c5b0cea5625bea57e74ff05844e7a5be1f2096
Author: Dominique Dumont <dod at debian.org>
Date:   Fri Oct 13 13:44:39 2017 +0200

    add paste-license script
---
 lib/Config/Model/scripts/paste-license | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/lib/Config/Model/scripts/paste-license b/lib/Config/Model/scripts/paste-license
new file mode 100644
index 0000000..ae8b5af
--- /dev/null
+++ b/lib/Config/Model/scripts/paste-license
@@ -0,0 +1,10 @@
+doc: paste license text in License paragraph
+doc: paste file: cme run paste-license --arg license=Expat --arg file=MIT.txt
+doc: paste STDIN: cat MIT.txt | cme run paste-license --arg license=Expat
+
+var: $var{input} = exists $args{file} ? $args{file} : '-';
+
+app: dpkg-copyright
+
+load: License:"$license" test=.file("$input")
+

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