diff -Nru libwww-mechanize-shell-perl-0.59/Changes libwww-mechanize-shell-perl-0.62/Changes --- libwww-mechanize-shell-perl-0.59/Changes 2020-05-04 20:25:38.000000000 +0000 +++ libwww-mechanize-shell-perl-0.62/Changes 2023-07-21 19:49:42.000000000 +0000 @@ -13,6 +13,17 @@ * Add set-cookie and delete-cookie commands * Add (optional) HTTP::Cookies::Find support +0.62 2023-07-21 + * Test stability fix + +0.61 2023-07-21 + * Various test suite updates, no code updates, no need to upgrade + * Test suite now runs in parallel + +0.60 2021-12-06 + * Delete proxy-related environment variables when testing + Upstreamed from Debian by gregor hermann, thanks! + 0.59 2020-05-04 * HTML::Form::find_input() has a 1-based index Reported by the CPAN testers, thanks! diff -Nru libwww-mechanize-shell-perl-0.59/debian/changelog libwww-mechanize-shell-perl-0.62/debian/changelog --- libwww-mechanize-shell-perl-0.59/debian/changelog 2021-12-06 18:04:16.000000000 +0000 +++ libwww-mechanize-shell-perl-0.62/debian/changelog 2023-08-21 20:27:48.000000000 +0000 @@ -1,3 +1,18 @@ +libwww-mechanize-shell-perl (0.62-1) unstable; urgency=medium + + * Team upload. + + [ Debian Janitor ] + * Update standards version to 4.6.2, no changes needed. + + [ Étienne Mollier ] + * Import upstream version 0.62. + * d/copyright: update upstream copyright year. + * spelling-errors patch: refresh. + * unset-http-proxy-for-tests patch: remove: applied-upstream. + + -- Étienne Mollier Mon, 21 Aug 2023 22:27:48 +0200 + libwww-mechanize-shell-perl (0.59-2) unstable; urgency=medium [ Debian Janitor ] diff -Nru libwww-mechanize-shell-perl-0.59/debian/control libwww-mechanize-shell-perl-0.62/debian/control --- libwww-mechanize-shell-perl-0.59/debian/control 2021-12-06 18:04:16.000000000 +0000 +++ libwww-mechanize-shell-perl-0.62/debian/control 2023-08-21 20:27:48.000000000 +0000 @@ -27,7 +27,7 @@ libwww-perl , netbase , perl -Standards-Version: 4.6.0 +Standards-Version: 4.6.2 Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libwww-mechanize-shell-perl Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libwww-mechanize-shell-perl.git Homepage: https://metacpan.org/release/WWW-Mechanize-Shell diff -Nru libwww-mechanize-shell-perl-0.59/debian/copyright libwww-mechanize-shell-perl-0.62/debian/copyright --- libwww-mechanize-shell-perl-0.59/debian/copyright 2021-12-06 18:04:16.000000000 +0000 +++ libwww-mechanize-shell-perl-0.62/debian/copyright 2023-08-21 20:27:48.000000000 +0000 @@ -4,7 +4,7 @@ Source: https://metacpan.org/release/WWW-Mechanize-Shell Files: * -Copyright: 2002-2020, Max Maischein +Copyright: 2002-2023, Max Maischein License: Artistic or GPL-1+ Files: debian/* diff -Nru libwww-mechanize-shell-perl-0.59/debian/patches/auto-gitignore libwww-mechanize-shell-perl-0.62/debian/patches/auto-gitignore --- libwww-mechanize-shell-perl-0.59/debian/patches/auto-gitignore 1970-01-01 00:00:00.000000000 +0000 +++ libwww-mechanize-shell-perl-0.62/debian/patches/auto-gitignore 2023-08-21 20:27:48.000000000 +0000 @@ -0,0 +1,30 @@ +Subject: Update .gitignore from Debian packaging branch + +The Debian packaging git branch contains these updates to the upstream +.gitignore file(s). This patch is autogenerated, to provide these +updates to users of the official Debian archive view of the package. + +[dgit (11.1) update-gitignore] +--- +diff --git a/.gitignore b/.gitignore +deleted file mode 100644 +index 86cd683..0000000 +--- a/.gitignore ++++ /dev/null +@@ -1,16 +0,0 @@ +-Makefile +-Makefile.old +-*.tar.gz +-*.bak +-*.swp +-pm_to_blib +-blib/ +-WWW-Mechanize-Shell-* +-WWW-Mechanize-Shell-*/ +-.lwpcookies +-.releaserc +-MYMETA.* +-*.pl +-.prove +-.patch +-CVS/ diff -Nru libwww-mechanize-shell-perl-0.59/debian/patches/series libwww-mechanize-shell-perl-0.62/debian/patches/series --- libwww-mechanize-shell-perl-0.59/debian/patches/series 2021-12-06 18:04:16.000000000 +0000 +++ libwww-mechanize-shell-perl-0.62/debian/patches/series 2023-08-21 20:27:48.000000000 +0000 @@ -1,2 +1,2 @@ spelling-errors -unset-http-proxy-for-tests +auto-gitignore diff -Nru libwww-mechanize-shell-perl-0.59/debian/patches/spelling-errors libwww-mechanize-shell-perl-0.62/debian/patches/spelling-errors --- libwww-mechanize-shell-perl-0.59/debian/patches/spelling-errors 2021-12-06 18:04:16.000000000 +0000 +++ libwww-mechanize-shell-perl-0.62/debian/patches/spelling-errors 2023-08-21 20:27:48.000000000 +0000 @@ -5,9 +5,9 @@ Reviewed-by: gregor herrmann Last-Update: 2020-05-07 ---- a/Changes -+++ b/Changes -@@ -189,7 +189,7 @@ +--- libwww-mechanize-shell-perl.orig/Changes ++++ libwww-mechanize-shell-perl/Changes +@@ -200,7 +200,7 @@ * This means it requires WWW::Mechanize 0.57 or higher * added "comment" command, which allows to add comments to both, the shell script and the generated script. (Donated by Alexander Goller) @@ -16,7 +16,7 @@ lookups but returns error 500. 0.29 -@@ -259,7 +259,7 @@ +@@ -270,7 +270,7 @@ * Documentation fixes for "open" and "links" (also courtesy of Mark Stosberg) * The dumprequests feature needs Hook::LexWrap - it didn't work properly before. The feature is tested in t/14 @@ -25,7 +25,7 @@ * factored out the HTML display into a module of its own (HTML::Display), distributed with this. This breaks existing setups, as the "browsercmd" and "useole" option disappeared. You can configure the used browser -@@ -285,7 +285,7 @@ +@@ -296,7 +296,7 @@ the interactive asking method to something noninteractive. Field types that do not get asked are : hidden,submit * The "eval" command now takes multiline strings. This is not interesting @@ -34,8 +34,8 @@ about multiline strings, but if you're using the $shell->cmd() feature, it's handy to split your evals over more than one line. ---- a/README.mkdn -+++ b/README.mkdn +--- libwww-mechanize-shell-perl.orig/README.mkdn ++++ libwww-mechanize-shell-perl/README.mkdn @@ -134,7 +134,7 @@ Restart the shell. @@ -54,8 +54,8 @@ namespace. You can inject new subroutines there and these get picked up by the Callback class of WWW::Mechanize::FormFiller : ---- a/lib/WWW/Mechanize/Shell.pm -+++ b/lib/WWW/Mechanize/Shell.pm +--- libwww-mechanize-shell-perl.orig/lib/WWW/Mechanize/Shell.pm ++++ libwww-mechanize-shell-perl/lib/WWW/Mechanize/Shell.pm @@ -149,7 +149,7 @@ if $self->agent->can('env_proxy'); @@ -83,8 +83,8 @@ namespace. You can inject new subroutines there and these get picked up by the Callback class of WWW::Mechanize::FormFiller : ---- a/t/20-restart-without-script.t -+++ b/t/20-restart-without-script.t +--- libwww-mechanize-shell-perl.orig/t/20-restart-without-script.t ++++ libwww-mechanize-shell-perl/t/20-restart-without-script.t @@ -13,6 +13,6 @@ my $output= `$^X -I./lib -MWWW::Mechanize::Shell -e "WWW::Mechanize::Shell->new('t',rcfile=>undef,warnings=>undef)->cmd('restart');print'OK'" 2>&1`; diff -Nru libwww-mechanize-shell-perl-0.59/debian/patches/unset-http-proxy-for-tests libwww-mechanize-shell-perl-0.62/debian/patches/unset-http-proxy-for-tests --- libwww-mechanize-shell-perl-0.59/debian/patches/unset-http-proxy-for-tests 2021-12-06 18:04:16.000000000 +0000 +++ libwww-mechanize-shell-perl-0.62/debian/patches/unset-http-proxy-for-tests 1970-01-01 00:00:00.000000000 +0000 @@ -1,33 +0,0 @@ -Description: Unset HTTP proxy env variables when running tests - Some tests would fail when run in an environment that has HTTP proxy - environment variables. For the tests that failed, we now unset the HTTP proxy - variables. -Bug: https://github.com/Corion/WWW-Mechanize-Shell/pull/6 -Bug-Ubuntu: https://launchpad.net/bugs/1953344 -Forwarded: https://github.com/Corion/WWW-Mechanize-Shell/pull/6 -Author: Olivier Gayot -Reviewed-by: gregor herrmann -Last-Update: 2021-12-06 - ---- a/t/13-command-au.t -+++ b/t/13-command-au.t -@@ -18,6 +18,8 @@ - - use WWW::Mechanize::Shell; - -+delete @ENV{qw(HTTP_PROXY http_proxy CGI_HTTP_PROXY)}; -+ - my $server = Test::HTTP::LocalServer->spawn(); - - my $user = 'foo'; ---- a/t/18-browser-autosync.t -+++ b/t/18-browser-autosync.t -@@ -25,6 +25,8 @@ - }; - use WWW::Mechanize::Shell; - -+delete @ENV{qw(HTTP_PROXY http_proxy CGI_HTTP_PROXY)}; -+ - my $browser_synced; - { no warnings 'redefine'; - *WWW::Mechanize::Shell::sync_browser = sub { diff -Nru libwww-mechanize-shell-perl-0.59/lib/WWW/Mechanize/Shell.pm libwww-mechanize-shell-perl-0.62/lib/WWW/Mechanize/Shell.pm --- libwww-mechanize-shell-perl-0.59/lib/WWW/Mechanize/Shell.pm 2020-05-04 20:25:38.000000000 +0000 +++ libwww-mechanize-shell-perl-0.62/lib/WWW/Mechanize/Shell.pm 2023-07-21 19:49:42.000000000 +0000 @@ -15,7 +15,7 @@ use HTML::TokeParser::Simple; use B::Deparse; -our $VERSION = '0.59'; +our $VERSION = '0.62'; our @EXPORT = qw( &shell ); =head1 NAME @@ -1834,7 +1834,7 @@ use WWW::Mechanize::FormFiller; use base 'WWW::Mechanize::FormFiller::Value::Callback'; - our $VERSION = '0.59'; + our $VERSION = '0.62'; sub new { my ($class,$name,$shell) = @_; @@ -2090,7 +2090,7 @@ This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. -Copyright (C) 2002-2020 Max Maischein +Copyright (C) 2002-2023 Max Maischein =head1 AUTHOR diff -Nru libwww-mechanize-shell-perl-0.59/META.json libwww-mechanize-shell-perl-0.62/META.json --- libwww-mechanize-shell-perl-0.59/META.json 2020-05-04 20:25:39.000000000 +0000 +++ libwww-mechanize-shell-perl-0.62/META.json 2023-07-21 19:49:44.000000000 +0000 @@ -4,13 +4,13 @@ "Max Maischein " ], "dynamic_config" : 0, - "generated_by" : "ExtUtils::MakeMaker version 7.1002, CPAN::Meta::Converter version 2.150010", + "generated_by" : "ExtUtils::MakeMaker version 7.44, CPAN::Meta::Converter version 2.150010", "license" : [ "perl_5" ], "meta-spec" : { "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", - "version" : "2" + "version" : 2 }, "name" : "WWW-Mechanize-Shell", "no_index" : { @@ -70,7 +70,7 @@ "web" : "https://github.com/Corion/WWW-Mechanize-Shell" } }, - "version" : "0.59", - "x_serialization_backend" : "JSON::PP version 2.27300_01", + "version" : "0.62", + "x_serialization_backend" : "JSON::PP version 4.11", "x_static_install" : 1 } diff -Nru libwww-mechanize-shell-perl-0.59/META.yml libwww-mechanize-shell-perl-0.62/META.yml --- libwww-mechanize-shell-perl-0.59/META.yml 2020-05-04 20:25:39.000000000 +0000 +++ libwww-mechanize-shell-perl-0.62/META.yml 2023-07-21 19:49:44.000000000 +0000 @@ -13,7 +13,7 @@ configure_requires: ExtUtils::MakeMaker: '0' dynamic_config: 0 -generated_by: 'ExtUtils::MakeMaker version 7.1002, CPAN::Meta::Converter version 2.150010' +generated_by: 'ExtUtils::MakeMaker version 7.44, CPAN::Meta::Converter version 2.150010' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -41,6 +41,6 @@ resources: license: https://dev.perl.org/licenses/ repository: git://github.com/Corion/WWW-Mechanize-Shell.git -version: '0.59' +version: '0.62' x_serialization_backend: 'CPAN::Meta::YAML version 0.018' x_static_install: 1 diff -Nru libwww-mechanize-shell-perl-0.59/README libwww-mechanize-shell-perl-0.62/README --- libwww-mechanize-shell-perl-0.59/README 2020-05-04 20:25:38.000000000 +0000 +++ libwww-mechanize-shell-perl-0.62/README 2023-07-21 19:49:42.000000000 +0000 @@ -59,4 +59,4 @@ This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. -Copyright (C) 2002-2020 Max Maischein +Copyright (C) 2002-2023 Max Maischein diff -Nru libwww-mechanize-shell-perl-0.59/README.mkdn libwww-mechanize-shell-perl-0.62/README.mkdn --- libwww-mechanize-shell-perl-0.59/README.mkdn 2020-05-04 20:25:38.000000000 +0000 +++ libwww-mechanize-shell-perl-0.62/README.mkdn 2023-07-21 19:49:42.000000000 +0000 @@ -34,7 +34,7 @@ for automating a session through WWW::Mechanize. The cookie support is there, but no cookies are read from your existing -browser sessions. See [HTTP::Cookies](https://metacpan.org/pod/HTTP::Cookies) on how to implement reading/writing +browser sessions. See [HTTP::Cookies](https://metacpan.org/pod/HTTP%3A%3ACookies) on how to implement reading/writing your current browsers cookies. ## `WWW::Mechanize::Shell->new %ARGS` @@ -56,7 +56,7 @@ ); Pass in a premade custom user agent. This object must be compatible to - [WWW::Mechanize](https://metacpan.org/pod/WWW::Mechanize). Use this feature from the command line as + [WWW::Mechanize](https://metacpan.org/pod/WWW%3A%3AMechanize). Use this feature from the command line as perl -Ilib -MWWW::Mechanize::Chrome \ -MWWW::Mechanize::Shell \ @@ -419,7 +419,7 @@ site uses tables for layout, it will be harder to guess what tables are irrelevant and what tables are relevant. -[HTML::TableExtract](https://metacpan.org/pod/HTML::TableExtract) is needed for this feature. +[HTML::TableExtract](https://metacpan.org/pod/HTML%3A%3ATableExtract) is needed for this feature. ## cookies @@ -741,7 +741,7 @@ This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. -Copyright (C) 2002-2020 Max Maischein +Copyright (C) 2002-2023 Max Maischein # AUTHOR @@ -751,4 +751,4 @@ # SEE ALSO -[WWW::Mechanize](https://metacpan.org/pod/WWW::Mechanize),[WWW::Mechanize::FormFiller](https://metacpan.org/pod/WWW::Mechanize::FormFiller),[WWW::Mechanize::Firefox](https://metacpan.org/pod/WWW::Mechanize::Firefox) +[WWW::Mechanize](https://metacpan.org/pod/WWW%3A%3AMechanize),[WWW::Mechanize::FormFiller](https://metacpan.org/pod/WWW%3A%3AMechanize%3A%3AFormFiller),[WWW::Mechanize::Firefox](https://metacpan.org/pod/WWW%3A%3AMechanize%3A%3AFirefox) diff -Nru libwww-mechanize-shell-perl-0.59/t/13-command-au.t libwww-mechanize-shell-perl-0.62/t/13-command-au.t --- libwww-mechanize-shell-perl-0.59/t/13-command-au.t 2020-05-04 20:25:38.000000000 +0000 +++ libwww-mechanize-shell-perl-0.62/t/13-command-au.t 2023-07-21 19:49:42.000000000 +0000 @@ -18,6 +18,8 @@ use WWW::Mechanize::Shell; +delete @ENV{qw(HTTP_PROXY http_proxy CGI_HTTP_PROXY)}; + my $server = Test::HTTP::LocalServer->spawn(); my $user = 'foo'; diff -Nru libwww-mechanize-shell-perl-0.59/t/18-browser-autosync.t libwww-mechanize-shell-perl-0.62/t/18-browser-autosync.t --- libwww-mechanize-shell-perl-0.59/t/18-browser-autosync.t 2020-05-04 20:25:38.000000000 +0000 +++ libwww-mechanize-shell-perl-0.62/t/18-browser-autosync.t 2023-07-21 19:49:42.000000000 +0000 @@ -25,6 +25,8 @@ }; use WWW::Mechanize::Shell; +delete @ENV{qw(HTTP_PROXY http_proxy CGI_HTTP_PROXY)}; + my $browser_synced; { no warnings 'redefine'; *WWW::Mechanize::Shell::sync_browser = sub { diff -Nru libwww-mechanize-shell-perl-0.59/xt/meta-lint.t libwww-mechanize-shell-perl-0.62/xt/meta-lint.t --- libwww-mechanize-shell-perl-0.59/xt/meta-lint.t 2020-05-04 20:25:38.000000000 +0000 +++ libwww-mechanize-shell-perl-0.62/xt/meta-lint.t 2023-07-21 19:49:42.000000000 +0000 @@ -11,9 +11,8 @@ eval { #require Test::MinimumVersion::Fast; require Parse::CPAN::Meta; - Parse::CPAN::Meta->import(); require CPAN::Meta::Validator; - CPAN::Meta::Validator->import(2.15); + CPAN::Meta::Validator->VERSION(2.15); }; if ($@) { plan skip_all => "CPAN::Meta::Validator version 2.15 required for testing META files";