From 29f84fd49de980425fb9548e1ccb92a5c723d9a6 Mon Sep 17 00:00:00 2001 From: cwen Date: Sun, 21 Apr 2019 18:03:44 +0000 Subject: [PATCH] Update p5-MooseX-Method-Signatures to 0.49 Also fix a test that still assumes that '.' is in @INC Changelog: https://metacpan.org/changes/release/ETHER/MooseX-Method-Signatures-0.49 OK afresh1@ --- devel/p5-MooseX-Method-Signatures/Makefile | 45 ++++++++++++------- devel/p5-MooseX-Method-Signatures/distinfo | 4 +- .../patches/patch-t_00-report-prereqs_t | 17 +++++++ 3 files changed, 47 insertions(+), 19 deletions(-) create mode 100644 devel/p5-MooseX-Method-Signatures/patches/patch-t_00-report-prereqs_t diff --git a/devel/p5-MooseX-Method-Signatures/Makefile b/devel/p5-MooseX-Method-Signatures/Makefile index 68fade96ab6..83be5012a58 100644 --- a/devel/p5-MooseX-Method-Signatures/Makefile +++ b/devel/p5-MooseX-Method-Signatures/Makefile @@ -1,28 +1,39 @@ -# $OpenBSD: Makefile,v 1.11 2016/03/20 19:56:29 naddy Exp $ +# $OpenBSD: Makefile,v 1.12 2019/04/21 18:03:44 cwen Exp $ COMMENT= method declarations with type constraints -DISTNAME= MooseX-Method-Signatures-0.48 +DISTNAME= MooseX-Method-Signatures-0.49 CATEGORIES= devel -# perl -PERMIT_PACKAGE_CDROM= Yes +FIX_EXTRACT_PERMISSIONS= Yes -MODULES= cpan +# perl +PERMIT_PACKAGE_CDROM= Yes + +MODULES= cpan PKG_ARCH= * -RUN_DEPENDS= devel/p5-Context-Preserve \ - devel/p5-Devel-Declare>=0.006007 \ - devel/p5-MooseX-LazyRequire>=0.06 \ - devel/p5-MooseX-Meta-TypeConstraint-ForceCoercion \ - devel/p5-MooseX-Types-Structured>=0.26 \ - devel/p5-Parse-Method-Signatures>=1.003014 \ - devel/p5-Task-Weaken \ - devel/p5-aliased \ - devel/p5-namespace-autoclean -BUILD_DEPENDS= ${RUN_DEPENDS} -TEST_DEPENDS= devel/p5-Test-Deep \ - devel/p5-Test-Fatal +RUN_DEPENDS= devel/p5-B-Hooks-EndOfScope>=0.10 \ + devel/p5-Context-Preserve \ + devel/p5-Devel-Declare>=0.005011 \ + devel/p5-Eval-Closure \ + devel/p5-Module-Runtime>=0.012 \ + devel/p5-Moose \ + devel/p5-MooseX-LazyRequire>=0.06 \ + devel/p5-MooseX-Meta-TypeConstraint-ForceCoercion \ + devel/p5-MooseX-Types-Structured>=0.24 \ + devel/p5-MooseX-Types>=0.19 \ + devel/p5-Parse-Method-Signatures \ + devel/p5-Sub-Name \ + devel/p5-Task-Weaken \ + devel/p5-aliased \ + devel/p5-namespace-autoclean + +TEST_DEPENDS= devel/p5-Test-Deep \ + devel/p5-Test-Fatal \ + devel/p5-namespace-clean>=0.19 + +CONFIGURE_STYLE= modbuild tiny .include diff --git a/devel/p5-MooseX-Method-Signatures/distinfo b/devel/p5-MooseX-Method-Signatures/distinfo index ec08fd0dc0f..c257bf8688f 100644 --- a/devel/p5-MooseX-Method-Signatures/distinfo +++ b/devel/p5-MooseX-Method-Signatures/distinfo @@ -1,2 +1,2 @@ -SHA256 (MooseX-Method-Signatures-0.48.tar.gz) = rigRP1lUWoSj1+9/bIqh0XsAblPqOEZRx1VHvNOv60w= -SIZE (MooseX-Method-Signatures-0.48.tar.gz) = 50635 +SHA256 (MooseX-Method-Signatures-0.49.tar.gz) = OjwSvLHRsubUvD+7oG4kIlX92rh8EsDVQDZqOQUZOhI= +SIZE (MooseX-Method-Signatures-0.49.tar.gz) = 52729 diff --git a/devel/p5-MooseX-Method-Signatures/patches/patch-t_00-report-prereqs_t b/devel/p5-MooseX-Method-Signatures/patches/patch-t_00-report-prereqs_t new file mode 100644 index 00000000000..37681695d81 --- /dev/null +++ b/devel/p5-MooseX-Method-Signatures/patches/patch-t_00-report-prereqs_t @@ -0,0 +1,17 @@ +$OpenBSD: patch-t_00-report-prereqs_t,v 1.1 2019/04/21 18:03:44 cwen Exp $ + +Fix for: +do "t/00-report-prereqs.dd" failed, '.' is no longer in @INC + +Index: t/00-report-prereqs.t +--- t/00-report-prereqs.t.orig ++++ t/00-report-prereqs.t +@@ -68,7 +68,7 @@ my @exclude = qw( + ); + + # Add static prereqs to the included modules list +-my $static_prereqs = do 't/00-report-prereqs.dd'; ++my $static_prereqs = do './t/00-report-prereqs.dd'; + + # Merge all prereqs (either with ::Prereqs or a hashref) + my $full_prereqs = _merge_prereqs(