debian/0000755000000000000000000000000012247646567007211 5ustar debian/rules0000755000000000000000000000003612247646567010270 0ustar #!/usr/bin/make -f %: dh $@ debian/control0000644000000000000000000000312612247646567010616 0ustar Source: libhtml-prettyprinter-perl Section: perl Priority: optional Maintainer: Debian Perl Group Uploaders: Radu-Bogdan Croitoru Build-Depends: debhelper (>= 9) Build-Depends-Indep: perl, libhtml-tree-perl, libhtml-tagset-perl, libhtml-parser-perl Standards-Version: 3.9.5 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libhtml-prettyprinter-perl.git Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libhtml-prettyprinter-perl.git Homepage: https://metacpan.org/release/HTML-PrettyPrinter Package: libhtml-prettyprinter-perl Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, libhtml-tree-perl, libhtml-tagset-perl, libhtml-parser-perl Description: module that generates nice HTML files from HTML syntax trees HTML::PrettyPrinter produces nicely formatted HTML code from a HTML syntax tree. It is especially useful if the produced HTML file shall be read or edited manually afterwards. Various parameters let you adapt the output to different styles and requirements. . If you don't care how the HTML source looks like as long as it is valid and readable by browsers, you should use the as_HTML() method of HTML::Element instead of the pretty printer. It is about five times faster. . The pretty printer will handle line wrapping, indention and structuring by the way the whitespace in the tree is represented in the output. Furthermore upper/lowercase markup and markup minimization, quoting of attribute values, the encoding of entities and the presence of optional end tags are configurable. debian/source/0000755000000000000000000000000012247646567010511 5ustar debian/source/format0000644000000000000000000000001412247646567011717 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000027312247646567011065 0ustar libhtml-prettyprinter-perl (0.03-3) unstable; urgency=low * Initial Release (Closes: #731008) -- Radu-Bogdan Croitoru Wed, 04 Dec 2013 16:57:06 +0200 debian/compat0000644000000000000000000000000212247646567010407 0ustar 9 debian/patches/0000755000000000000000000000000012247646567010640 5ustar debian/patches/fix-spelling.patch0000644000000000000000000000331512247646567014264 0ustar Description: Fix spelling error in README and POD Author: Radu-Bogdan Croitoru Forwarded: yes Last-Update: 2013-12-01 --- a/README +++ b/README @@ -4,7 +4,7 @@ HTML::PrettyPrinter A module for generating nice looking HTML files from HTML trees. -It is especially usefull if the produced HTML file shall be read +It is especially useful if the produced HTML file shall be read or edited manually afterwards. Various parameters let you adapt the output to different styles and requirements. --- a/PrettyPrinter.pm +++ b/PrettyPrinter.pm @@ -1,5 +1,7 @@ package HTML::PrettyPrinter; +=encoding UTF-8 + =head1 NAME HTML::PrettyPrinter - generate nice HTML files from HTML syntax trees @@ -38,7 +40,7 @@ =head1 DESCRIPTION HTML::PrettyPrinter produces nicely formatted HTML code from -a HTML syntax tree. It is especially usefull if the produced HTML file +a HTML syntax tree. It is especially useful if the produced HTML file shall be read or edited manually afterwards. Various parameters let you adapt the output to different styles and requirements. @@ -59,7 +61,7 @@ In order to faciliate the configuration a mechanism to handle tag groups is provided. Thus, it is possible to modify a parameter for a group of tags (e.g. all known block elements) without writing each tag name explicitly. -Perhaps the code for tag groups will move to an other Perl module in the +Perhaps the code for tag groups will move to another Perl module in the future. For HTML::Elements that require a special treatment like @@ -104,7 +106,7 @@ =head1 INDIVIDUAL PARAMETERS -Following individual paramters exist +Following individual parameters exist =over 4 debian/patches/series0000644000000000000000000000002312247646567012050 0ustar fix-spelling.patch debian/copyright0000644000000000000000000000207212247646567011145 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Source: https://metacpan.org/release/HTML-PrettyPrinter Upstream-Contact: Claus Schotten Upstream-Name: HTML-PrettyPrinter Files: * Copyright: 2000, Claus Schotten License: Artistic or GPL-1+ Files: debian/* Copyright: 2013, Radu-Bogdan Croitoru 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'. debian/watch0000644000000000000000000000020112247646567010233 0ustar version=3 https://metacpan.org/release/HTML-PrettyPrinter .*/HTML-PrettyPrinter-v?(\d[\d.-]*)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$