Hers is the revised patch which removed all TEST_DEPENDS, since it is not 
needed.
Thank you !

wen

________________________________
发件人: Charlene Wendling <[email protected]>
发送时间: 2019年7月17日 23:56
收件人: wen heping
抄送: [email protected]
主题: Re: [Update] net/p5-SNMP-Info : Update to 3.68

On Sat, 13 Jul 2019 12:29:22 +0000
wen heping wrote:

> Hi, ports@:
>
>     Here is a patch for net/p5-SNMP-Info:
>     i) update to 3.68
>     ii) add missing RUN_DEPEND net/p5-NetAddr-IP
>     iii) also build log complain lack of some TEST_DEPENDS, but I
> did not update TEST_DEPENDS, because the test of p5-SNMP-Info
> does nothing except importing the module.
>
>     It build well and pass the only one test on my amd64-head system.
>
>     No other ports depends on p5-SNMP-Info.
>
> Comments? OK?

The whole TEST_DEPENDS block should be removed. These dependencies are
only used for private tests in $WRKSRC/xt.

With that OK cwen@

> wen
Index: Makefile
===================================================================
RCS file: /cvs/ports/net/p5-SNMP-Info/Makefile,v
retrieving revision 1.26
diff -u -p -r1.26 Makefile
--- Makefile    12 Jul 2019 20:48:41 -0000      1.26
+++ Makefile    17 Jul 2019 23:13:46 -0000
@@ -5,22 +5,18 @@ COMMENT =     perl5 interface to network dev
 MODULES =      cpan
 PKG_ARCH =     *
 
-DISTNAME =     SNMP-Info-3.53
+DISTNAME =     SNMP-Info-3.68
 CATEGORIES =   net
 
 # BSD
 PERMIT_PACKAGE =       Yes
 
-RUN_DEPENDS =  net/net-snmp
+RUN_DEPENDS =  net/net-snmp \
+               net/p5-NetAddr-IP>=4.068
 BUILD_DEPENDS =        net/net-snmp
 
 MAKE_ENV =     TEST_POD=1
 
 CONFIGURE_STYLE=modbuild
-
-TEST_DEPENDS = devel/p5-File-Slurper \
-               devel/p5-Path-Class \
-               devel/p5-Test-Distribution \
-               devel/p5-Test-MockObject
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/net/p5-SNMP-Info/distinfo,v
retrieving revision 1.16
diff -u -p -r1.16 distinfo
--- distinfo    28 Apr 2018 14:53:46 -0000      1.16
+++ distinfo    17 Jul 2019 23:13:46 -0000
@@ -1,2 +1,2 @@
-SHA256 (SNMP-Info-3.53.tar.gz) = bEXe+HzsGU+Qh17WrdilPKBbVKc4CaRr4Dm1n3AQ0C4=
-SIZE (SNMP-Info-3.53.tar.gz) = 452788
+SHA256 (SNMP-Info-3.68.tar.gz) = LeW+vZkXhkOqFFDPue77nm8No0XQRh1WwJzd/71yWlI=
+SIZE (SNMP-Info-3.68.tar.gz) = 566077

Reply via email to