[libapp-cpants-lint-perl] 01/01: Initial packaging.

Jonas Smedegaard dr at jones.dk
Fri Oct 17 15:36:31 UTC 2014


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

js pushed a commit to branch master
in repository libapp-cpants-lint-perl.

commit 7b1c4b6e457f51db905c37e9cce72b25eb54e1a0
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Fri Oct 17 17:01:49 2014 +0200

    Initial packaging.
---
 .gitignore                                         |  1 +
 debian/README.source                               | 11 ++++
 debian/changelog                                   |  6 +++
 debian/compat                                      |  1 +
 debian/control                                     | 27 ++++++++++
 debian/control.in                                  | 20 ++++++++
 debian/copyright                                   | 55 ++++++++++++++++++++
 debian/copyright_hints                             | 59 ++++++++++++++++++++++
 debian/gbp.conf                                    |  8 +++
 debian/patches/2001_ref_stripped_exec_in_pod.patch | 30 +++++++++++
 debian/patches/README                              |  3 ++
 debian/patches/series                              |  1 +
 debian/rules                                       | 46 +++++++++++++++++
 debian/source/format                               |  1 +
 debian/watch                                       |  4 ++
 15 files changed, 273 insertions(+)

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..b408e6c
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/.pc
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..f88449e
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,11 @@
+CDBS+git-buildpackage
+---------------------
+
+This source package uses CDBS and git-buildpackage.  NMUs need not (but
+are encouraged to) make special use of these tools.  In particular, the
+debian/control.in file can be completely ignored.
+
+More info here: http://wiki.debian.org/CDBS+git-buildpackage
+
+
+ -- Jonas Smedegaard <dr at jones.dk>  Mon, 18 Feb 2013 12:55:37 +0100
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..3d32978
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+libapp-cpants-lint-perl (0.04-1) unstable; urgency=low
+
+  * Initial packaging release.
+    Closes: bug#765723.
+
+ -- Jonas Smedegaard <dr at jones.dk>  Fri, 17 Oct 2014 17:28:45 +0200
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..9fd5ed2
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,27 @@
+Source: libapp-cpants-lint-perl
+Section: perl
+Priority: optional
+Build-Depends: cdbs,
+ devscripts,
+ perl,
+ debhelper,
+ dh-buildinfo,
+ libextutils-makemaker-cpanfile-perl,
+ libmodule-cpants-analyse-perl,
+ libtest-useallmodules-perl
+Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
+Uploaders: Jonas Smedegaard <dr at jones.dk>
+Standards-Version: 3.9.6
+Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libapp-cpants-lint-perl
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libapp-cpants-lint-perl.git
+Homepage: https://metacpan.org/pod/App::CPANTS::Lint
+
+Package: libapp-cpants-lint-perl
+Architecture: all
+Depends: ${cdbs:Depends},
+ ${misc:Depends},
+ ${perl:Depends}
+Description: commandline frontend to Module::CPANTS::Analyse
+ cpants_lint checks the Kwalitee of a CPAN distribution.  More exact, it
+ checks how a given tarball will be rated on <http://cpants.perl.org>,
+ without needing to upload it first.
diff --git a/debian/control.in b/debian/control.in
new file mode 100644
index 0000000..fd04b38
--- /dev/null
+++ b/debian/control.in
@@ -0,0 +1,20 @@
+Source: libapp-cpants-lint-perl
+Section: perl
+Priority: optional
+Build-Depends: @cdbs@
+Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
+Uploaders: Jonas Smedegaard <dr at jones.dk>
+Standards-Version: 3.9.6
+Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libapp-cpants-lint-perl
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libapp-cpants-lint-perl.git
+Homepage: https://metacpan.org/pod/App::CPANTS::Lint
+
+Package: libapp-cpants-lint-perl
+Architecture: all
+Depends: ${cdbs:Depends},
+ ${misc:Depends},
+ ${perl:Depends}
+Description: commandline frontend to Module::CPANTS::Analyse
+ cpants_lint checks the Kwalitee of a CPAN distribution.  More exact, it
+ checks how a given tarball will be rated on <http://cpants.perl.org>,
+ without needing to upload it first.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..8ec1595
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,55 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: App::CPANTS::Lint
+Upstream-Contact: http://rt.cpan.org/Dist/Display.html?Queue=app-cpants-lint
+Source: http://search.cpan.org/dist/app-cpants-lint/
+ git://github.com/charsbar/App-CPANTS-Lint
+
+Files: *
+Copyright: 2003–2006,2009, Thomas Klausner <https://metacpan.org/author/domm>
+  2014, Kenichi Ishigaki <ishigaki at cpan.org>
+License: Artistic or GPL-1+
+Comment:
+ License:
+ .
+ This is free software; you can redistribute it and/or modify it under
+ the same terms as the Perl 5 programming language system itself.
+ .
+ Comment:
+ .
+ Perl 5 is licensed under either the 'Artistic license' or the 'GNU
+ General Public License' version 1 or later.
+
+Files: debian/*
+Copyright: 2014, Jonas Smedegaard <dr at jones.dk>
+License: GPL-3+
+
+License: Artistic
+ Comment:
+ .
+ On Debian systems the 'Artistic License' is located in
+ '/usr/share/common-licenses/Artistic'.
+
+License: GPL-1+
+ Comment:
+ .
+ On Debian systems the 'GNU General Public License' version 1 is located
+ in '/usr/share/common-licenses/GPL-1'.
+
+License: GPL-3+
+ 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 3, or (at your option) any
+ later version.
+ .
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ General Public License for more details.
+ .
+ Comment:
+ .
+ On Debian systems the 'GNU General Public License' version 3 is located
+ in '/usr/share/common-licenses/GPL-3'.
+ .
+ You should have received a copy of the 'GNU General Public License'
+ along with this program.  If not, see <http://www.gnu.org/licenses/>.
diff --git a/debian/copyright_hints b/debian/copyright_hints
new file mode 100644
index 0000000..e932d92
--- /dev/null
+++ b/debian/copyright_hints
@@ -0,0 +1,59 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: FIXME
+Upstream-Contact: FIXME
+Source: FIXME
+Disclaimer: Autogenerated by CDBS
+
+Files: Changes
+ MANIFEST
+ META.json
+ META.yml
+ Makefile.PL
+ cpanfile
+ debian/README.source
+ debian/compat
+ debian/control
+ debian/control.in
+ debian/gbp.conf
+ debian/patches/2001_ref_stripped_exec_in_pod.patch
+ debian/patches/README
+ debian/patches/series
+ debian/source/format
+ debian/watch
+ t/00_load.t
+ xt/10_basic.t
+ xt/99_pmv.t
+ xt/99_pod.t
+ xt/99_podcoverage.t
+Copyright: *No copyright*
+License: UNKNOWN
+ FIXME
+
+Files: README
+ lib/App/CPANTS/Lint.pm
+Copyright: 2014, Kenichi Ishigaki
+License: UNKNOWN
+ FIXME
+
+Files: debian/rules
+Copyright: 2014, Jonas Smedegaard <dr at jones.dk>
+License: GPL-3+
+ FIXME
+
+Files: LICENSE
+Copyright: 1989, Free Software Foundation, Inc
+  19xx name of author
+  19yy <name of author>
+  2014, Kenichi Ishigaki
+  disclaimer" for the program, if
+  interest in the
+  the software, and
+License: GPL-ever
+ FIXME
+
+Files: bin/cpants_lint.pl
+Copyright: 2003–2006, 2009 L<Thomas Klausner|https://metacpan.org/author/domm>
+  2014, L<Kenichi Ishigaki|https://metacpan.org/author/ishigaki>
+License: UNKNOWN
+ FIXME
+
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..790a2f9
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,8 @@
+# Configuration file for git-buildpackage and friends
+
+[DEFAULT]
+pristine-tar = True
+sign-tags = True
+
+[git-import-orig]
+filter = .gitignore
diff --git a/debian/patches/2001_ref_stripped_exec_in_pod.patch b/debian/patches/2001_ref_stripped_exec_in_pod.patch
new file mode 100644
index 0000000..2c3cfe8
--- /dev/null
+++ b/debian/patches/2001_ref_stripped_exec_in_pod.patch
@@ -0,0 +1,30 @@
+Description: Reference executable with .pl extension stripped
+Author: Jonas Smedegaard <dr at jones.dk>
+Origin: vendor
+Forwarded: not-needed
+
+--- a/bin/cpants_lint.pl
++++ b/bin/cpants_lint.pl
+@@ -28,11 +28,11 @@
+ 
+ =head1 NAME
+ 
+-cpants_lint.pl - commandline frontend to Module::CPANTS::Analyse
++cpants_lint - commandline frontend to Module::CPANTS::Analyse
+ 
+ =head1 SYNOPSIS
+ 
+-    cpants_lint.pl path/to/Foo-Dist-1.42.tgz
++    cpants_lint path/to/Foo-Dist-1.42.tgz
+ 
+     Options:
+         --help              brief help message
+@@ -50,7 +50,7 @@
+ 
+ =head1 DESCRIPTION
+ 
+-C<cpants_lint.pl> checks the B<Kwalitee> of a CPAN distribution. More exact, it checks how a given tarball will be rated on C<http://cpants.perl.org>, without needing to upload it first.
++C<cpants_lint> checks the B<Kwalitee> of a CPAN distribution. More exact, it checks how a given tarball will be rated on C<http://cpants.perl.org>, without needing to upload it first.
+ 
+ For more information on Kwalitee, and the whole of CPANTS, see C<http://cpants.perl.org> and / or C<Module::CPANTS::Analyse>.
+ 
diff --git a/debian/patches/README b/debian/patches/README
new file mode 100644
index 0000000..80c1584
--- /dev/null
+++ b/debian/patches/README
@@ -0,0 +1,3 @@
+0xxx: Grabbed from upstream development.
+1xxx: Possibly relevant for upstream adoption.
+2xxx: Only relevant for official Debian release.
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..633fee1
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+2001_ref_stripped_exec_in_pod.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..9377ada
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,46 @@
+#!/usr/bin/make -f
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright 2014, Jonas Smedegaard <dr at jones.dk>
+# Description: Main Debian packaging script for App::CPANTS::Lint
+#
+# 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 3, or (at your option)
+# any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+include /usr/share/cdbs/1/rules/upstream-tarball.mk
+include /usr/share/cdbs/1/rules/utils.mk
+include /usr/share/cdbs/1/class/perl-makemaker.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+pkg = $(DEB_SOURCE_PACKAGE)
+
+DEB_UPSTREAM_PACKAGE = App-CPANTS-Lint
+DEB_UPSTREAM_URL = http://www.cpan.org/authors/id/I/IS/ISHIGAKI
+
+# Needed by upstream build
+bdeps = libextutils-makemaker-cpanfile-perl
+
+# Needed by upstream build and (always) at runtime
+deps = libmodule-cpants-analyse-perl
+
+# Needed by upstream testsuite
+deps-test = libtest-useallmodules-perl
+
+CDBS_BUILD_DEPENDS +=, $(bdeps), $(deps), $(deps-test)
+CDBS_DEPENDS_$(pkg) = $(deps)
+
+# Strip extension from executable and its man page
+binary-post-install/$(pkg)::
+	mv $(cdbs_curdestdir)usr/bin/cpants_lint.pl \
+		$(cdbs_curdestdir)usr/bin/cpants_lint
+	mv $(cdbs_curdestdir)usr/share/man/man1/cpants_lint.pl.1p \
+		$(cdbs_curdestdir)usr/share/man/man1/cpants_lint.1p
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..01d36a4
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+# Run the "uscan" command to check for upstream updates and more.
+version=3
+http://www.cpan.org/authors/id/I/IS/ISHIGAKI/App-CPANTS-Lint-([\d.]+)\.tar\.gz
+https://metacpan.org/release/App-CPANTS-Lint .*/App-CPANTS-Lint-([\d.]+)\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libapp-cpants-lint-perl.git



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