On 2017/11/11 15:46, Nigel Taylor wrote:
> On 11/11/17 14:19, Stuart Henderson wrote:
> > On 2017/11/11 15:04, Jeremie Courreges-Anglas wrote:
> >> On Sat, Nov 04 2017, Remi Locherer <remi.loche...@relo.ch> wrote:
> >>> Hi,
> >>
> >> H Remi,
> >>
> >>> This updates Mojolicious-Plugin-TtRenderer to 1.59. This is needed
> >>> because of the p5-Mojolicious patch I sent before.
> >>>
> >>> OK?
> >>
> >> My p5-ports-fu is rusty.  Why the move from modbuild to modinst?
> > 
> > Upstream change.
> > 
> > OK with me.
> > 
> > 
> 
> Not ok with me.
> 
> Module::Install and Module::Build are being abandoned and moving back to 
> MakeMaker. 
> Upstream has removed Module::Build, and used MakeMaker, not Module::Install 
> where 
> is the inc/ directory used by Module Install? Where is the actual reference 
> to Module::Install

Ah that's better again then. It does work with modinst though, and does
fail with modbuild.

> I'm looking on CPAN and I just can't see how this is using Module::Install.
> 
> Also tests are failing for me
> 
> t/lite_app_with_default_layouts.t   (Wstat: 256 Tests: 3 Failed: 1)
>   Failed test:  3
>   Non-zero exit status: 1
> Files=10, Tests=88,  8 wallclock secs ( 0.04 usr  0.07 sys +  3.81 cusr  1.42 
> csys =  5.34 CPU)
> Result: FAIL
> Failed 2/10 test programs. 3/88 subtests failed.
> *** Error 255 in 
> /usr/ports/pobj/p5-Mojolicious-Plugin-TtRenderer-1.59/Mojolicious-Plugin-TtRenderer-1.59
>  (Makefile:865 'test_dynamic')
> *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2763 
> '/usr/ports/pobj/p5-Mojolicious-Plugin-TtRenderer-1.59/.test_done')
> *** Error 1 in /usr/ports/mystuff/textproc/p5-Mojolicious-Plugin-TtRenderer 
> (/usr/ports/infrastructure/mk/bsd.port.mk:2426 'test')
> 
> No mention of failing tests, or reasons given. However this could be down to 
> the fact Mojo hasn't been updated, this being a plugin, then the plugin needs 
> reference to the specific versions of p5-Mojo which work a >= in the RDEP.
> But the Makefile.PL gives Mojo 2.51 and later as working with this.
> Either upstream have missed the dependency update or missed updating,
> tests to match changes made. 

They succeed with the p5-Mojolicious update that remi@ sent alongside, 
so in that case yes, I agree with adding the version to the dependency.



> 
> 
> Test of previous version 1.56.... 
> 
> t/00_diag.t ........................... ok
> t/00_load.t ........................... ok
> t/default_handler_as_engine.t ......... ok
> t/default_handler_as_plugin.t ......... ok
> t/default_handler_no_templates_dir.t .. ok
> t/lite_app.t .......................... ok
> t/lite_app_with_default_layouts.t ..... ok
> t/multiple_paths.t .................... ok
> t/tt_plugin_lite_app.t ................ ok
> t/two_data.t .......................... ok
> All tests successful.
> Files=10, Tests=88,  8 wallclock secs ( 0.04 usr  0.16 sys +  3.69 cusr  1.82 
> csys =  5.71 CPU)
> Result: PASS
> 
> Replacing a working version, with a non working one isn't much of an upgrade,
> needs some explanation.
> 
> Revised diff used....
> 
> $ cvs -R -q diff -uNp
> Index: Makefile
> ===================================================================
> RCS file: /home/cvs/ports/textproc/p5-Mojolicious-Plugin-TtRenderer/Makefile,v
> retrieving revision 1.5
> diff -u -p -r1.5 Makefile
> --- Makefile    20 Mar 2016 19:57:06 -0000      1.5
> +++ Makefile    11 Nov 2017 15:16:29 -0000
> @@ -4,15 +4,13 @@ COMMENT =     Template Renderer Plugin for M
>  
>  MODULES =      cpan
>  PKG_ARCH =     *
> -DISTNAME =     Mojolicious-Plugin-TtRenderer-1.56
> +DISTNAME =     Mojolicious-Plugin-TtRenderer-1.59
>  CATEGORIES =   textproc
>  
>  # Perl
>  PERMIT_PACKAGE_CDROM = Yes
>  
>  CPAN_AUTHOR =  PLICEASE
> -
> -CONFIGURE_STYLE=       modbuild
>  
>  RUN_DEPENDS =  sysutils/p5-Capture-Tiny \
>                 textproc/p5-Template \
> Index: distinfo
> ===================================================================
> RCS file: /home/cvs/ports/textproc/p5-Mojolicious-Plugin-TtRenderer/distinfo,v
> retrieving revision 1.4
> diff -u -p -r1.4 distinfo
> --- distinfo    27 Apr 2015 19:38:21 -0000      1.4
> +++ distinfo    11 Nov 2017 15:16:15 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (Mojolicious-Plugin-TtRenderer-1.56.tar.gz) = 
> Tm3uvvu4m2nd+Yz85u4f7aXxABU6PHMMYnwBmKdQXf0=
> -SIZE (Mojolicious-Plugin-TtRenderer-1.56.tar.gz) = 25908
> +SHA256 (Mojolicious-Plugin-TtRenderer-1.59.tar.gz) = 
> kATgC7NAzsh7Kqj+uqpd/vHKWU67jRGWq9NBYufp4p0=
> +SIZE (Mojolicious-Plugin-TtRenderer-1.59.tar.gz) = 26180
> 

Reply via email to