~ubuntu-branches/ubuntu/lucid/libdatetimex-easy-perl/lucid

« back to all changes in this revision

Viewing changes to inc/Module/Install/WriteAll.pm

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Yu, Jonathan Yu, Nathan Handler, Salvatore Bonaccorso, Ryan Niebur
  • Date: 2010-01-09 12:32:07 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20100109123207-x3zv4k064v0eu2mt
Tags: 0.088-1
[ Jonathan Yu ]
* New upstream release
* Standards-Version 3.8.3 (no changes)
* Add myself to Uploaders and Copyright
* Rewrite control description
* Refresh to new DEP5 copyright format
* Remove patch, replace with an override
* Update dependencies per upstream

[ Nathan Handler ]
* debian/watch: Update to ignore development releases.

[ Salvatore Bonaccorso ]
* debian/control: Changed: Replace versioned (build-)dependency on
  perl (>= 5.6.0-{12,16}) with an unversioned dependency on perl (as
  permitted by Debian Policy 3.8.3).

[ Ryan Niebur ]
* Update ryan52's email address

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
package Module::Install::WriteAll;
3
3
 
4
4
use strict;
5
 
use Module::Install::Base;
 
5
use Module::Install::Base ();
6
6
 
7
7
use vars qw{$VERSION @ISA $ISCORE};
8
8
BEGIN {
9
 
        $VERSION = '0.87';
 
9
        $VERSION = '0.91';;
10
10
        @ISA     = qw{Module::Install::Base};
11
11
        $ISCORE  = 1;
12
12
}
41
41
 
42
42
        # The Makefile write process adds a couple of dependencies,
43
43
        # so write the META.yml files after the Makefile.
44
 
        $self->Meta->write        if $args{meta};
45
 
        $self->Meta->write_mymeta if $self->mymeta;
 
44
        if ( $args{meta} ) {
 
45
                $self->Meta->write;
 
46
        }
 
47
 
 
48
        # Experimental support for MYMETA
 
49
        if ( $ENV{X_MYMETA} ) {
 
50
                if ( $ENV{X_MYMETA} eq 'JSON' ) {
 
51
                        $self->Meta->write_mymeta_json;
 
52
                } else {
 
53
                        $self->Meta->write_mymeta_yaml;
 
54
                }
 
55
        }
46
56
 
47
57
        return 1;
48
58
}