[Bps-public-commit] Prophet - A disconnected, replicated p2p database branch, master, updated. af943cdca190a8ae05d57854a5957a5fc52951c9

jesse jesse at bestpractical.com
Fri Feb 13 12:21:48 EST 2009


The branch, master has been updated
       via  af943cdca190a8ae05d57854a5957a5fc52951c9 (commit)
      from  d6a783d0e64569295f4d5dba8c0de12eb6b28bee (commit)

Summary of changes:
 Makefile.PL |   93 +++++++++++++++++++++++-----------------------------------
 1 files changed, 37 insertions(+), 56 deletions(-)

- Log -----------------------------------------------------------------
commit af943cdca190a8ae05d57854a5957a5fc52951c9
Author: Jesse Vincent <jesse at bestpractical.com>
Date:   Fri Feb 13 12:21:31 2009 -0500

    Switch to adam's preferred 'feature' syntax for Module::Install

diff --git a/Makefile.PL b/Makefile.PL
index ee8303f..c86476d 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -1,79 +1,60 @@
 #!/usr/bin/perl
-#
+
 use inc::Module::Install;
-name('Prophet'); #  App::Settings App::Settings::CLI App::WebToy App::WebToy::CLI
+name('Prophet');    #  App::Settings App::Settings::CLI App::WebToy App::WebToy::CLI
 author('clkao and jesse');
 license('Perl');
 
 requires('Params::Validate');
 requires('IPC::Run3');
 requires('Data::UUID');
-requires('Digest::SHA1');  # Core in 5.10
-requires('LWP::Simple'); # Part of lib-www-perl
+requires('Digest::SHA1');    # Core in 5.10
+requires('LWP::Simple');     # Part of lib-www-perl
 requires('URI');
 requires('HTTP::Date');
-requires('JSON' => '2.00');
+requires( 'JSON' => '2.00' );
 requires('Module::Pluggable');
 requires('File::Find::Rule');
 requires('Proc::InvokeEditor');
-requires('Scalar::Defer' => '0.18');
-requires('Any::Moose' => '0.03');
-requires('Mouse' => '0.16');
+requires( 'Scalar::Defer' => '0.18' );
+requires( 'Any::Moose'    => '0.03' );
+requires( 'Mouse'         => '0.16' );
 requires('XML::Atom::SimpleFeed');
-requires('Path::Dispatcher' => '0.09'); # Path::Dispatcher::Declarative
+requires( 'Path::Dispatcher' => '0.09' );    # Path::Dispatcher::Declarative
 requires('Time::Progress');
 
-build_requires('Test::Exception' => '0.26');
+build_requires( 'Test::Exception' => '0.26' );
 
-use Term::ReadLine; # if we don't do this, ::Perl fails
-features(
-    'Improved interactive shell' => [
-        -default => 1,
-        'Term::ReadLine::Perl'
-        ],
-    'Faster JSON Parsing' => [
-        -default => 1,
-        'JSON::XS', => '2.2222'
-    ],
-    'Web server' => [
-        -default => 1,
-        'File::ShareDir' => '1.00',
-        'HTTP::Server::Simple', # HTTP::Server::Simple::CGI
-    ],
+use Term::ReadLine;                          # if we don't do this, ::Perl fails
+feature 'Improved interactive shell' => -default => 1,
+    'Term::ReadLine::Perl'           => 0;
+feature 'Faster JSON Parsing' => -default => 1,
+    'JSON::XS',               => '2.2222';
+feature 'Web server' => -default => 1,
+    'File::ShareDir' => '1.00',
+    'HTTP::Server::Simple',                  # HTTP::Server::Simple::CGI
+    ;
+feature 'HTML display'  => -default => 1,
+    'Template::Declare' => '0.35',  # Template::Declare::Tags
+    ;
+feature 'Foreign replica support' => -default => 1,
+    'Term::ReadKey';
+feature 'SQLite replica support' => -default => 1,
+    'DBI'                        => 1,
+    'DBD::SQLite'                => 1;
 
-    'HTML display' => [
-        -default => 1,
-        'Template::Declare' => '0.35', # Template::Declare::Tags
-    ],
-    'Foreign replica support' => [
-        -default => 1,
-        'Term::ReadKey'
-    ],
-    'SQLite replica support' => [
-        -default => 1,
-        'DBI' => 1,
-        'DBD::SQLite' => 1
-    ],
-    'Maintainer testing tools' => [
-        -default   => 1,
-        'Test::HTTP::Server::Simple',
-        'YAML::Syck' => 0,
-        'Module::Refresh' => 0,
-        'Test::WWW::Mechanize' => '1.16',
-        'Test::Pod::Coverage'
-    ],
-#    q{Devel::Gladiator support (contact sky at crucially.net if it's not on CPAN)} => [
-#        -default => 0,
-#        'Devel::Gladiator'
-#    ],
-    'Bonjour support' => [
-        -default => 0,
-        'Net::Bonjour', # Net::Rendezvous::Publish
-    ],
-);
+feature 'Maintainer testing tools' => -default => 1,
+    'Test::HTTP::Server::Simple',
+    'YAML::Syck'           => 0,
+    'Module::Refresh'      => 0,
+    'Test::WWW::Mechanize' => '1.16',
+    'Test::Pod::Coverage';
+feature 'Bonjour support' => -default => 0,
+    'Net::Bonjour',    # Net::Rendezvous::Publish
+    ;
 
 tests('t/*.t t/*/t/*.t');
-all_from('lib/Prophet.pm'); 
+all_from('lib/Prophet.pm');
 install_script('bin/prophet');
 install_share 'share';
 auto_install;

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list