Hi,
Here is a patch for devel/p5-DateTime:
i) Update to 1.57
ii) Add p5-Test-Without-Module as TEST_DEPENDS.
It build well and pass all tests on amd64-7.1 system. Many ports depend
on it, I only test some of it, did not meet any problem.
Upstream changes:
1.57 2022-03-03
- The last release would die if Sub::Util was not available, but this should
just be an optional requirement. Fixed by Paul Howarth. GH #131.
- This is the second time I've introduced this bug, so now there's a test to
make sure that DateTime can be loaded if Sub::Util is not
installed. Hopefully this will prevent a third occurrence of this bug.
1.56 2022-03-02
- The DateTime->from_epoch constructor now accepts a single, non-hashref
argument, and validates it as an epoch value. Requested by Neil Bowers. GH
#119.
1.55 2021-12-23
- Another documentation fix release. This fixes some mistakes, fixes some
broken links, and removes all references to the long-dead datetime.perl.org
site.
wen
Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/p5-DateTime/Makefile,v
retrieving revision 1.30
diff -u -p -r1.30 Makefile
--- Makefile 6 Dec 2020 20:40:31 -0000 1.30
+++ Makefile 6 Mar 2022 02:10:28 -0000
@@ -3,7 +3,7 @@
COMMENT = date and time object for Perl
MODULES = cpan
-DISTNAME = DateTime-1.54
+DISTNAME = DateTime-1.57
EPOCH = 0
CATEGORIES = devel
@@ -26,6 +26,7 @@ RUN_DEPENDS = devel/p5-DateTime-Locale>=
TEST_DEPENDS = devel/p5-CPAN-Meta-Check>=0.011 \
devel/p5-Test-Fatal \
- devel/p5-Test-Warnings>=0.005
+ devel/p5-Test-Warnings>=0.005 \
+ devel/p5-Test-Without-Module
.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/p5-DateTime/distinfo,v
retrieving revision 1.13
diff -u -p -r1.13 distinfo
--- distinfo 6 Dec 2020 20:40:31 -0000 1.13
+++ distinfo 6 Mar 2022 02:10:28 -0000
@@ -1,2 +1,2 @@
-SHA256 (DateTime-1.54.tar.gz) = sS7abZAHE/Inlk3E3A4u+4bSlOi8Lxa+npW2WflTsuc=
-SIZE (DateTime-1.54.tar.gz) = 314605
+SHA256 (DateTime-1.57.tar.gz) = hGQymaQPETNhoImOTmNmOKpddmh2AEejy7y8StV/2Gs=
+SIZE (DateTime-1.57.tar.gz) = 322347