diff -Nru libhtml-stream-perl-1.60/debian/changelog libhtml-stream-perl-1.60/debian/changelog
--- libhtml-stream-perl-1.60/debian/changelog 2016-11-30 12:44:44.000000000 +0000
+++ libhtml-stream-perl-1.60/debian/changelog 2016-11-27 14:41:13.000000000 +0000
@@ -1,3 +1,36 @@
+libhtml-stream-perl (1.60-2) unstable; urgency=medium
+
+ * Team upload
+
+ [ Ansgar Burchardt ]
+ * debian/control: Convert Vcs-* fields to Git.
+
+ [ gregor herrmann ]
+ * debian/control: update {versioned,alternative} (build) dependencies.
+ * debian/watch: update to ignore development releases.
+
+ [ Salvatore Bonaccorso ]
+ * Change Vcs-Git to canonical URI (git://anonscm.debian.org)
+ * Change search.cpan.org based URIs to metacpan.org based URIs
+
+ [ gregor herrmann ]
+ * Strip trailing slash from metacpan URLs.
+
+ [ Salvatore Bonaccorso ]
+ * Update Vcs-Browser URL to cgit web frontend
+ * debian/control: Use HTTPS transport protocol for Vcs-Git URI
+
+ [ Florian Schlichting ]
+ * Switch to source format 3.0 (quilt)
+ * Switch to short-form debian/rules
+ * Bump dh compat to level 9
+ * Convert d/copryright to copyright-format 1.0
+ * Declare compliance with Debian Policy 3.9.8
+ * Mark package autopkgtest-able
+ * Add interpreter line to examples/latin and fix a few typos in POD
+
+ -- Florian Schlichting Sun, 27 Nov 2016 15:41:13 +0100
+
libhtml-stream-perl (1.60-1) unstable; urgency=low
* Initial Release (closes: #567401)
diff -Nru libhtml-stream-perl-1.60/debian/compat libhtml-stream-perl-1.60/debian/compat
--- libhtml-stream-perl-1.60/debian/compat 2016-11-30 12:44:44.000000000 +0000
+++ libhtml-stream-perl-1.60/debian/compat 2016-11-27 14:36:09.000000000 +0000
@@ -1 +1 @@
-5
+9
diff -Nru libhtml-stream-perl-1.60/debian/control libhtml-stream-perl-1.60/debian/control
--- libhtml-stream-perl-1.60/debian/control 2016-11-30 12:44:44.000000000 +0000
+++ libhtml-stream-perl-1.60/debian/control 2016-11-27 14:41:05.000000000 +0000
@@ -1,18 +1,20 @@
Source: libhtml-stream-perl
-Section: perl
-Priority: optional
-Build-Depends: debhelper (>= 5)
-Build-Depends-Indep: perl (>= 5.6.10-12)
Maintainer: Debian Perl Group
Uploaders: Dominic Hargreaves
-Standards-Version: 3.8.3
-Homepage: http://search.cpan.org/dist/HTML-Stream/
-Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libhtml-stream-perl/
-Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libhtml-stream-perl/
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 9)
+Build-Depends-Indep: perl
+Standards-Version: 3.9.8
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libhtml-stream-perl.git
+Vcs-Git: https://anonscm.debian.org/git/pkg-perl/packages/libhtml-stream-perl.git
+Homepage: https://metacpan.org/release/HTML-Stream
+Testsuite: autopkgtest-pkg-perl
Package: libhtml-stream-perl
Architecture: all
-Depends: ${perl:Depends}, ${misc:Depends}
+Depends: ${perl:Depends},
+ ${misc:Depends}
Description: HTML output stream class, and some markup utilities
The HTML::Stream module provides you with an object-oriented
(and subclassable) way of outputting HTML. Basically, you open up
diff -Nru libhtml-stream-perl-1.60/debian/copyright libhtml-stream-perl-1.60/debian/copyright
--- libhtml-stream-perl-1.60/debian/copyright 2016-11-30 12:44:44.000000000 +0000
+++ libhtml-stream-perl-1.60/debian/copyright 2016-11-27 14:40:19.000000000 +0000
@@ -1,46 +1,32 @@
-This is the debian package for the HTML-Stream module.
-It was created by Dominic Hargreaves using dh-make-perl.
-
-It was downloaded from http://search.cpan.org/dist/HTML-Stream/
-
-The upstream author is: Daniel T. Staal .
-The "HTML-Stream" Perl5 toolkit.
-
-Copyright (c) 1996 by Eryq. All rights reserved.
-Copyright (c) 1999 by ZeeGee Software Inc. All rights reserved.
-Copyright (c) 2004 by Daniel Staal. All rights reserved.
-
-This program is free software; you can redistribute it and/or
-modify it under the same terms as Perl itself.
-
-Perl is distributed under your choice of the GNU General Public License or
-the Artistic License. On Debian GNU/Linux systems, the complete text of the
-GNU General Public License can be found in `/usr/share/common-licenses/GPL'
-and the Artistic Licence in `/usr/share/common-licenses/Artistic'.
-
- NO WARRANTY
-
-BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
-FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
-OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
-PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
-OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
-TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
-PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
-REPAIR OR CORRECTION.
-
-IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
-WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
-REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
-INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
-OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
-TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
-YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
-PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGES.
-
- END OF TERMS AND CONDITIONS
-
-The Debian packaging is (C) 2010, Dominic Hargreaves and
-is licensed under the same terms as the software itself (see above).
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Source: https://metacpan.org/release/HTML-Stream
+Upstream-Contact: Daniel T. Staal
+Upstream-Name: HTML-Stream
+
+Files: *
+Copyright: 1996, Eryq
+ 1999, ZeeGee Software Inc.
+ 2004, Daniel T. Staal
+License: Artistic or GPL-1+
+
+Files: debian/*
+Copyright: 2010, Dominic Hargreaves
+ 2011, Ansgar Burchardt
+ 2016, Florian Schlichting
+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 -Nru libhtml-stream-perl-1.60/debian/libhtml-stream-perl.examples libhtml-stream-perl-1.60/debian/libhtml-stream-perl.examples
--- libhtml-stream-perl-1.60/debian/libhtml-stream-perl.examples 1970-01-01 00:00:00.000000000 +0000
+++ libhtml-stream-perl-1.60/debian/libhtml-stream-perl.examples 2016-11-27 14:37:12.000000000 +0000
@@ -0,0 +1 @@
+examples/*
diff -Nru libhtml-stream-perl-1.60/debian/patches/interpreter.patch libhtml-stream-perl-1.60/debian/patches/interpreter.patch
--- libhtml-stream-perl-1.60/debian/patches/interpreter.patch 1970-01-01 00:00:00.000000000 +0000
+++ libhtml-stream-perl-1.60/debian/patches/interpreter.patch 2016-11-27 14:41:13.000000000 +0000
@@ -0,0 +1,11 @@
+Description: Add interpreter line to examples/latin
+Author: Florian Schlichting
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=118999
+
+--- a/examples/latin
++++ b/examples/latin
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl -w
+ =head1 NAME
+
+ latin - just some example code using HTML::Stream::Latin1
diff -Nru libhtml-stream-perl-1.60/debian/patches/series libhtml-stream-perl-1.60/debian/patches/series
--- libhtml-stream-perl-1.60/debian/patches/series 1970-01-01 00:00:00.000000000 +0000
+++ libhtml-stream-perl-1.60/debian/patches/series 2016-11-27 14:41:13.000000000 +0000
@@ -0,0 +1,2 @@
+interpreter.patch
+spelling.patch
diff -Nru libhtml-stream-perl-1.60/debian/patches/spelling.patch libhtml-stream-perl-1.60/debian/patches/spelling.patch
--- libhtml-stream-perl-1.60/debian/patches/spelling.patch 1970-01-01 00:00:00.000000000 +0000
+++ libhtml-stream-perl-1.60/debian/patches/spelling.patch 2016-11-27 14:41:13.000000000 +0000
@@ -0,0 +1,24 @@
+Description: fix typos in POD
+Author: Florian Schlichting
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=118998
+
+--- a/lib/HTML/Stream.pm
++++ b/lib/HTML/Stream.pm
+@@ -1575,7 +1575,7 @@
+ Added support for OPTION, and default now puts newlines after SELECT
+ and /SELECT. Also altered "TELEM" syntax to put newline after end-tags
+ of list element tags (like /OPTION, /LI, etc.). In theory, this change
+-could produce undesireable results for folks who embed lists inside of PRE
++could produce undesirable results for folks who embed lists inside of PRE
+ environments... however, that kind of stuff was done in the days before
+ TABLEs; also, you can always turn it off if you really need to.
+ I
+@@ -1648,7 +1648,7 @@
+
+ Warmest thanks to...
+
+- Eryq For writing the orginal version of this module.
++ Eryq For writing the original version of this module.
+
+ John Buckman For suggesting that I write an "html2perlstream",
+ and inspiring me to look at supporting Latin-1.
diff -Nru libhtml-stream-perl-1.60/debian/rules libhtml-stream-perl-1.60/debian/rules
--- libhtml-stream-perl-1.60/debian/rules 2016-11-30 12:44:44.000000000 +0000
+++ libhtml-stream-perl-1.60/debian/rules 2016-11-27 14:37:57.000000000 +0000
@@ -1,66 +1,4 @@
#!/usr/bin/make -f
-# This debian/rules file is provided as a template for normal perl
-# packages. It was created by Marc Brockschmidt for
-# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
-# be used freely wherever it is useful.
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-# If set to a true value then MakeMaker's prompt function will
-# always return the default without waiting for user input.
-export PERL_MM_USE_DEFAULT=1
-
-PERL ?= /usr/bin/perl
-PACKAGE = $(shell dh_listpackages)
-TMP = $(CURDIR)/debian/$(PACKAGE)
-
-build: build-stamp
-build-stamp:
- dh_testdir
- # Add commands to compile the package here
- $(PERL) Makefile.PL INSTALLDIRS=vendor
- $(MAKE)
- $(MAKE) test
- chmod -x examples/giggles examples/latin
- touch $@
-
-clean:
- dh_testdir
- dh_testroot
- dh_clean build-stamp install-stamp
- # Add commands to clean up after the build process here
- [ ! -f Makefile ] || $(MAKE) realclean
- chmod +x examples/giggles examples/latin
-
-install: install-stamp
-install-stamp: build-stamp
- dh_testdir
- dh_testroot
- dh_clean -k
- # Add commands to install the package into $(TMP) here
- $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
- [ ! -d $(TMP)/usr/lib/perl5 ] || \
- rmdir --ignore-fail-on-non-empty --parents --verbose \
- $(TMP)/usr/lib/perl5
- touch $@
-
-binary-arch:
-# We have nothing to do here for an architecture-independent package
-
-binary-indep: build install
- dh_testdir
- dh_testroot
- dh_installexamples examples/*
- dh_installdocs README README.system
- dh_installchangelogs Changes
- dh_perl
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+%:
+ dh $@
diff -Nru libhtml-stream-perl-1.60/debian/source/format libhtml-stream-perl-1.60/debian/source/format
--- libhtml-stream-perl-1.60/debian/source/format 1970-01-01 00:00:00.000000000 +0000
+++ libhtml-stream-perl-1.60/debian/source/format 2016-11-27 14:37:12.000000000 +0000
@@ -0,0 +1 @@
+3.0 (quilt)
diff -Nru libhtml-stream-perl-1.60/debian/watch libhtml-stream-perl-1.60/debian/watch
--- libhtml-stream-perl-1.60/debian/watch 2016-11-30 12:44:44.000000000 +0000
+++ libhtml-stream-perl-1.60/debian/watch 2014-03-04 10:41:47.000000000 +0000
@@ -1,4 +1,4 @@
# format version number, currently 3; this line is compulsory!
version=3
# URL to the package page followed by a regex to search
-http://search.cpan.org/dist/HTML-Stream/ .*/HTML-Stream-v?(\d[\d_.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$
+https://metacpan.org/release/HTML-Stream .*/HTML-Stream-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$