Perl-Dist-WiX

changeset 1057:3622630c0e90

Can't use Template::Alloy quite yet.
author Curtis Jewell <perl@curtisjewell.name>
date Tue Jun 14 06:34:28 2011 -0600 (2011-06-14)
parents ef2ef60ce746
children 77193cede00c
files Build.PL lib/Perl/Dist/WiX/Mixin/BuildPerl.pm
line diff
     1.1 --- a/Build.PL	Sun Jun 12 23:04:51 2011 -0600
     1.2 +++ b/Build.PL	Tue Jun 14 06:34:28 2011 -0600
     1.3 @@ -73,7 +73,8 @@
     1.4  		'Readonly'                   => '1.03',
     1.5  		# Template 2.21 will not install on Windows, anyway.
     1.6  		'Template'                   => '2.22',
     1.7 -		'Template::Alloy'            => '1.016',
     1.8 +#		Want to move to Template::Alloy eventually, but can't yet.
     1.9 +#		'Template::Alloy'            => '1.016',
    1.10  		'URI'                        => '1.35',
    1.11  		'WiX3'                       => '0.010004',
    1.12  		'YAML::Tiny'                 => '1.36',
     2.1 --- a/lib/Perl/Dist/WiX/Mixin/BuildPerl.pm	Sun Jun 12 23:04:51 2011 -0600
     2.2 +++ b/lib/Perl/Dist/WiX/Mixin/BuildPerl.pm	Tue Jun 14 06:34:28 2011 -0600
     2.3 @@ -42,7 +42,7 @@
     2.4  use IO::Capture::Stdout               qw();
     2.5  use IO::Capture::Stderr               qw();
     2.6  use Perl::Dist::WiX::Asset::Perl      qw();
     2.7 -use Template::Alloy                   qw();
     2.8 +use Template                          qw();
     2.9  #>>>
    2.10  
    2.11  our $VERSION = '1.550';
    2.12 @@ -296,9 +296,10 @@
    2.13  	$self->trace_line( 1, "Running upgrade of all modules\n" );
    2.14  	my $cpan_info_file = $self->output_dir()->file('cpan.info')->stringify();
    2.15  	my $cpan_file = $self->build_dir()->file('cpan_string.pl')->stringify();
    2.16 -	my $tt = Template::Alloy->new(ABSOLUTE => 1,);
    2.17 +
    2.18 +	my $tt = Template->new( ABSOLUTE => 1, );
    2.19  	my $tt_answer = $tt->process(
    2.20 -		$self->wix_dist_dir()->file('cpan_upgrades.pl.tt'), 
    2.21 +		$self->wix_dist_dir()->file('cpan_upgrades.pl.tt')->stringify(), 
    2.22  		{
    2.23  			url            => $self->cpan()->as_string(),
    2.24  			cpan_info_file => $cpan_info_file,