~ubuntu-branches/debian/sid/libconfig-model-dpkg-perl/sid

« back to all changes in this revision

Viewing changes to Build.PL

  • Committer: Package Import Robot
  • Author(s): Dominique Dumont
  • Date: 2015-05-08 10:24:03 UTC
  • mfrom: (1.1.3 experimental)
  • Revision ID: package-import@ubuntu.com-20150508102403-5a61zoujj1kqd7vw
Tags: 2.063
* Copyright scanner:
  * to cope with owner containing 'f00' (Closes: #783932)
  * handle ranges like 2010-12 or 2002-3 (Closes: #783928)
* Dpkg::Patch: fix handling of Subject body expressed as
  free form text below header.
* Updated list of supported arch in C::M::Dpkg::Dependency
  (Closes: #782995)
* control: added build-dep on libyaml-tiny-perl

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
require 5.010001 ;
26
26
 
27
 
my $class = Module::Build->subclass(
28
 
    class => "Module::Build::Custom",
29
 
    code => <<'SUBCLASS' );
30
 
 
31
 
sub ACTION_build {
 
27
my $code = 'sub ACTION_build {
32
28
    my $self = shift;
33
29
    # below requires Config::Model 2.026, and need to use local library
34
 
    system ($^X, qw!-Ilib -S cme gen-class-pod!) ;
 
30
    system ( $^X, qw!-Ilib -S cme gen-class-pod! ) ;
35
31
    $self->SUPER::ACTION_build;
36
 
}
37
 
SUBCLASS
 
32
}';
 
33
 
 
34
my $class = Module::Build->subclass(
 
35
        class => "Module::Build::Custom",
 
36
        code => $code,
 
37
);
38
38
 
39
39
my %appli_files = map { ( $_, $_ ) } glob("lib/Config/Model/*.d/*");
40
40
 
45
45
    dist_abstract => 'Edit and validate dpkg source files with cme',
46
46
    dist_author   => 'Dominique Dumont (dod at debian dot org)',
47
47
 
48
 
  'build_requires' => {
49
 
    'Config::Model::Tester' => '2.043', # need specific bug fix
50
 
    'Module::Build' => '0.34',
51
 
    'Test::Differences' => '0',
52
 
    'Test::Exception' => '0',
53
 
    'Test::Memory::Cycle' => '0',
54
 
    'Test::More' => '0',
55
 
    'Test::Warn' => '0.11'
56
 
  },
57
 
  'requires' => {
58
 
    'Config::Model' => '2.055',
59
 
        'LWP::Simple' => '0',
60
 
    'DB_File' => '0',
61
 
    'File::Path' => '2.07',
62
 
    'IO::File' => '0',
63
 
    'Log::Log4perl' => '1.11',
64
 
    'Mouse' => '0',
65
 
    'Parse::RecDescent' => 'v1.90.0',
66
 
    'Software::License' => 0,
67
 
  },
 
48
    'build_requires' => {
 
49
        'Config::Model::Tester' => '2.043', # need specific bug fix
 
50
        'Module::Build' => '0.34',
 
51
        'Test::Differences' => '0',
 
52
        'Test::Exception' => '0',
 
53
        'Test::Memory::Cycle' => '0',
 
54
        'Test::More' => '0',
 
55
        'Test::Warn' => '0.11'
 
56
    },
 
57
    'requires' => {
 
58
        'Config::Model' => '2.055',
 
59
        'LWP::Simple' => '0',
 
60
        'DB_File' => '0',
 
61
        'File::Path' => '2.07',
 
62
        'IO::File' => '0',
 
63
        'Log::Log4perl' => '1.11',
 
64
        'Mouse' => '0',
 
65
        'Parse::RecDescent' => 'v1.90.0',
 
66
        'Software::License' => 0,
 
67
    },
68
68
 
69
69
    meta_merge => {
70
70
        resources => {
71
71
            homepage => 'https://github.com/dod38fr/config-model/wiki',
72
72
            MailingList =>
73
 
              'https://lists.sourceforge.net/lists/listinfo/config-model-users',
 
73
            'https://lists.sourceforge.net/lists/listinfo/config-model-users',
74
74
            repository =>
75
 
              'git://anonscm.debian.org/pkg-perl/packages/libconfig-model-dpkg-perl.git',
 
75
            'git://anonscm.debian.org/pkg-perl/packages/libconfig-model-dpkg-perl.git',
76
76
        },
77
77
    },
78
78
 
 
79
    recursive_test_files => 1,
 
80
 
79
81
    # cleanup required by t/auto_read.t
80
82
    add_to_cleanup => [ qw/wr_root r_root/ ],
81
83
);