diff options
-rw-r--r-- | debian/changelog | 135 | ||||
-rw-r--r-- | debian/control | 26 | ||||
-rw-r--r-- | debian/copyright | 31 | ||||
-rw-r--r-- | debian/patches/autopkgtest.patch | 67 | ||||
-rw-r--r-- | debian/patches/series | 1 | ||||
-rwxr-xr-x | debian/rules | 4 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/upstream/metadata | 6 | ||||
-rw-r--r-- | debian/watch | 2 |
9 files changed, 273 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..587be97 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,135 @@ +libparse-pmfile-perl (0.45-1) unstable; urgency=medium + + * Import upstream version 0.45. + * Update years of packaging copyright. + + -- gregor herrmann <gregoa@debian.org> Sat, 27 Jan 2024 03:00:56 +0100 + +libparse-pmfile-perl (0.44-1) unstable; urgency=medium + + * Import upstream version 0.44. + * Update years of packaging copyright. + * Declare compliance with Debian Policy 4.6.2. + * Remove Bug-Report from debian/upstream/metadata. + + -- gregor herrmann <gregoa@debian.org> Tue, 27 Jun 2023 17:41:04 +0200 + +libparse-pmfile-perl (0.43-2) unstable; urgency=medium + + [ Debian Janitor ] + * Apply multi-arch hints. + libparse-pmfile-perl: Add Multi-Arch: foreign. + + -- Jelmer Vernooij <jelmer@debian.org> Sat, 22 Oct 2022 10:33:36 +0100 + +libparse-pmfile-perl (0.43-1) unstable; urgency=medium + + [ Debian Janitor ] + * Set upstream metadata fields: Bug-Submit. + * Remove obsolete fields Contact, Name from debian/upstream/metadata + (already present in machine-readable debian/copyright). + + [ gregor herrmann ] + * Import upstream version 0.43. + * Update years of packaging copyright. + * Declare compliance with Debian Policy 4.5.1. + * Bump debhelper-compat to 13. + + -- gregor herrmann <gregoa@debian.org> Sun, 13 Dec 2020 02:36:27 +0100 + +libparse-pmfile-perl (0.42-1) unstable; urgency=medium + + * Team upload. + + [ Salvatore Bonaccorso ] + * Update Vcs-* headers for switch to salsa.debian.org + + [ gregor herrmann ] + * debian/*: replace ADTTMP with AUTOPKGTEST_TMP. + + [ Nick Morrott ] + * New upstream version 0.42 + * d/compat: + - Drop file + * d/control: + - Declare compliance with Debian Policy 4.4.1 (no changes) + - Bump debhelper compatibility level to 12 + - Add Rules-Requires-Root field + * d/copyright: + - Refresh Debian Files stanza + * d/watch: + - Migrate to version 4 of the watch file format + + -- Nick Morrott <nickm@debian.org> Tue, 12 Nov 2019 11:28:14 +0000 + +libparse-pmfile-perl (0.41-1) unstable; urgency=medium + + * Team upload. + + [ gregor herrmann ] + * debian/copyright: change Copyright-Format 1.0 URL to HTTPS. + + [ Nick Morrott ] + * Import upstream version 0.41 + * Refresh (build)-dependencies (cme fix) + * Bump Standards-Version to 3.9.8 (no changes) + * Update debian/upstream/metadata + + -- Nick Morrott <knowledgejunkie@gmail.com> Mon, 21 Nov 2016 03:12:08 +0000 + +libparse-pmfile-perl (0.40-1) unstable; urgency=medium + + * Team upload. + + [ Salvatore Bonaccorso ] + * debian/control: Use HTTPS transport protocol for Vcs-Git URI + + [ Lucas Kanashiro ] + * Import upstream version 0.40 + * Declare compliance with Debian policy 3.9.7 + + -- Lucas Kanashiro <kanashiro.duarte@gmail.com> Sun, 21 Feb 2016 17:00:11 -0300 + +libparse-pmfile-perl (0.39-1) unstable; urgency=medium + + * Team upload. + * Import upstream version 0.39 + * Set email of upstream copyright in d/copyright + * Update debian/* copyright + * bump debhelper compatibility level to 9 + + -- Lucas Kanashiro <kanashiro.duarte@gmail.com> Mon, 11 Jan 2016 23:23:27 -0200 + +libparse-pmfile-perl (0.36-1) unstable; urgency=medium + + * Team upload. + + [ Peter Pentchev ] + * Import upstream version 0.36. + + [ gregor herrmann ] + * Update autopkgtest.patch. + Adapt new test t/81_version_overload_with_explicit_vpp.t for being + run against the installed package as well. + + -- Peter Pentchev <roam@ringlet.net> Mon, 11 May 2015 17:05:03 +0300 + +libparse-pmfile-perl (0.29-1) unstable; urgency=medium + + * Import upstream version 0.29 + * Mark package as autopkgtest-able. + Set Testsuite header, and add a patch to make the tests look in the system + path instead of the build directory, when run under autopkgtest. + + -- gregor herrmann <gregoa@debian.org> Tue, 14 Oct 2014 20:58:28 +0200 + +libparse-pmfile-perl (0.28-1) unstable; urgency=medium + + * Imported upstream version 0.28 + + -- gregor herrmann <gregoa@debian.org> Wed, 08 Oct 2014 20:53:40 +0200 + +libparse-pmfile-perl (0.26-1) unstable; urgency=low + + * Initial release (closes: #763045). + + -- gregor herrmann <gregoa@debian.org> Sat, 27 Sep 2014 15:43:19 +0200 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..dae227c --- /dev/null +++ b/debian/control @@ -0,0 +1,26 @@ +Source: libparse-pmfile-perl +Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org> +Uploaders: gregor herrmann <gregoa@debian.org> +Section: perl +Testsuite: autopkgtest-pkg-perl +Priority: optional +Build-Depends: debhelper-compat (= 13) +Build-Depends-Indep: libextutils-makemaker-cpanfile-perl, + perl +Standards-Version: 4.6.2 +Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libparse-pmfile-perl +Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libparse-pmfile-perl.git +Homepage: https://metacpan.org/release/Parse-PMFile +Rules-Requires-Root: no + +Package: libparse-pmfile-perl +Architecture: all +Multi-Arch: foreign +Depends: ${misc:Depends}, + ${perl:Depends} +Description: module to parse .pm file as PAUSE does + Most of the code of this module is taken from the PAUSE code as of April 2013 + almost verbatim. Thus, the heart of Parse::PMFile should be quite stable. + . + Parse::PMFile doesn't provide features to extract a distribution or parse + meta files intentionally. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..7c5c5e2 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,31 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Source: https://metacpan.org/release/Parse-PMFile +Upstream-Contact: Kenichi Ishigaki <ishigaki@cpan.org> +Upstream-Name: Parse-PMFile + +Files: * +Copyright: 1995-2013, Andreas Koenig <andk@cpan.org> + 2013, Kenichi Ishigaki <ishigaki@cpan.org> +License: Artistic or GPL-1+ + +Files: debian/* +Copyright: 2014-2024, gregor herrmann <gregoa@debian.org> + 2016, Lucas Kanashiro <kanashiro.duarte@gmail.com> + 2019, Nick Morrott <nickm@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/patches/autopkgtest.patch b/debian/patches/autopkgtest.patch new file mode 100644 index 0000000..74e7112 --- /dev/null +++ b/debian/patches/autopkgtest.patch @@ -0,0 +1,67 @@ +Description: Adjust tests to autopkgtest + During autopkgtest, look for the installed modules + and not the one in the build tree. + Decide by looking for $ENV{AUTOPKGTEST_TMP}. +Origin: vendor +Forwarded: not-needed +Author: gregor herrmann <gregoa@debian.org> +Last-Update: 2015-05-11 + +--- a/t/10_self_check.t ++++ b/t/10_self_check.t +@@ -3,12 +3,14 @@ + use Test::More tests => 2; + use FindBin; + use Parse::PMFile; ++use Config; + + for (0..1) { + no warnings 'once'; + local $Parse::PMFile::FORK = $_; + my $p = Parse::PMFile->new; +- my $pkg = $p->parse("$FindBin::Bin/../lib/Parse/PMFile.pm"); ++ my $dir = $ENV{AUTOPKGTEST_TMP} ? $Config{vendorlib} : "$FindBin::Bin/../lib"; ++ my $pkg = $p->parse("$dir/Parse/PMFile.pm"); + + is $pkg->{'Parse::PMFile'}{version} => $Parse::PMFile::VERSION, "version of Parse::PMFile matches \$Parse::PMFile::VERSION"; + } +--- a/t/80_version_overload.t ++++ b/t/80_version_overload.t +@@ -3,6 +3,7 @@ + use Test::More; + use FindBin; + use Parse::PMFile; ++use Config; + + for my $fork (0..1) { + test_version($fork); +@@ -10,7 +11,8 @@ + no warnings 'once'; + local $Parse::PMFile::FORK = $_; + my $p = Parse::PMFile->new; +- my $pkg = $p->parse("$FindBin::Bin/../lib/Parse/PMFile.pm"); ++ my $dir = $ENV{AUTOPKGTEST_TMP} ? $Config{vendorlib} : "$FindBin::Bin/../lib"; ++ my $pkg = $p->parse("$dir/Parse/PMFile.pm"); + + is $pkg->{'Parse::PMFile'}{version} => $Parse::PMFile::VERSION, "version of Parse::PMFile matches \$Parse::PMFile::VERSION"; + +--- a/t/81_version_overload_with_explicit_vpp.t ++++ b/t/81_version_overload_with_explicit_vpp.t +@@ -3,6 +3,7 @@ + use Test::More; + use FindBin; + use Parse::PMFile; ++use Config; + + eval "use version::vpp; 1" or plan skip_all => "requires version::vpp"; + +@@ -12,7 +13,8 @@ + no warnings 'once'; + local $Parse::PMFile::FORK = $_; + my $p = Parse::PMFile->new; +- my $pkg = $p->parse("$FindBin::Bin/../lib/Parse/PMFile.pm"); ++ my $dir = $ENV{AUTOPKGTEST_TMP} ? $Config{vendorlib} : "$FindBin::Bin/../lib"; ++ my $pkg = $p->parse("$dir/Parse/PMFile.pm"); + + is $pkg->{'Parse::PMFile'}{version} => $Parse::PMFile::VERSION, "version of Parse::PMFile matches \$Parse::PMFile::VERSION"; + diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..aba7ccb --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +autopkgtest.patch 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/upstream/metadata b/debian/upstream/metadata new file mode 100644 index 0000000..95109ad --- /dev/null +++ b/debian/upstream/metadata @@ -0,0 +1,6 @@ +--- +Archive: CPAN +Bug-Database: https://github.com/charsbar/Parse-PMFile/issues +Bug-Submit: https://github.com/charsbar/Parse-PMFile/issues/new +Repository: https://github.com/charsbar/Parse-PMFile.git +Repository-Browse: https://github.com/charsbar/Parse-PMFile diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..1708260 --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=4 +https://metacpan.org/release/Parse-PMFile .*/Parse-PMFile-v?@ANY_VERSION@@ARCHIVE_EXT@$ |