[libmodule-want-perl] 01/03: Initial packaging by dh-make-perl

gregor herrmann gregoa at debian.org
Wed Jan 1 22:56:31 UTC 2014


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

gregoa pushed a commit to branch master
in repository libmodule-want-perl.

commit f74b43d1fc5566a2e8ed44a755ae7b3e2551c3d2
Author: gregor herrmann <gregoa at debian.org>
Date:   Wed Jan 1 23:47:14 2014 +0100

    Initial packaging by dh-make-perl
---
 debian/changelog     |  5 +++++
 debian/compat        |  1 +
 debian/control       | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
 debian/copyright     | 36 ++++++++++++++++++++++++++++++++++++
 debian/rules         |  4 ++++
 debian/source/format |  1 +
 debian/watch         |  2 ++
 7 files changed, 97 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..6596ce7
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+libmodule-want-perl (0.6-1) UNRELEASED; urgency=low
+
+  * Initial Release.
+
+ -- gregor herrmann <gregoa at debian.org>  Wed, 1 Jan 2014 23:47:13 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..45a4fb7
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+8
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..f9a1a24
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,48 @@
+Source: libmodule-want-perl
+Section: perl
+Priority: optional
+Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
+Uploaders: gregor herrmann <gregoa at debian.org>
+Build-Depends: debhelper (>= 8)
+Build-Depends-Indep: libfile-path-tiny-perl,
+ libtest-carp-perl,
+ perl
+Standards-Version: 3.9.5
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libmodule-want-perl.git
+Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libmodule-want-perl.git
+Homepage: https://metacpan.org/release/Module-Want
+
+Package: libmodule-want-perl
+Architecture: all
+Depends: ${misc:Depends}, ${perl:Depends},
+ libfile-path-tiny-perl,
+ libtest-carp-perl
+Description: Check @INC once for modules that you want but may not have
+ Sometimes you want to lazy load a module for use in, say, a loop or function.
+ First you do the eval-require but then realize if the module is not available
+ it will re-search @INC each time. So then you add a lexical boolean to your
+ eval and do the same simple logic all over the place. On and on it goes :)
+ .
+ Module::Want encapsulates that logic so that have_mod() is like eval {
+ require X; 1 } but if the module can't be loaded it will remember that fact
+ and not look in @INC again on subsequent calls.
+ .
+ For example, this searches @INC for X.pm every iteration of the loop:
+ .
+ while( ... ) {
+ .
+ if (eval { require X; 1 }) {
+ .
+ ... use X code ...
+ .
+ }
+ .
+ else {
+ .
+ ... do X-alternative code ...
+ .
+ }
+ .
+ }
+ .
+ This description was automagically extracted from the module by dh-make-perl.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..67e411d
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,36 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Source: https://metacpan.org/release/Module-Want
+Upstream-Contact: Daniel Muey <http://drmuey.com/cpan_contact.pl>
+Upstream-Name: Module-Want
+DISCLAIMER: This copyright info was automatically extracted 
+ from the perl module. It may not be accurate, so you better 
+ check the module sources in order to ensure the module for its 
+ inclusion in Debian or for general legal information. Please, 
+ if licensing information is incorrectly generated, file a bug 
+ on dh-make-perl.
+ NOTE: Don't forget to remove this disclaimer once you are happy
+ with this file.
+
+Files: *
+Copyright: Daniel Muey <http://drmuey.com/cpan_contact.pl>
+License: 
+
+Files: debian/*
+Copyright: 2014, gregor herrmann <gregoa at debian.org>
+License: Artistic or GPL-1+
+
+License: Artistic
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the Artistic License, which comes with Perl.
+ .
+ On Debian systems, the complete text of the Artistic License can be
+ found in `/usr/share/common-licenses/Artistic'.
+
+License: GPL-1+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 1, or (at your option)
+ any later version.
+ .
+ On Debian systems, the complete text of version 1 of the GNU General
+ Public License can be found in `/usr/share/common-licenses/GPL-1'.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..2d33f6a
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+
+%:
+	dh $@
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..f9fc110
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+https://metacpan.org/release/Module-Want   .*/Module-Want-v?(\d[\d.-]*)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmodule-want-perl.git



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