Source

p5-moosex-semantic / Build.PL

use Module::Build;
# http://odyniec.net/blog/2011/11/github-friendly-readme-files-with-extutils-makemaker-and-module-build/
my $class = Module::Build->subclass(
    class => 'My::Builder',
    code => q{
        sub ACTION_docs {
            use Pod::Readme;
            use Pod::Select;
 
            my $self = shift;
 
            unlink 'README.pod';
            unlink 'README';
            podselect({ -output => 'README.pod' },
                'lib/MooseX/Semantic.pm');
 
            my $parser = Pod::Readme->new();
            $parser->parse_from_file('README.pod', 'README');
            warn "Built README";
 
            return $self->SUPER::ACTION_docs;
        }
    }
);
my $build = $class->new(
    module_name => 'MooseX::Semantic',
    license => 'perl',
    dist_abstract => 'Semantic extensions to Moose',
    dist_author => 'konstantin baierer <kba@cpan.org>',
    dist_version_from   => 'lib/MooseX/Semantic.pm',
    license     => 'perl',
    requires    => {
        'Moose' => '2.0',
        'RDF::Trine' => '0.136',
        'Data::UUID' => '1.217',
        'Try::Tiny' => '0.09',
        'File::Path' => 0,
        'File::Temp' => 0,,
        'File::Slurp' => '9999.19',
        'MooseX::Role::Parameterized' => 0,
        'RDF::RDFa::Parser' => '1.096',
        'Module::Load' => '0.18',
        'namespace::clean' => 0,
        'MooseX::Types' => '0.30',
        'MooseX::Types::URI' => '0.03',
        'MooseX::ClassAttribute' => '0.26',
        # 'MooseX::Unique' => '0.005',
        'LWP::UserAgent' => 0,
        'Scalar::Util' => 0,
        'Set::Object' => '1.28',
        'URI' => 0,
        'Data::Printer' => 0,
        'RDF::NS' => '20111124',
        'MooseX::HasDefaults' => '0.03',
        'Sort::Naturally' => 0,
        'MooseX::Role::Parameterized'=> 0,


        # 'perl'          => '5.6.1',
        # 'Some::Module'  => '1.23',
        # 'Other::Module' => '>= 1.2, != 1.5, < 2.0',
    },
    build_requires => {
        'String::Diff' => 0,
        'Carp::Always' => 0,
        'Data::Printer' => 0,
        'Devel::PartialDump' => 0,
        'Term::ANSIColor' => 0,
        'RDF::Endpoint' => '0.04',
        'SUPER' => 0,
        'YAML::XS' => 0,
        'LWP::Protocol::PSGI' => 0,
        'Pod::Readme' => 0,
        'Pod::Select' => 0,
        'RDF::Trine::Serializer::SparqlUpdate' => '0.0002',
    },
    configure_requires => {
        'Pod::Readme' => 0,
        'Pod::Select' => 0,
        'Module::Build' => 0.38,
    },
    create_makefile_pl => 'traditional',
    recursive_test_files => 1,
);
$build->create_build_script;
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.