debian/0000755000000000000000000000000011620011371007156 5ustar debian/control0000644000000000000000000000200411620011371010555 0ustar Source: libwww-mechanize-autopager-perl Section: perl Priority: optional Build-Depends: debhelper (>= 8) Build-Depends-Indep: libhtml-autopagerize-perl, libjson-perl (>= 2.09), libwww-mechanize-perl (>= 1.50), perl Maintainer: Debian Perl Group Uploaders: TANIGUCHI Takaki , gregor herrmann Standards-Version: 3.9.2 Homepage: http://search.cpan.org/dist/WWW-Mechanize-AutoPager/ Vcs-Git: git://git.debian.org/pkg-perl/packages/libwww-mechanize-autopager-perl.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libwww-mechanize-autopager-perl.git Package: libwww-mechanize-autopager-perl Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, libhtml-autopagerize-perl, libjson-perl (>= 2.09), libwww-mechanize-perl (>= 1.50) Description: plugin for WWW::Mechanize for automatic pagination WWW::Mechanize::AutoPager is a plugin for WWW::Mechanize to do automatic pagination using AutoPagerize user script. debian/copyright0000644000000000000000000000217311620011371011114 0ustar Format-Specification: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?view=markup&pathrev=135 Maintainer: Tatsuhiko Miyagawa Source: http://search.cpan.org/dist/WWW-Mechanize-AutoPager/ Name: WWW-Mechanize-AutoPager Files: * Copyright: Tatsuhiko Miyagawa License: Artistic or GPL-1+ Files: debian/* Copyright: 2011, TANIGUCHI Takaki 2011, gregor herrmann 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/watch0000644000000000000000000000021311620011371010203 0ustar version=3 http://search.cpan.org/dist/WWW-Mechanize-AutoPager/ .*/WWW-Mechanize-AutoPager-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ debian/patches/0000755000000000000000000000000011620011371010605 5ustar debian/patches/drop-www-mechanize-decodedcontent.patch0000644000000000000000000000303611620011371020337 0ustar Description: drop WWW::Mechanize::DecodedContent, WWW::Mechanize's content() decodes since 1.50 Origin: vendor Bug-Debian: http://bugs.debian.org/636690 Forwarded: no Author: gregor herrmann --- a/META.yml +++ b/META.yml @@ -18,7 +18,6 @@ requires: HTML::AutoPagerize: 0 JSON: 2.09 - WWW::Mechanize: 0 - WWW::Mechanize::DecodedContent: 0 + WWW::Mechanize: 1.50 perl: 5.8.1 version: 0.02 --- a/Makefile.PL +++ b/Makefile.PL @@ -3,8 +3,7 @@ all_from 'lib/WWW/Mechanize/AutoPager.pm'; requires 'HTML::AutoPagerize'; -requires 'WWW::Mechanize'; -requires 'WWW::Mechanize::DecodedContent'; +requires 'WWW::Mechanize' => '1.50'; requires 'JSON' => 2.09; build_requires 'Test::More'; --- a/lib/WWW/Mechanize/AutoPager.pm +++ b/lib/WWW/Mechanize/AutoPager.pm @@ -6,7 +6,7 @@ use HTML::AutoPagerize; use Scalar::Util qw( weaken ); -use WWW::Mechanize::DecodedContent; +use WWW::Mechanize; use JSON; sub WWW::Mechanize::autopager { @@ -72,7 +72,7 @@ sub next_link { my $self = shift; - my $res = $self->{autopager}->handle($self->{mech}->uri, $self->{mech}->decoded_content) + my $res = $self->{autopager}->handle($self->{mech}->uri, $self->{mech}->content) or return; return $res->{next_link}; @@ -81,7 +81,7 @@ sub page_element { my $self = shift; - my $res = $self->{autopager}->handle($self->{mech}->uri, $self->{mech}->decoded_content) + my $res = $self->{autopager}->handle($self->{mech}->uri, $self->{mech}->content) or return; return $res->{page_element}; debian/patches/series0000644000000000000000000000005011620011371012015 0ustar drop-www-mechanize-decodedcontent.patch debian/compat0000644000000000000000000000000211620011371010354 0ustar 8 debian/changelog0000644000000000000000000000153211620011371011031 0ustar libwww-mechanize-autopager-perl (0.02-2) unstable; urgency=low [ Ansgar Burchardt ] * debian/control: Convert Vcs-* fields to Git. [ Salvatore Bonaccorso ] * debian/copyright: Replace DEP5 Format-Specification URL from svn.debian.org to anonscm.debian.org URL. [ gregor herrmann ] * Stop using WWW::Mechanize::DecodedContent: add a patch and adjust the (build) dependencies. (Closes: #636690) * Don't install the README anymore. * Set Standards-Version to 3.9.2 (no changes). * Add /me to Uploaders. * Bump debhelper compatibility level to 8. * Improve short description. -- gregor herrmann Mon, 08 Aug 2011 18:46:23 +0200 libwww-mechanize-autopager-perl (0.02-1) unstable; urgency=low * Initial Release. (Closes: #612861) -- TANIGUCHI Takaki Wed, 16 Feb 2011 11:02:30 +0900 debian/source/0000755000000000000000000000000011620011371010456 5ustar debian/source/format0000644000000000000000000000001411620011371011664 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000003611620011371010235 0ustar #!/usr/bin/make -f %: dh $@