diff options
-rw-r--r-- | debian/changelog | 38 | ||||
-rw-r--r-- | debian/control | 34 | ||||
-rw-r--r-- | debian/copyright | 28 | ||||
-rw-r--r-- | debian/gbp.conf | 5 | ||||
-rw-r--r-- | debian/patches/series | 1 | ||||
-rw-r--r-- | debian/patches/spelling-fix.patch | 51 | ||||
-rwxr-xr-x | debian/rules | 4 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/tests/pkg-perl/smoke-files | 2 | ||||
-rw-r--r-- | debian/upstream/metadata | 6 | ||||
-rw-r--r-- | debian/watch | 2 |
11 files changed, 172 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..b009a15 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,38 @@ +libdata-dumper-compact-perl (0.005002-1) unstable; urgency=medium + + * Team upload. + * Import upstream versions 0.005000, 0.005002. + * Update years of upstream copyright. + * Update (build) dependencies. + * Refresh spelling-fix.patch (offset). + * Declare compliance with Debian Policy 4.5.0. + * Set Rules-Requires-Root: no. + * Bump debhelper-compat to 13. + + -- gregor herrmann <gregoa@debian.org> Sat, 13 Jun 2020 16:33:04 +0200 + +libdata-dumper-compact-perl (0.004001-1) unstable; urgency=medium + + * Team upload. + * Import upstream version 0.004001. + * Annotate test-only build dependencies with <!nocheck>. + * Use debhelper-compat. + * debian/watch: use uscan version 4. + * Remove obsolete fields Name, Contact from debian/upstream/metadata. + + -- gregor herrmann <gregoa@debian.org> Sun, 15 Sep 2019 23:39:51 +0200 + +libdata-dumper-compact-perl (0.004000-2) unstable; urgency=medium + + * Team upload + * Bump debhelper compatibility level to 12 + * Declare compliance with policy 4.4.0 + * Add debian/gbp.conf + + -- Xavier Guimard <yadd@debian.org> Thu, 25 Jul 2019 07:26:57 +0200 + +libdata-dumper-compact-perl (0.004000-1) unstable; urgency=medium + + * Initial release (Closes: #930396) + + -- Utkarsh Gupta <guptautkarsh2102@gmail.com> Mon, 10 Jun 2019 18:06:12 +0530 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..0aa7409 --- /dev/null +++ b/debian/control @@ -0,0 +1,34 @@ +Source: libdata-dumper-compact-perl +Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org> +Uploaders: Utkarsh Gupta <guptautkarsh2102@gmail.com> +Section: perl +Testsuite: autopkgtest-pkg-perl +Priority: optional +Build-Depends: debhelper-compat (= 13) +Build-Depends-Indep: libclass-method-modifiers-perl <!nocheck>, + libjson-maybexs-perl <!nocheck>, + libmu-tiny-perl <!nocheck>, + libstrictures-perl <!nocheck>, + perl +Standards-Version: 4.5.0 +Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libdata-dumper-compact-perl +Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libdata-dumper-compact-perl.git +Homepage: https://metacpan.org/release/Data-Dumper-Compact +Rules-Requires-Root: no + +Package: libdata-dumper-compact-perl +Architecture: all +Depends: ${misc:Depends}, + ${perl:Depends}, + libclass-method-modifiers-perl, + libjson-maybexs-perl, + libmu-tiny-perl, + libstrictures-perl +Description: vertically compact width-limited data formatter + Data::Dumper::Compact provides a replacement of the Dumper() function that + produces a more compact output. + . + Deep data structures are rendered highly compactly. + . + JSON::Dumper::Compact is a subclass of Data::Dumper::Compact that turns + arrayrefs and hashrefs instead into JSON. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..535e71c --- /dev/null +++ b/debian/copyright @@ -0,0 +1,28 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Data-Dumper-Compact +Upstream-Contact: Matt S Trout <mst@shadowcat.co.uk> +Source: https://metacpan.org/release/Data-Dumper-Compact + +Files: * +Copyright: 2020, Matt S Trout <mst@shadowcat.co.uk> +License: Artistic or GPL-1+ + +Files: debian/* +Copyright: 2019, Utkarsh Gupta <guptautkarsh2102@gmail.com> +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/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..b713356 --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,5 @@ +[DEFAULT] +pristine-tar = True + +[import-orig] +filter = [ '.gitignore', '.travis.yml', '.git*' ] diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..8165f7f --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +spelling-fix.patch diff --git a/debian/patches/spelling-fix.patch b/debian/patches/spelling-fix.patch new file mode 100644 index 0000000..a23b377 --- /dev/null +++ b/debian/patches/spelling-fix.patch @@ -0,0 +1,51 @@ +Description: This patch fixes the spelling errors. +Bug: https://github.com/shadow-dot-cat/Data-Dumper-Compact/issues/3 +Forwarded: https://github.com/shadow-dot-cat/Data-Dumper-Compact/issues/3 +Author: Utkarsh Gupta <guptautkarsh2102@gmail.com> +Reviewed-by: gregor herrmann <gregoa@debian.org> +Last-Update: 2020-06-10 + +--- a/README ++++ b/README +@@ -609,7 +609,7 @@ + + Single entry formatting + Where possible, a single entry will be cuddled such that the opening +- delimiters are both on the first line, and the closing delimeters both ++ delimiters are both on the first line, and the closing delimiters both + on the final line, to reduce the vertical space consumption of nested + single entry array and/or hashrefs. + +--- a/lib/Data/Dumper/Compact.pm ++++ b/lib/Data/Dumper/Compact.pm +@@ -1030,7 +1030,7 @@ + =head2 Single entry formatting + + Where possible, a single entry will be cuddled such that the opening +-delimiters are both on the first line, and the closing delimeters both on ++delimiters are both on the first line, and the closing delimiters both on + the final line, to reduce the vertical space consumption of nested single + entry array and/or hashrefs. + +--- a/lib/Devel/DDCWarn.pm ++++ b/lib/Devel/DDCWarn.pm +@@ -224,7 +224,7 @@ + + Note that this primarily being a debugging and/or scripting oriented tool, if + something initialises us again later, this will reset the (single) global +-C<$ddc> used by this code and change all output throught the process. ++C<$ddc> used by this code and change all output through the process. + + However, if you need a localised change of formatting style, C<$ddc> is a full + fledged global so you are absolutely allowed to C<local> it: +--- a/lib/JSON/Dumper/Compact.pm ++++ b/lib/JSON/Dumper/Compact.pm +@@ -68,7 +68,7 @@ + =head1 DESCRIPTION + + JSON::Dumper::Compact is a subclass of L<Data::Dumper::Compact> that turns +-arrayrefs and hashrefs intead into JSON. ++arrayrefs and hashrefs instead into JSON. + + Deep data structures are rendered highly compactly: + 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/tests/pkg-perl/smoke-files b/debian/tests/pkg-perl/smoke-files new file mode 100644 index 0000000..61f3b92 --- /dev/null +++ b/debian/tests/pkg-perl/smoke-files @@ -0,0 +1,2 @@ +ex +t diff --git a/debian/upstream/metadata b/debian/upstream/metadata new file mode 100644 index 0000000..de15cfd --- /dev/null +++ b/debian/upstream/metadata @@ -0,0 +1,6 @@ +--- +Archive: CPAN +Bug-Database: https://rt.cpan.org/Public/Dist/Display.html?Name=Data-Dumper-Compact +Bug-Submit: bug-Data-Dumper-Compact@rt.cpan.org +Repository: https://github.com/shadow-dot-cat/Data-Dumper-Compact.git +Repository-Browse: https://github.com/shadow-dot-cat/Data-Dumper-Compact diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..29fa53b --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=4 +https://metacpan.org/release/Data-Dumper-Compact .*/Data-Dumper-Compact-v?@ANY_VERSION@@ARCHIVE_EXT@$ |