[libtest-filename-perl] 01/01: Initial packaging.

Jonas Smedegaard dr at jones.dk
Mon Jun 2 11:13:59 UTC 2014


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

js pushed a commit to branch master
in repository libtest-filename-perl.

commit 3904b068ea2baa364e8092ee3e9f090c6f763ee4
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Mon Jun 2 13:10:56 2014 +0200

    Initial packaging.
---
 debian/README.source   | 11 ++++++++++
 debian/changelog       |  6 ++++++
 debian/clean           |  1 +
 debian/compat          |  1 +
 debian/control         | 47 +++++++++++++++++++++++++++++++++++++++++++
 debian/control.in      | 41 ++++++++++++++++++++++++++++++++++++++
 debian/copyright       | 44 ++++++++++++++++++++++++++++++++++++++++
 debian/copyright_hints | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++
 debian/gbp.conf        |  8 ++++++++
 debian/rules           | 38 +++++++++++++++++++++++++++++++++++
 debian/source/format   |  1 +
 debian/watch           |  4 ++++
 12 files changed, 256 insertions(+)

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..208a502
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+libtest-filename-perl (0.03-1) unstable; urgency=low
+
+  * Initial packaging release.
+    Closes: bug#750174.
+
+ -- Jonas Smedegaard <dr at jones.dk>  Mon, 02 Jun 2014 13:09:57 +0200
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..6dc3062
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1 @@
+Makefile.old
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..cda3c70
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,47 @@
+Source: libtest-filename-perl
+Section: perl
+Priority: optional
+Build-Depends: cdbs,
+ devscripts,
+ perl,
+ debhelper,
+ dh-buildinfo,
+ libpath-tiny-perl,
+ libtest-tester-perl
+Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
+Uploaders: Jonas Smedegaard <dr at jones.dk>
+Standards-Version: 3.9.5
+Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libtest-filename-perl
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libtest-filename-perl.git
+Homepage: https://metacpan.org/release/Test-Filename
+
+Package: libtest-filename-perl
+Architecture: all
+Depends: ${cdbs:Depends},
+ ${misc:Depends},
+ ${perl:Depends}
+Description: portable filename comparison
+ Many cross-platform test failures -- particularly on Win32 -- are due
+ to hard-coded file paths being used in comparison tests.
+ .
+  my $file = get_file();     # returns "foo\bar.t";
+  is( $file, "foo/bar.t" );  # fails on Win32
+ .
+ Test::Filename provides some handy functions to convert all those path
+ separators automatically so filename tests will just DWIM.
+ .
+ The alternative is to write your own utility subroutine and use it
+ everywhere or just keep on littering your test code with calls to
+ File::Spec -- yuck!
+ .
+  is( $file, File::Spec->canonpath("some/path"), "should pass" );
+ .
+ Since this module is so simple, you might not think it worth including
+ as a dependency.  After all, it's not that hard to always remember to
+ use File::Spec, Path::Tiny or some other file utility, right? But odds
+ are that, at some point, you'll be so busy writing tests that you'll
+ forget and hard-code a path in your haste to show what a clever
+ programmer you are.
+ .
+ So just use this module and stop worrying about it.  You'll be happier
+ and so will anyone trying to install your modules on Win32.
diff --git a/debian/control.in b/debian/control.in
new file mode 100644
index 0000000..7eb3877
--- /dev/null
+++ b/debian/control.in
@@ -0,0 +1,41 @@
+Source: libtest-filename-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.5
+Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libtest-filename-perl
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libtest-filename-perl.git
+Homepage: https://metacpan.org/release/Test-Filename
+
+Package: libtest-filename-perl
+Architecture: all
+Depends: ${cdbs:Depends},
+ ${misc:Depends},
+ ${perl:Depends}
+Description: portable filename comparison
+ Many cross-platform test failures -- particularly on Win32 -- are due
+ to hard-coded file paths being used in comparison tests.
+ .
+  my $file = get_file();     # returns "foo\bar.t";
+  is( $file, "foo/bar.t" );  # fails on Win32
+ .
+ Test::Filename provides some handy functions to convert all those path
+ separators automatically so filename tests will just DWIM.
+ .
+ The alternative is to write your own utility subroutine and use it
+ everywhere or just keep on littering your test code with calls to
+ File::Spec -- yuck!
+ .
+  is( $file, File::Spec->canonpath("some/path"), "should pass" );
+ .
+ Since this module is so simple, you might not think it worth including
+ as a dependency.  After all, it's not that hard to always remember to
+ use File::Spec, Path::Tiny or some other file utility, right? But odds
+ are that, at some point, you'll be so busy writing tests that you'll
+ forget and hard-code a path in your haste to show what a clever
+ programmer you are.
+ .
+ So just use this module and stop worrying about it.  You'll be happier
+ and so will anyone trying to install your modules on Win32.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..a82ce08
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,44 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Test::Filename
+Upstream-Contact: https://github.com/dagolden/Test-Filename/issues
+Source: https://metacpan.org/release/Test-Filename
+ git://github.com/dagolden/Test-Filename
+
+Files: *
+Copyright: 2007, David Golden <dagolden at cpan.org>
+License: Apache-2.0
+Comment:
+ License:
+ .
+ This is free software, licensed under:
+ .
+ The Apache License, Version 2.0, January 2004
+
+Files: debian/*
+Copyright: 2014, Jonas Smedegaard <dr at jones.dk>
+License: GPL-3+
+
+License: Apache-2.0
+ Comment:
+ .
+ On Debian systems the 'Apache License' version 2.0 is located in
+ '/usr/share/common-licenses/Apache-2.0'.
+
+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..2c5992a
--- /dev/null
+++ b/debian/copyright_hints
@@ -0,0 +1,54 @@
+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: CONTRIBUTING
+ Changes
+ MANIFEST
+ META.json
+ META.yml
+ Makefile.PL
+ Todo
+ debian/README.source
+ debian/clean
+ debian/compat
+ debian/control
+ debian/control.in
+ debian/gbp.conf
+ debian/source/format
+ debian/watch
+ dist.ini
+ examples/simple.t
+ t/00-compile.t
+ t/filename_is.t
+ xt/author/critic.t
+ xt/author/pod-spell.t
+ xt/release/distmeta.t
+ xt/release/pod-coverage.t
+ xt/release/pod-syntax.t
+ xt/release/portability.t
+ xt/release/test-version.t
+Copyright: *No copyright*
+License: UNKNOWN
+ FIXME
+
+Files: README
+ lib/Test/Filename.pm
+Copyright: 2007, David A. Golden
+License: UNKNOWN
+ FIXME
+
+Files: LICENSE
+Copyright: License. Subject to the terms and conditions of
+  You must retain, in the Source form of any Derivative Works
+  [yyyy
+License: Apache-2.0
+ FIXME
+
+Files: debian/rules
+Copyright: 2014, Jonas Smedegaard <dr at jones.dk>
+License: GPL-3+
+ 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/rules b/debian/rules
new file mode 100755
index 0000000..28a6f7b
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,38 @@
+#!/usr/bin/make -f
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright 2014, Jonas Smedegaard <dr at jones.dk>
+# Description: Main Debian packaging script for Test::Filename
+#
+# 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 = Test-Filename
+DEB_UPSTREAM_URL = http://www.cpan.org/authors/id/D/DA/DAGOLDEN
+
+# Needed by upstream build and (always) at runtime
+deps = libpath-tiny-perl
+
+# Needed (always) by upstream testsuite
+deps-test = libtest-tester-perl
+
+CDBS_BUILD_DEPENDS +=, $(deps), $(deps-test)
+CDBS_DEPENDS_$(pkg) = $(deps)
+
+DEB_INSTALL_EXAMPLES_$(pkg) = examples/*
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..59e10b9
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+# Run the "uscan" command to check for upstream updates and more.
+version=3
+https://metacpan.org/release/Test-Filename .*/Test-Filename-([\d.]+)\.tar\.gz
+http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Test-Filename-([\d.]+)\.tar\.gz

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



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