Hi, ports@:

   Here is a patch for databases/p5-DBD-Mock:
    i) Update to 1.52
    ii) Change CONFIGURE_STYLE to modbuild tiny
    iii) Add devel/p5-Test-Exception as TEST_DEPENDS

   It build well and pass all tests on amd64-current system.

  Two ports depends on it:
   i)databases/p5-CGI-Application-Plugin-DBH: build well and
pass all tests.
   ii) databases/p5-DBIx-DataModel: build well but fail tests.
But the tests fail was not caused by this patch.

Comments? OK?
wen
Index: Makefile
===================================================================
RCS file: /cvs/ports/databases/p5-DBD-Mock/Makefile,v
retrieving revision 1.11
diff -u -p -r1.11 Makefile
--- Makefile    12 Jul 2019 20:43:55 -0000      1.11
+++ Makefile    2 Dec 2019 07:48:30 -0000
@@ -4,7 +4,7 @@ COMMENT=        mock database driver for testin
 
 MODULES=       cpan
 PKG_ARCH=      *
-DISTNAME=      DBD-Mock-1.45
+DISTNAME=      DBD-Mock-1.52
 CATEGORIES=    databases devel
 
 # Perl
@@ -12,7 +12,9 @@ PERMIT_PACKAGE=       Yes
 
 RUN_DEPENDS=   databases/p5-DBI>=1.3
 
-CONFIGURE_STYLE=modbuild
+TEST_DEPENDS=  devel/p5-Test-Exception>=0.31
+
+CONFIGURE_STYLE=modbuild tiny
 
 MAKE_ENV+=     TEST_POD=1
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/databases/p5-DBD-Mock/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- distinfo    22 Dec 2014 14:07:36 -0000      1.4
+++ distinfo    2 Dec 2019 07:48:30 -0000
@@ -1,2 +1,2 @@
-SHA256 (DBD-Mock-1.45.tar.gz) = QKgMN7Me8UU2tYtKi0g+ZZU7ALj6c5eBfH63bVQL0A8=
-SIZE (DBD-Mock-1.45.tar.gz) = 44496
+SHA256 (DBD-Mock-1.52.tar.gz) = wzrBEY/05qVC5i4PxW2cDUq+zEQsestZwJdfw3aBJEI=
+SIZE (DBD-Mock-1.52.tar.gz) = 71628
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/databases/p5-DBD-Mock/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -r1.2 PLIST
--- pkg/PLIST   22 Dec 2014 14:07:36 -0000      1.2
+++ pkg/PLIST   2 Dec 2019 07:48:30 -0000
@@ -13,3 +13,11 @@ ${P5SITE}/DBD/Mock/db.pm
 ${P5SITE}/DBD/Mock/dr.pm
 ${P5SITE}/DBD/Mock/st.pm
 @man man/man3p/DBD::Mock.3p
+@man man/man3p/DBD::Mock::Pool.3p
+@man man/man3p/DBD::Mock::Pool::db.3p
+@man man/man3p/DBD::Mock::Session.3p
+@man man/man3p/DBD::Mock::StatementTrack.3p
+@man man/man3p/DBD::Mock::StatementTrack::Iterator.3p
+@man man/man3p/DBD::Mock::db.3p
+@man man/man3p/DBD::Mock::dr.3p
+@man man/man3p/DBD::Mock::st.3p

Reply via email to