[UPDATE] devel/p5-Getargs-Long 1.1007 -> 1.1012

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[UPDATE] devel/p5-Getargs-Long 1.1007 -> 1.1012

Charlene Wendling

Here is an update for Getargs::Long.

What's new upstream [1]:

- Test and distribution fixes
- Unbreak the build with Perl 5.26+ :)

Port-wise it's a simple version bump, i've enabled tests as well.

Testing:

- 'make test' passes with Perl 5.24 and 5.28
- The sole consumer is devel/p5-Carp Datum, it passes [2] with the fixes
  to it i proposed earlier [3].

Comments/feedback are welcome!

Charlène.


[1] https://metacpan.org/changes/distribution/Getargs-Long
[2] https://transfer.sh/fQ4yg/p5-Getargs-Long.tgz
[3] https://marc.info/?l=openbsd-ports&m=154979530418954&w=2


Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/p5-Getargs-Long/Makefile,v
retrieving revision 1.16
diff -u -p -u -p -r1.16 Makefile
--- Makefile 20 Mar 2016 19:56:24 -0000 1.16
+++ Makefile 10 Feb 2019 10:55:48 -0000
@@ -4,7 +4,7 @@ COMMENT= parses long function arguments
 
 MODULES= cpan
 PKG_ARCH= *
-DISTNAME = Getargs-Long-1.1007
+DISTNAME = Getargs-Long-1.1012
 CATEGORIES= devel
 
 # perl
@@ -13,5 +13,12 @@ PERMIT_PACKAGE_CDROM= Yes
 BUILD_DEPENDS= ${RUN_DEPENDS}
 RUN_DEPENDS= devel/p5-Log-Agent>=0.105 \
  www/p5-URI
+
+TEST_DEPENDS= devel/p5-Perl-Critic \
+ devel/p5-Test-Compile \
+ devel/p5-Test-Perl-Critic
+
+MAKE_ENV += TEST_POD=Yes \
+ TEST_AUTHOR=Yes
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/p5-Getargs-Long/distinfo,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 distinfo
--- distinfo 11 Jun 2015 09:16:17 -0000 1.6
+++ distinfo 10 Feb 2019 10:55:48 -0000
@@ -1,2 +1,2 @@
-SHA256 (Getargs-Long-1.1007.tar.gz) = vKi33PhA1unlSOvv6H/a9dEHcy28M8SyzsWiubzr1fQ=
-SIZE (Getargs-Long-1.1007.tar.gz) = 41435
+SHA256 (Getargs-Long-1.1012.tar.gz) = U9DvYjkLXJziydo9ae+XT03GIxozhbuV1AcV99qQxw4=
+SIZE (Getargs-Long-1.1012.tar.gz) = 44080

Reply | Threaded
Open this post in threaded view
|

Re: [UPDATE] devel/p5-Getargs-Long 1.1007 -> 1.1012

Alexander Bluhm
On Sun, Feb 10, 2019 at 11:58:46AM +0100, Charlene Wendling wrote:
> Here is an update for Getargs::Long.
> Comments/feedback are welcome!

OK bluhm@

>  BUILD_DEPENDS= ${RUN_DEPENDS}

Can we remove this line?

>  RUN_DEPENDS= devel/p5-Log-Agent>=0.105 \
>   www/p5-URI

I think www/p5-URI is a build dependency only, it provides URI::Escape.
So better BUILD_DEPENDS = www/p5-URI

bluhm