[FIX DEPENDS] devel/p5-MooseX-ConfigFromFile

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[FIX DEPENDS] devel/p5-MooseX-ConfigFromFile

Andrew Hewus Fresh
While testing another port I noticed that this module had some incorrect
RUN_DEPENDS (specifically p5-Path-Tiny instead of
p5-MooseX-Types-Path-Tiny) so here's an update to clean up the
dependencies.

I also found it needed the modbuild tiny CONFIGURE_STYLE.

This seems to build and test much more reliably now.

Comments? OK?


Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/p5-MooseX-ConfigFromFile/Makefile,v
retrieving revision 1.12
diff -u -p -r1.12 Makefile
--- Makefile 3 Jul 2020 21:45:01 -0000 1.12
+++ Makefile 31 Jul 2020 05:06:09 -0000
@@ -5,24 +5,25 @@ COMMENT= Moose role for setting attribu
 MODULES= cpan
 PKG_ARCH= *
 DISTNAME= MooseX-ConfigFromFile-0.14
+REVISION= 2
 CATEGORIES= devel
-FIX_EXTRACT_PERMISSIONS = Yes
-REVISION= 1
+FIX_EXTRACT_PERMISSIONS= Yes
 
-# perl
+# Perl
 PERMIT_PACKAGE= Yes
 
+CONFIGURE_STYLE= modbuild tiny
+
 RUN_DEPENDS= devel/p5-Moose \
  devel/p5-MooseX-Types \
- devel/p5-MooseX-Types-Path-Class \
- devel/p5-Path-Tiny
-BUILD_DEPENDS= ${RUN_DEPENDS}
-TEST_DEPENDS= devel/p5-MooseX-Types-Path-Tiny \
+ devel/p5-MooseX-Types-Path-Tiny>=0.005 \
+ devel/p5-namespace-autoclean
+
+TEST_DEPENDS= devel/p5-Moose \
+ devel/p5-MooseX-Getopt \
  devel/p5-Test-Deep \
  devel/p5-Test-Fatal \
  devel/p5-Test-Requires \
  devel/p5-Test-Without-Module
-
-MAKE_ENV += TEST_POD=Yes
 
 .include <bsd.port.mk>