Hi, ports@:
Here is a patch for devel/p5-DateTime-Format-Natural:
i) Update to 1.18
ii) Add 2 missing DEPENDS
It build well and pass all tests on amd64-current system.
4 ports depend on it:
www/p5-HTML-FormFu and www/p5-XML-Feed build well
and pass all tests with this patch.
1 subtest of devel/p5-Date-Extract fail, but not caused by
this patch.
I did not test www/rt, it has many test fail without this patch.
wen
Index: devel/p5-DateTime-Format-Natural/Makefile
===================================================================
RCS file: /cvs/ports/devel/p5-DateTime-Format-Natural/Makefile,v
retrieving revision 1.15
diff -u -p -r1.15 Makefile
--- devel/p5-DateTime-Format-Natural/Makefile 11 Mar 2022 18:51:17 -0000
1.15
+++ devel/p5-DateTime-Format-Natural/Makefile 27 Nov 2023 06:39:30 -0000
@@ -2,7 +2,7 @@ COMMENT = parse informal natural languag
MODULES = cpan
PKG_ARCH = *
-DISTNAME = DateTime-Format-Natural-1.13
+DISTNAME = DateTime-Format-Natural-1.18
CATEGORIES = devel
# Perl
@@ -16,6 +16,7 @@ BUILD_DEPENDS = devel/p5-Module-Util
RUN_DEPENDS = devel/p5-Clone \
devel/p5-DateTime \
+ devel/p5-DateTime-HiRes\
devel/p5-DateTime-TimeZone \
devel/p5-List-MoreUtils \
devel/p5-Params-Validate>=1.15 \
@@ -24,6 +25,7 @@ RUN_DEPENDS = devel/p5-Clone \
# Recommended dependency
RUN_DEPENDS += devel/p5-Date-Calc
-TEST_DEPENDS = devel/p5-Test-MockTime
+TEST_DEPENDS = devel/p5-Test-MockTime \
+ devel/p5-Test-MockTime-HiRes
.include <bsd.port.mk>
Index: devel/p5-DateTime-Format-Natural/distinfo
===================================================================
RCS file: /cvs/ports/devel/p5-DateTime-Format-Natural/distinfo,v
retrieving revision 1.6
diff -u -p -r1.6 distinfo
--- devel/p5-DateTime-Format-Natural/distinfo 4 Mar 2022 08:43:23 -0000
1.6
+++ devel/p5-DateTime-Format-Natural/distinfo 27 Nov 2023 06:39:30 -0000
@@ -1,2 +1,2 @@
-SHA256 (DateTime-Format-Natural-1.13.tar.gz) =
iVjt/QPw9LbXvhIS9vZ1JQ6jffiZcawjdr5d3UTS8lY=
-SIZE (DateTime-Format-Natural-1.13.tar.gz) = 83127
+SHA256 (DateTime-Format-Natural-1.18.tar.gz) =
2TRqRhUDVFnYvO4PrD1OuuoDj09DsoT2nt9z9u1XUf4=
+SIZE (DateTime-Format-Natural-1.18.tar.gz) = 86921