This updates p5-Text-Template to the current version, seems to be a huge
modernization of the codebase to use current best practices.

https://metacpan.org/changes/distribution/Text-Template

Plus we have a new test dependency for it: devel/p5-Test-More-UTF8
https://metacpan.org/pod/Test::More::UTF8

use Test::More;
use Test::More::UTF8;

# now we can easily use flagged strings without warnings like "Wide character
in print ..."
is("\x{410}","\x{420}"); # got a failure message without warnings


OK? Comments?


Index: Makefile
===================================================================
RCS file: /cvs/ports/textproc/p5-Text-Template/Makefile,v
retrieving revision 1.18
diff -u -p -r1.18 Makefile
--- Makefile    30 Apr 2017 15:47:03 -0000      1.18
+++ Makefile    23 Mar 2019 22:38:44 -0000
@@ -4,10 +4,15 @@ COMMENT=      expand template text with embed
 
 MODULES=       cpan
 PKG_ARCH=      *
-DISTNAME =     Text-Template-1.47
+DISTNAME=      Text-Template-1.55
 CATEGORIES=    textproc
 
 # perl
 PERMIT_PACKAGE_CDROM=  Yes
+
+TEST_DEPENDS=  devel/p5-Test-More-UTF8 \
+               devel/p5-Test-Warnings
+
+FIX_EXTRACT_PERMISSIONS =      Yes
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/textproc/p5-Text-Template/distinfo,v
retrieving revision 1.8
diff -u -p -r1.8 distinfo
--- distinfo    30 Apr 2017 15:47:03 -0000      1.8
+++ distinfo    23 Mar 2019 22:38:44 -0000
@@ -1,2 +1,2 @@
-SHA256 (Text-Template-1.47.tar.gz) = 
UNdCx0SCR4qgEAjUaCkPz7wLmhIZz+EoQHbx8x8L6Pw=
-SIZE (Text-Template-1.47.tar.gz) = 48988
+SHA256 (Text-Template-1.55.tar.gz) = 
pJSL6UUlDBf58KruVsx5sxldzry3UhW1XW7RyisC8Ys=
+SIZE (Text-Template-1.55.tar.gz) = 49367

Attachment: p5-Test-More-UTF8-0.05.tar.gz
Description: application/tar-gz

Reply via email to