Hi, ports@:
Here is a patch for devel/p5-Test-WWW-Mechanize:
i)update to 1.58.
ii) update DEPENDS
It build well and pass all tests on amd64-7.1 system.
Upstream changelog:
1.58 Fri Apr 29 11:23:39 CDT 2022
------------------------------------
[ENHANCEMENTS]
Failed get_ok, post_ok, head_ok, put_ok, delete_ok calls now show the URL
as a diagnostic if there's a problem accessing the URL. This apply to
functions like submit_form_ok() and follow_link_ok() that are wrappers
around these methods.
1.56 Tue Apr 26 22:14:12 CDT 2022
------------------------------------
This version of Test::WWW::Mechanize requires Perl 5.10.
[ENHANCEMENTS]
Add check_all_images_ok(). (GH #17) Thanks, Julien Fiegehenn.
This is the first version of this function, and its functionality may
change in the near future.
[DOCUMENTATION]
Fixed some incorrect docs. Thanks, Daniel Böhmer.
[INTERNALS]
Require Perl 5.10.
Explicitly requires HTTP::Message 6.29 or higher.
wen
Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/p5-Test-WWW-Mechanize/Makefile,v
retrieving revision 1.22
diff -u -p -r1.22 Makefile
--- Makefile 11 Mar 2022 18:52:18 -0000 1.22
+++ Makefile 6 May 2022 07:08:30 -0000
@@ -3,7 +3,7 @@ COMMENT= test suite using WWW::Mechanize
MODULES= cpan
PKG_ARCH= *
-DISTNAME = Test-WWW-Mechanize-1.54
+DISTNAME = Test-WWW-Mechanize-1.58
CATEGORIES= www devel
# Artistic 2.0
@@ -15,6 +15,7 @@ RUN_DEPENDS= devel/p5-Carp-Assert-More>=
www/p5-HTML-Form \
www/p5-HTML-Lint>=2.20 \
www/p5-HTML-Parser \
+ www/p5-HTTP-Message>=6.29 \
www/p5-HTTP-Server-Simple>=0.42 \
www/p5-URI \
www/p5-WWW-Mechanize>=1.68 \
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/p5-Test-WWW-Mechanize/distinfo,v
retrieving revision 1.8
diff -u -p -r1.8 distinfo
--- distinfo 10 Dec 2020 09:47:43 -0000 1.8
+++ distinfo 6 May 2022 07:08:30 -0000
@@ -1,2 +1,2 @@
-SHA256 (Test-WWW-Mechanize-1.54.tar.gz) =
3KiLWxdBFL9apseC/58OzFDBRCuDJMEdORd1LqNDmvw=
-SIZE (Test-WWW-Mechanize-1.54.tar.gz) = 33848
+SHA256 (Test-WWW-Mechanize-1.58.tar.gz) =
QfzRVKG4DTqHSz/AdX8Cuf4mHhnnkVar5S4IJPgRnVI=
+SIZE (Test-WWW-Mechanize-1.58.tar.gz) = 34970