On Sun, 6 Jan 2019 16:55:54 -0700
Andrew Hewus Fresh wrote:
> On Sat, Dec 29, 2018 at 11:47:43AM +0100, Charlene Wendling wrote:
> > Hi ports,
> >
> > Here is an update for Data::FormValidator that fixes the build with
> > our future Perl 5.28, and unbreaks tests with our current Perl.
>
> The documentation in the README.pod is the same as as what is in
> Data/Validator.pm and so I think we should avoid installing it as
> Data::README is not really part of this namespace and confuses things.
>
> Avoid installing that and this is OK with me.
>
[snip]
Agreed.
This is what i can do to the best of my knowledge.
It builds and installs properly, and 'make test' Pod coverage still
passes.
Charlène.
Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/p5-Data-FormValidator/Makefile,v
retrieving revision 1.14
diff -u -p -u -p -r1.14 Makefile
--- Makefile 20 Mar 2016 19:56:17 -0000 1.14
+++ Makefile 7 Jan 2019 00:29:12 -0000
@@ -1,25 +1,30 @@
# $OpenBSD: Makefile,v 1.14 2016/03/20 19:56:17 naddy Exp $
-COMMENT= validate user input from a constraint object
+COMMENT= validate user input from a constraint object
MODULES= cpan
PKG_ARCH= *
-DISTNAME= Data-FormValidator-4.63
-REVISION= 1
-CATEGORIES= devel
+DISTNAME= Data-FormValidator-4.88
+CATEGORIES= devel
# perl
PERMIT_PACKAGE_CDROM= Yes
RUN_DEPENDS= graphics/p5-Image-Size \
devel/p5-Date-Calc \
- devel/p5-Perl6-Junction \
misc/p5-File-MMagic \
mail/p5-Email-Valid \
mail/p5-MIME-Types \
textproc/p5-Regexp-Common
-TEST_DEPENDS=www/p5-CGI-Simple
+TEST_DEPENDS= textproc/p5-Template \
+ www/p5-CGI \
+ www/p5-CGI-Simple
-CONFIGURE_STYLE=modbuild
+MAKE_ENV += TEST_POD=Yes
+
+# Remove README.pod from the package - it's the same content as
+# Data::README.3p and the location is inappropriate.
+post-install:
+ @rm -f ${PREFIX}/${P5SITE}/Data/README.pod
.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/p5-Data-FormValidator/distinfo,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 distinfo
--- distinfo 18 Jan 2015 03:13:24 -0000 1.6
+++ distinfo 7 Jan 2019 00:29:12 -0000
@@ -1,2 +1,2 @@
-SHA256 (Data-FormValidator-4.63.tar.gz) =
NfBmauuPSDZ7bQEUXO22u72RrPXnuL0JYFNsRAB7dJ4=
-SIZE (Data-FormValidator-4.63.tar.gz) = 96892
+SHA256 (Data-FormValidator-4.88.tar.gz) =
waU5+RySy82KjYNZfsmnZD/NjM9alOFTgsN2UokXAGY=
+SIZE (Data-FormValidator-4.88.tar.gz) = 99850
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/devel/p5-Data-FormValidator/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 PLIST
--- pkg/PLIST 6 Nov 2006 11:53:51 -0000 1.1.1.1
+++ pkg/PLIST 7 Jan 2019 00:29:12 -0000
@@ -16,3 +16,4 @@ ${P5SITE}/Data/FormValidator/Results.pm
@man man/man3p/Data::FormValidator::ConstraintsFactory.3p
@man man/man3p/Data::FormValidator::Filters.3p
@man man/man3p/Data::FormValidator::Results.3p
+@man man/man3p/Data::README.3p
> --
> andrew - http://afresh1.com
>
> Unix is very simple,
> but it takes a genius to understand the simplicity.
> -- Dennis Ritchie
>