Re: [update] www/p5-HTML-Template 2.9 -> 2.97

2019-05-26 Thread Andrew Hewus Fresh
On Tue, May 21, 2019 at 01:49:05AM +0200, Charlene Wendling wrote:
> 
> Here is a long overdue update for HTML::Template.
> 
> What's new upstream (97 lines of changelog [0]): 
> 
> - full UTF-8 templates support
> - allow clean XML style tags like ""
> - add a config() method to allow global defaults, reducing boilerplate
>   code
> - add lazy caching
> - most importantly, nothing backward incompatible :)
> 
> What's new in the port:
> 
> - use Perl license marker, and metacpan HOMEPAGE
> - as CGI has been dropped from core modules since Perl 5.22, we need
>   to pull it as dependency for tests
> - add Pod testing
> 
> Testing:
> 
> - 'make test' passes
> - There are 11 direct consumers that i've tested [1], and found no new
>   issues due to that update.
> 
> Comments/feedback are welcome!

OK afresh1@


> 
> Charlène.
> 
> 
> [0] https://metacpan.org/source/SAMTREGAR/HTML-Template-2.97/Changes
> [1] http://0x0.st/zmVL.tgz
> 
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/www/p5-HTML-Template/Makefile,v
> retrieving revision 1.10
> diff -u -p -u -p -r1.10 Makefile
> --- Makefile  6 May 2019 19:36:30 -   1.10
> +++ Makefile  20 May 2019 23:35:58 -
> @@ -4,13 +4,14 @@ COMMENT=use HTML Templates from CGI scr
>  
>  MODULES= cpan
>  PKG_ARCH=*
> -DISTNAME=HTML-Template-2.9
> +DISTNAME=HTML-Template-2.97
>  CATEGORIES=  www
> -REVISION=0
>  
> -HOMEPAGE=http://sourceforge.net/projects/html-template/
> -
> -# GPL/Artistic license
> +# Perl
>  PERMIT_PACKAGE_CDROM=Yes
> +
> +TEST_DEPENDS=www/p5-CGI
> +
> +MAKE_ENV+=   TEST_POD=Yes AUTHOR_TESTING=Yes
>  
>  .include 
> Index: distinfo
> ===
> RCS file: /cvs/ports/www/p5-HTML-Template/distinfo,v
> retrieving revision 1.6
> diff -u -p -u -p -r1.6 distinfo
> --- distinfo  18 Jan 2015 03:15:45 -  1.6
> +++ distinfo  20 May 2019 23:35:58 -
> @@ -1,2 +1,2 @@
> -SHA256 (HTML-Template-2.9.tar.gz) = 
> Yml7+kxlcp/lor8IvqHODWXdBgBk0yfdpmGcYKURQEc=
> -SIZE (HTML-Template-2.9.tar.gz) = 82558
> +SHA256 (HTML-Template-2.97.tar.gz) = 
> ZUevYfOqhXk/hhYZCTjWd9eZX7O3IMFiWAQLyTXiEp8=
> +SIZE (HTML-Template-2.97.tar.gz) = 88236
> Index: pkg/PLIST
> ===
> RCS file: /cvs/ports/www/p5-HTML-Template/pkg/PLIST,v
> retrieving revision 1.3
> diff -u -p -u -p -r1.3 PLIST
> --- pkg/PLIST 15 Sep 2004 18:49:51 -  1.3
> +++ pkg/PLIST 20 May 2019 23:35:58 -
> @@ -1,4 +1,7 @@
>  @comment $OpenBSD: PLIST,v 1.3 2004/09/15 18:49:51 espie Exp $
>  ${P5SITE}/HTML/
> +${P5SITE}/HTML/Template/
>  ${P5SITE}/HTML/Template.pm
> +${P5SITE}/HTML/Template/FAQ.pm
>  @man man/man3p/HTML::Template.3p
> +@man man/man3p/HTML::Template::FAQ.3p
> 

-- 
andrew - http://afresh1.com

Computer Science: solving today's problems tomorrow.



[update] www/p5-HTML-Template 2.9 -> 2.97

2019-05-20 Thread Charlene Wendling


Here is a long overdue update for HTML::Template.

What's new upstream (97 lines of changelog [0]): 

- full UTF-8 templates support
- allow clean XML style tags like ""
- add a config() method to allow global defaults, reducing boilerplate
  code
- add lazy caching
- most importantly, nothing backward incompatible :)

What's new in the port:

- use Perl license marker, and metacpan HOMEPAGE
- as CGI has been dropped from core modules since Perl 5.22, we need
  to pull it as dependency for tests
- add Pod testing

Testing:

- 'make test' passes
- There are 11 direct consumers that i've tested [1], and found no new
  issues due to that update.

Comments/feedback are welcome!

Charlène.


[0] https://metacpan.org/source/SAMTREGAR/HTML-Template-2.97/Changes
[1] http://0x0.st/zmVL.tgz


Index: Makefile
===
RCS file: /cvs/ports/www/p5-HTML-Template/Makefile,v
retrieving revision 1.10
diff -u -p -u -p -r1.10 Makefile
--- Makefile6 May 2019 19:36:30 -   1.10
+++ Makefile20 May 2019 23:35:58 -
@@ -4,13 +4,14 @@ COMMENT=  use HTML Templates from CGI scr
 
 MODULES=   cpan
 PKG_ARCH=  *
-DISTNAME=  HTML-Template-2.9
+DISTNAME=  HTML-Template-2.97
 CATEGORIES=www
-REVISION=  0
 
-HOMEPAGE=  http://sourceforge.net/projects/html-template/
-
-# GPL/Artistic license
+# Perl
 PERMIT_PACKAGE_CDROM=  Yes
+
+TEST_DEPENDS=  www/p5-CGI
+
+MAKE_ENV+= TEST_POD=Yes AUTHOR_TESTING=Yes
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/www/p5-HTML-Template/distinfo,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 distinfo
--- distinfo18 Jan 2015 03:15:45 -  1.6
+++ distinfo20 May 2019 23:35:58 -
@@ -1,2 +1,2 @@
-SHA256 (HTML-Template-2.9.tar.gz) = 
Yml7+kxlcp/lor8IvqHODWXdBgBk0yfdpmGcYKURQEc=
-SIZE (HTML-Template-2.9.tar.gz) = 82558
+SHA256 (HTML-Template-2.97.tar.gz) = 
ZUevYfOqhXk/hhYZCTjWd9eZX7O3IMFiWAQLyTXiEp8=
+SIZE (HTML-Template-2.97.tar.gz) = 88236
Index: pkg/PLIST
===
RCS file: /cvs/ports/www/p5-HTML-Template/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 PLIST
--- pkg/PLIST   15 Sep 2004 18:49:51 -  1.3
+++ pkg/PLIST   20 May 2019 23:35:58 -
@@ -1,4 +1,7 @@
 @comment $OpenBSD: PLIST,v 1.3 2004/09/15 18:49:51 espie Exp $
 ${P5SITE}/HTML/
+${P5SITE}/HTML/Template/
 ${P5SITE}/HTML/Template.pm
+${P5SITE}/HTML/Template/FAQ.pm
 @man man/man3p/HTML::Template.3p
+@man man/man3p/HTML::Template::FAQ.3p