[libtest-inline-perl] 01/01: added debian/

Jonas Genannt jonas at brachium-system.net
Fri Aug 16 14:13:52 UTC 2013


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

hggh-guest pushed a commit to branch master
in repository libtest-inline-perl.

commit 3d5e32b0b6a98ef1b51f94db26b4ec1f620060e8
Author: Jonas Genannt <jonas at brachium-system.net>
Date:   Fri Aug 16 16:13:44 2013 +0200

    added debian/
---
 debian/changelog                  |   71 ++++++++++++++++++++++++++
 debian/compat                     |    1 +
 debian/control                    |   39 ++++++++++++++
 debian/copyright                  |   30 +++++++++++
 debian/patches/series             |    1 +
 debian/patches/test_pod_pmv.patch |  101 +++++++++++++++++++++++++++++++++++++
 debian/rules                      |    4 ++
 debian/source/format              |    1 +
 8 files changed, 248 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..ad6d7a5
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,71 @@
+libtest-inline-perl (2.213-1) UNRELEASED; urgency=low
+
+  * New Upstream Version
+  * Changed Maintainer to Perl Group
+  * reworked debian/ with dh-make-perl
+
+ -- Jonas Genannt <jonas.genannt at capi2name.de>  Fri, 16 Aug 2013 16:00:10 +0200
+
+libtest-inline-perl (2.212-1) unstable; urgency=low
+
+  * new upstream version
+  * bumped standards version
+    - dh_clean -k to dh_prep
+  * bumped dehelper compat version
+  * added ${misc:Depends} to package depends
+  * changed PREFIX to DESTDIR
+
+ -- Jonas Genannt <jonas.genannt at capi2name.de>  Thu, 30 Jun 2011 21:32:25 +0200
+
+libtest-inline-perl (2.208-1) unstable; urgency=low
+
+  * New Upstream Release
+  * new standards version
+  * fixed build depends (lintian error)
+  * new build depends: libtest-script-perl, libfile-chmod-perl
+
+ -- Jonas Genannt <jonas.genannt at capi2name.de>  Sun, 7 Dec 2008 00:17:22 +0200
+
+libtest-inline-perl (2.201-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix FTBFS with Perl 5.10.  Closes: #468010 
+
+ -- Mark Hymers <mhy at debian.org>  Sat, 05 Apr 2008 17:04:03 +0100
+
+libtest-inline-perl (2.201-1) unstable; urgency=low
+
+  * New Upstream Release
+  * bumped to Standards-Version 3.7.2 (no changes needed)
+
+ -- Jonas Genannt <jonas.genannt at capi2name.de>  Sat, 10 Feb 2007 16:51:23 +0100
+
+libtest-inline-perl (2.103-1) unstable; urgency=low
+
+  * New upstream version (Closes: #335470)
+  * debian/control cleanup (Closes: #181078)
+  * debian/control new standards version
+  * debian/control new depends:
+    + libparams-util-perl
+    + libpod-tests-perl
+    + libalgorithm-dependency-perl
+    + libfile-flat-perl
+  * New Maintainer (Closes: #329990)
+  * debian/rules cleanup
+
+ -- Jonas Genannt <jonas.genannt at capi2name.de>  Sun, 8 Jan 2006 12:23:23 +0200
+
+libtest-inline-perl (0.16-1) unstable; urgency=low
+
+  * New upstream version
+  * Change Section: from interpreters to perl
+  * debhelper compat v4
+
+ -- Ivan Kohler <ivan-debian at 420.am>  Sat,  7 Aug 2004 21:11:49 -0700
+
+libtest-inline-perl (0.15-1) unstable; urgency=low
+
+  * Initial Release (closes: Bug#179017).
+
+ -- Ivan Kohler <ivan-debian at 420.am>  Wed, 29 Jan 2003 20:09:13 -0800
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..874667e
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,39 @@
+Source: libtest-inline-perl
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 9.20120312)
+Build-Depends-Indep: perl,
+ libfile-slurp-perl,
+ libfile-find-rule-perl,
+ libconfig-tiny-perl,
+ libclass-autouse-perl,
+ libparams-util-perl,
+ libpod-tests-perl,
+ libalgorithm-dependency-perl,
+ libfile-flat-perl,
+ libtest-script-perl,
+ libfile-chmod-perl
+Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
+Uploaders: Jonas Genannt <jonas.genannt at capi2name.de>
+Standards-Version: 3.9.4
+Homepage: https://metacpan.org/release/Test-Inline/
+Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libtest-inline-perl.git
+Vcs-Browser: http://git.debian.org/?p=pkg-perl/packages/libtest-inline-perl.git;a=summary
+
+Package: libtest-inline-perl
+Architecture: all
+Depends: ${perl:Depends},
+ ${misc:Depends},
+ libparams-util-perl,
+ libclass-autouse-perl,
+ libfile-slurp-perl,
+ libfile-find-rule-perl,
+ libconfig-tiny-perl,
+ libalgorithm-dependency-perl,
+ libpod-tests-perl,
+ libfile-flat-perl,
+ libfile-chmod-perl
+Description: Perl extension for embed tests and code examples in POD
+ Test::Inline is a way to embed tests in the same file as your source code
+ rather than in a separate file. The idea is, the closer your tests are to
+ your code and docs, the more likely you'll keep them up to date.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..0cb127e
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,30 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Test-Inline
+Source: https://metacpan.org/release/Test-Inline/
+Upstream-Contact: Adam Kennedy <adamk at cpan.org>
+
+Files: *
+Copyright: 2004-2013 Adam Kennedy <adamk at cpan.org>
+License: GPL-1 or Artistic
+
+Files: debian/*
+Copyright: 2003-2004 Ivan Kohler <ivan-debian at 420.am>
+           2008 Mark Hymers <mhy at debian.org>
+           2006-2016 Jonas Genannt <jonas.genannt at capi2name.de>
+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/patches/series b/debian/patches/series
new file mode 100644
index 0000000..844ffc7
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+test_pod_pmv.patch
diff --git a/debian/patches/test_pod_pmv.patch b/debian/patches/test_pod_pmv.patch
new file mode 100644
index 0000000..d0452dc
--- /dev/null
+++ b/debian/patches/test_pod_pmv.patch
@@ -0,0 +1,101 @@
+diff --git a/t/98_pod.t b/t/98_pod.t
+new file mode 100644
+index 0000000..8e61c1e
+--- /dev/null
++++ b/t/98_pod.t
+@@ -0,0 +1,67 @@
++#!/usr/bin/perl
++
++use strict;
++BEGIN {
++	$|  = 1;
++	$^W = 1;
++}
++use Test::More;
++
++# Skip if doing a regular install
++unless ( $ENV{AUTOMATED_TESTING} ) {
++	plan( skip_all => "Author tests not required for installation" );
++}
++
++# Load the testing modules if we can
++eval "use Test::Pod 1.00";
++if ( $@ ) {
++	plan( skip_all => "Test::Pod not available for testing" );
++}
++
++all_pod_files_ok();
++exit(0);
++
++
++
++
++
++#####################################################################
++# WARNING: INSANE BLACK MAGIC
++#####################################################################
++
++# Hack Pod::Simple::BlackBox to ignore the Test::Inline
++# "Extended Begin" syntax.
++# For example, "=begin has more than one word errors"
++my $begin;
++if ( $Test::Pod::VERSION ) {
++	$begin = \&Pod::Simple::BlackBox::_ponder_begin;
++}
++sub mybegin {
++	my $para = $_[1];
++	my $content = join ' ', splice @$para, 2;
++	$content =~ s/^\s+//s;
++	$content =~ s/\s+$//s;
++	my @words = split /\s+/, $content;
++	if ( $words[0] =~ /^test(?:ing)?\z/s ) {
++		foreach ( 2 .. $#$para ) {
++			$para->[$_] = '';
++		}
++		$para->[2] = $words[0];
++	}
++
++	# Continue as normal
++	push @$para, @words;
++	return &$begin(@_);
++}
++
++SCOPE: {
++	local $^W = 0;
++	if ( $Test::Pod::VERSION ) {
++		*Pod::Simple::BlackBox::_ponder_begin = \&mybegin;
++	}
++}
++
++#####################################################################
++# END BLACK MAGIC
++#####################################################################
++
+diff --git a/t/99_pmv.t b/t/99_pmv.t
+new file mode 100644
+index 0000000..55384b2
+--- /dev/null
++++ b/t/99_pmv.t
+@@ -0,0 +1,22 @@
++#!/usr/bin/perl
++
++use strict;
++BEGIN {
++	$|  = 1;
++	$^W = 1;
++}
++use Test::More;
++
++# Skip if doing a regular install
++unless ( $ENV{AUTOMATED_TESTING} ) {
++	plan( skip_all => "Author tests not required for installation" );
++}
++
++# Can we run the version tests
++eval "use Test::MinimumVersion 0.007;";
++if ( $@ ) {
++	plan( skip_all => "Test::MinimumVersion not available" );
++}
++
++# Test minimum version
++all_minimum_version_from_metayml_ok();
diff --git a/debian/rules b/debian/rules
new file mode 100644
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)

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



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