Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 117 lines (92 sloc) 3.182 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117
#!/usr/bin/perl -w

use strict;

use ExtUtils::MakeMaker;

require 5.008; # utf8 and what not

if ( $] == 5.010 ) {
        warn <<WARNING

*********************************************************
* *
* Note: Perl 5.10.0 leaks memory in weaken(), *
* This bug has been fixed in version 5.10.1 *
* *
*********************************************************

WARNING
}


if ( eval { require KiokuDB::Cmd; 1 } ) {
    open my $fh, "<", "lib/KiokuDB.pm" or die $!;
    while ( <$fh> ) {
        if ( /REQUIRED_CMD_VERSION\s*=/ ) {
            eval $_;
            last;
        }
    }

    unless ( eval { KiokuDB::Cmd->VERSION($::REQUIRED_CMD_VERSION); 1 } ) {
        warn <<WARNING

*********************************************************
* *
* Note: your copy of KiokuDB::Cmd is out of date *
* *
* Version $::REQUIRED_CMD_VERSION is required by this version of KiokuDB *
* *
*********************************************************

WARNING
    }
}
WriteMakefile(
    NAME => 'KiokuDB',
    VERSION_FROM => 'lib/KiokuDB.pm',
    INSTALLDIRS => 'site',
    SIGN => 1,
    PL_FILES => { },
    EXE_FILES => [ grep { /\w$/ } glob("bin/*") ],
    PREREQ_PM => {
        'Moose' => 1.17,
        'Class::MOP' => 0.94,
        'MooseX::Role::Parameterized' => 0.10,
        #'MooseX::AttributeHelpers' => '0.14',
        'MooseX::Clone' => 0.04,
        'Path::Class' => 0,

        # configure
        'MooseX::YAML' => 0.04,

        # misc dev shit
        'Try::Tiny' => 0,
        'Throwable' => 0,
        'Scalar::Util' => 0,
        #'Devel::PartialDump' => '0.06',
        'namespace::clean' => '0.08',

        # Identity is important
        ( eval { require Data::UUID::LibUUID }
            ? ( "Data::UUID::LibUUID" => '0.05' )
            : ( "Data::UUID" => '1.203' ) ),

        # visits are also important
        'Data::Visitor' => '0.24',
        'Tie::ToObject' => 0,
        'Task::Weaken' => 0,

        # scanning and searching
        'Data::Stream::Bulk' => "0.08",

        # live objects
        'Hash::Util::FieldHash::Compat' => 0,
        ( eval { require Hash::Util::FieldHash } ? () : (
            # for 5.8 we need some specific versions of fieldhash deps
            'Tie::RefHash::Weak' => '0.09',
            'Variable::Magic' => '0.24',
        )),
        'Scope::Guard' => 0,

        'Set::Object' => '1.26',

        'Cache::Ref' => '0.02',

        'Module::Pluggable::Object' => 0,
        'Test::use::ok' => 0,
        'Test::Exception' => 0,
        'Test::More' => 0.88,

        'Search::GIN' => 0.03,

        'JSON' => 2.12,
        'JSON::XS' => 2.231,
        'YAML::XS' => 0.30,
        'Storable' => 0,

        'IO' => 1.23,

        # closure serializing support
        'PadWalker' => 1.9,

        # Role::ID::Digest
        'Digest::SHA' => 0,
    },
);
Something went wrong with that request. Please try again.