Hi, On Mon, 3 Dec 2018 01:51:14 +0000 wen heping wrote:
> Hi, > > There are 2 ports depends p5-Dancer, > 1 www/p5-Dancer-Plugin-Thumbnail : build well and regression test > passed. 2 databases/ports-readmes-dancer : build well. > <snip> > 发件人: Marc Espie <es...@nerim.net> > 发送时间: 2018年12月2日 19:50 > 收件人: wen heping > 抄送: ports@openbsd.org > 主题: Re: www/p5-Dancer : Update to 1.3500 > > On Sun, Dec 02, 2018 at 04:48:35AM +0000, wen heping wrote: > > Hi, ports@ : > > > > Here is a patch to update www/p5-Dancer to 1.3500. > > It build well and all tests passed on my amd64 system. > > No other depends on www/p5-Dancer. > > What do you mean ? > > ports-readmes-dancer run-depends on www/p5-Dancer > > Did you check or did you not check that it was fine ? > > There's no excuse now that sqlports includes a show-reverse-deps > script This update will be needed with Perl 5.28 otherwise tests will fail. I had to do more changes: - Added all test depends that we could use with our current port tree, only Devel::Hide test dep is missing. It's used if p5-Clone is not here, and that shouldn't happen if built from the port tree anyway, so there is no big incentives to port it. I'll comply if you think otherwise. - Enabled more tests, mostly pod coverage. - 'make update-plist' shows new files, upstream forgot to remove their editor temp files from their tree, so i added a hook, we don't want this in our package, right? ;) Testing: - 'make test' passes - I tested the consumers, they all pass where applicable [1]. Runtime is good as well [2]. Charlène. [1] https://transfer.sh/2kYj9/p5-Dancer.tgz [2] https://bsd.network/web/statuses/101270285848996900 Index: Makefile =================================================================== RCS file: /cvs/ports/www/p5-Dancer/Makefile,v retrieving revision 1.11 diff -u -p -r1.11 Makefile --- Makefile 20 Mar 2016 19:57:16 -0000 1.11 +++ Makefile 19 Dec 2018 22:44:26 -0000 @@ -4,7 +4,7 @@ COMMENT = simple perl web app framework MODULES = cpan PKG_ARCH = * -DISTNAME = Dancer-1.3202 +DISTNAME = Dancer-1.3500 CATEGORIES = www # perl @@ -19,11 +19,21 @@ RUN_DEPENDS = devel/p5-Hash-Merge-Simpl TEST_DEPENDS += converters/p5-JSON \ devel/p5-Clone \ + devel/p5-Data-Dump \ + devel/p5-Test-CPAN-Meta \ devel/p5-Test-Output \ devel/p5-Test-NoWarnings \ devel/p5-YAML \ net/p5-Test-TCP \ textproc/p5-Template \ + textproc/p5-Template-Provider-Encoding \ + www/p5-HTTP-CookieJar \ www/p5-Plack + +MAKE_ENV += TEST_POD=Yes AUTHOR_TESTING=Yes RELEASE_TESTING=Yes + +# XXX Upstream has left a .swo file hanging +post-extract: + @rm ${WRKSRC}/lib/Dancer/.Test.pm.swo .include <bsd.port.mk> Index: distinfo =================================================================== RCS file: /cvs/ports/www/p5-Dancer/distinfo,v retrieving revision 1.6 diff -u -p -r1.6 distinfo --- distinfo 14 Nov 2015 15:04:24 -0000 1.6 +++ distinfo 19 Dec 2018 22:44:26 -0000 @@ -1,2 +1,2 @@ -SHA256 (Dancer-1.3202.tar.gz) = qTPk+CA8fWx+CyvN2OVMZQlQKWFrjQeALbTbL8Jlf6o= -SIZE (Dancer-1.3202.tar.gz) = 392909 +SHA256 (Dancer-1.3500.tar.gz) = WAQqpG3+qGTkpZHcgPRtkBvS5xKN4kLj5XdGPROZXNw= +SIZE (Dancer-1.3500.tar.gz) = 392695 Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/www/p5-Dancer/pkg/PLIST,v retrieving revision 1.2 diff -u -p -r1.2 PLIST --- pkg/PLIST 28 Mar 2015 22:05:59 -0000 1.2 +++ pkg/PLIST 19 Dec 2018 22:44:26 -0000 @@ -96,6 +96,8 @@ ${P5SITE}/Dancer/Template/TemplateToolki ${P5SITE}/Dancer/Test.pm ${P5SITE}/Dancer/Timer.pm ${P5SITE}/Dancer/Tutorial.pod +${P5SITE}/HTTP/Tiny/ +${P5SITE}/HTTP/Tiny/NoProxy.pm @man man/man1/dancer.1 @man man/man3p/Dancer.3p @man man/man3p/Dancer::App.3p @@ -175,3 +177,4 @@ ${P5SITE}/Dancer/Tutorial.pod @man man/man3p/Dancer::Test.3p @man man/man3p/Dancer::Timer.3p @man man/man3p/Dancer::Tutorial.3p +@man man/man3p/HTTP::Tiny::NoProxy.3p