Commit | Line | Data |
3440100b |
1 | # principal author list is kinda mandated by spec, luckily is rather static |
2 | author 'mst: Matt S Trout <mst@shadowcat.co.uk> (project founder - original idea, architecture and implementation)'; |
3 | author 'castaway: Jess Robinson <castaway@desert-island.me.uk> (lions share of the reference documentation and manuals)'; |
4 | author 'ribasushi: Peter Rabbitson <ribasushi@cpan.org> (present day maintenance and controlled evolution)'; |
5 | |
6 | # pause sanity |
20e84e74 |
7 | Meta->{values}{x_authority} = 'cpan:RIBASUSHI'; |
8 | |
3440100b |
9 | # populate x_contributors |
10 | # a direct dump of the sort is ok - xt/authors.t guarantees source sanity |
11 | Meta->{values}{x_contributors} = [ do { |
12 | # according to #p5p this is how one safely reads random unicode |
13 | # this set of boilerplate is insane... wasn't perl unicode-king...? |
14 | no warnings 'once'; |
15 | require Encode; |
16 | require PerlIO::encoding; |
17 | local $PerlIO::encoding::fallback = Encode::FB_CROAK(); |
18 | |
19 | open (my $fh, '<:encoding(UTF-8)', 'AUTHORS') or die "Unable to open AUTHORS - can't happen: $!\n"; |
20 | map { chomp; ( (! $_ or $_ =~ /^\s*\#/) ? () : $_ ) } <$fh>; |
21 | |
22 | }]; |
23 | |
20e84e74 |
24 | # legalese |
a2bd3796 |
25 | license 'perl_5'; |
20e84e74 |
26 | resources 'license' => 'http://dev.perl.org/licenses/'; |
27 | |
28 | # misc resources |
29 | abstract_from 'lib/DBIx/Class.pm'; |
30 | resources 'homepage' => 'http://www.dbix-class.org/'; |
31 | resources 'IRC' => 'irc://irc.perl.org/#dbix-class'; |
32 | resources 'repository' => 'https://github.com/dbsrgits/DBIx-Class'; |
33 | resources 'MailingList' => 'http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class'; |
34 | resources 'bugtracker' => 'http://rt.cpan.org/NoAuth/Bugs.html?Dist=DBIx-Class'; |
35 | |
36 | # nothing determined at runtime, except for possibly SQLT dep |
37 | # (see the check around DBICTEST_SQLT_DEPLOY in Makefile.PL) |
38 | dynamic_config 0; |
39 | |
40 | # Deprecated/internal modules need no exposure when building the meta |
41 | no_index directory => $_ for (qw| |
42 | lib/DBIx/Class/Admin |
43 | lib/DBIx/Class/PK/Auto |
44 | lib/DBIx/Class/CDBICompat |
45 | maint |
46 | |); |
47 | no_index package => $_ for (qw/ |
48 | DBIx::Class::Storage::DBIHacks |
49 | DBIx::Class::Storage::BlockRunner |
50 | DBIx::Class::Carp |
51 | DBIx::Class::_Util |
52 | DBIx::Class::ResultSet::Pager |
53 | /); |
54 | |
55 | # keep the Makefile.PL eval happy |
56 | 1; |