Here is an update for WWW::Wikipedia. 

The changelog can be found here [1], it includes runtime fixes 
for Perl 5.26+ as well.

Port-wise, it now requires www/p5-LWP-Protocol-https and a patch
to be installed with Perl 5.28. 

Testing: 

- 'make test' passes, unlike the 2.01 version!
- no consumers to test against 

Charlène. 

[1] https://metacpan.org/changes/release/BRICAS/WWW-Wikipedia-2.05


Index: Makefile
===================================================================
RCS file: /cvs/ports/www/p5-WWW-Wikipedia/Makefile,v
retrieving revision 1.16
diff -u -p -u -p -r1.16 Makefile
--- Makefile    20 Mar 2016 19:57:23 -0000      1.16
+++ Makefile    27 Jan 2019 20:58:39 -0000
@@ -2,7 +2,7 @@
 
 COMMENT=               automated interface to the Wikipedia encyclopedia
 
-DISTNAME=              WWW-Wikipedia-2.01
+DISTNAME=              WWW-Wikipedia-2.05
 CATEGORIES=            www
 
 MAINTAINER=            Gleydson Soares <[email protected]>
@@ -15,6 +15,7 @@ PERMIT_PACKAGE_CDROM= Yes
 
 BUILD_DEPENDS=         ${RUN_DEPENDS}
 RUN_DEPENDS=           textproc/p5-Text-Autoformat \
+                       www/p5-LWP-Protocol-https \
                        www/p5-libwww \
                        www/p5-URI
 TEST_DEPENDS=  devel/p5-Test-Exception
Index: distinfo
===================================================================
RCS file: /cvs/ports/www/p5-WWW-Wikipedia/distinfo,v
retrieving revision 1.9
diff -u -p -u -p -r1.9 distinfo
--- distinfo    21 Nov 2013 20:40:46 -0000      1.9
+++ distinfo    27 Jan 2019 20:58:39 -0000
@@ -1,2 +1,2 @@
-SHA256 (WWW-Wikipedia-2.01.tar.gz) = 
otN5ZsfSYCroq3FnJieSHzKdcx46Z5XV49YPiymrBoM=
-SIZE (WWW-Wikipedia-2.01.tar.gz) = 35599
+SHA256 (WWW-Wikipedia-2.05.tar.gz) = 
bogae183PEMve6TKCsrlg+SLr6Zlofkfsaac2w0VkOY=
+SIZE (WWW-Wikipedia-2.05.tar.gz) = 36888
Index: patches/patch-Makefile_PL
===================================================================
RCS file: patches/patch-Makefile_PL
diff -N patches/patch-Makefile_PL
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-Makefile_PL   27 Jan 2019 20:58:39 -0000
@@ -0,0 +1,10 @@
+$OpenBSD$
+Fix in perl 5.26.0+ (no . in @inc by default)
+Index: Makefile.PL
+--- Makefile.PL.orig
++++ Makefile.PL
+@@ -1,3 +1,4 @@
++BEGIN { push @INC, '.'; }
+ use inc::Module::Install 1.00;
+ 
+ if ( -e 'MANIFEST.SKIP' ) {

Reply via email to