[MOBY-guts] biomoby commit
Eddie Kawas
kawas at dev.open-bio.org
Fri Feb 22 17:52:06 UTC 2008
kawas
Fri Feb 22 12:52:06 EST 2008
Update of /home/repository/moby/moby-live/Perl/MOBY-Server
In directory dev.open-bio.org:/tmp/cvs-serv32161/Perl/MOBY-Server
Modified Files:
Makefile.PL
Log Message:
updated the makefile to tell people where they can get WSRF lite if they want to develop async services
moby-live/Perl/MOBY-Server Makefile.PL,1.1,1.2
===================================================================
RCS file: /home/repository/moby/moby-live/Perl/MOBY-Server/Makefile.PL,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Perl/MOBY-Server/Makefile.PL 2008/02/21 00:21:28 1.1
+++ /home/repository/moby/moby-live/Perl/MOBY-Server/Makefile.PL 2008/02/22 17:52:06 1.2
@@ -1,47 +1,82 @@
-# Load the Module::Install bundled in ./inc/
- use inc::Module::Install;
-
- # Define metadata
- name 'MOBY';
- version '1.00';
- license 'perl';
- abstract 'This distribution is for communicating with or creating your own MOBY Central registry';
- all_from 'lib/MOBY/Central.pm';
-
- # Specific dependencies
- requires 'Carp' => '0';
- requires 'File::Spec' => '0.80';
- requires 'SOAP::Lite' => '0.69';
- requires 'XML::LibXML' => '1.62';
- requires 'IO::Stringy' => '2.110';
- requires 'Unicode::String' => '2.09';
- requires 'File::ShareDir' => '0.05';
- requires 'Class::Inspector' => '1.17';
- requires 'XML::DOM' => '0';
- requires 'DateTime::Format::Epoch' => '0';
- requires 'DateTime::Format::W3CDTF' => '0';
- requires 'HTTP::Daemon' => '0';
- requires 'MIME::Base64' => '0';
- requires 'Digest::SHA1' => '0';
- requires 'Crypt::OpenSSL::RSA' => '0';
- requires 'Sys::Hostname::Long' => '0';
- requires 'RDF::Core' => '0.51';
- requires 'XML::XPath' => '1.12';
- requires 'Text::Shellwords' => '1.00';
- requires 'HTML::Entities' => '0.01';
- requires 'LS' => '1.1.7';
- requires 'DBI' => '0.01';
- requires 'DBD::mysql' => '0.01';
+ # Load the Module::Install bundled in ./inc/
+ use inc::Module::Install;
+
+ # Define metadata
+ name 'MOBY';
+ version '1.00';
+ license 'perl';
+ abstract
+'This distribution is for communicating with or creating your own MOBY Central registry';
+ all_from 'lib/MOBY/Central.pm';
+
+ # Specific dependencies
+ requires 'Carp' => '0';
+ requires 'File::Spec' => '0.80';
+ requires 'SOAP::Lite' => '0.69';
+ requires 'XML::LibXML' => '1.62';
+ requires 'IO::Stringy' => '2.110';
+ requires 'Unicode::String' => '2.09';
+ requires 'File::ShareDir' => '0.05';
+ requires 'Template' => '0';
+ requires 'Class::Inspector' => '1.17';
+ requires 'RDF::Core' => '0.51';
+ requires 'XML::XPath' => '1.12';
+ requires 'Text::Shellwords' => '1.00';
+ requires 'HTML::Entities' => '0.01';
+ requires 'LS' => '1.1.7';
+ requires 'DBI' => '0.01';
+ requires 'DBD::mysql' => '0.01';
+
+ if ( not( $^O =~ /MSWin32|Windows_NT/i ) ) {
+
+ # non portable requires
+ requires 'IO::Prompt' => '0.99.2';
+ requires 'IPC::Shareable' => '0.6';
+
+ # check for WSRF
+ eval "require WSRF::Lite";
+ if ($@) {
+
+ # WSRF not installed ... tell them where to get it
+ print STDOUT <<'END_OF_TEXT';
+
+################### IMPORTANT ###################
+
+ WSRF lite is not installed on your system.
+ Unfortunately, at this time, this Makefile
+ cannot automatically find and install it for
+ you. You will have to install it manually.
+
+ The last known URL of where you could find
+ this package is @
+ http://www.rcs.manchester.ac.uk/research/wsrflite
+ If that url does not exist, please search with
+ google using the phrase 'WSRF-Lite'.
+
+ Sorry for any inconvenience caused!
+
+##################################################
+
+END_OF_TEXT
+
+ }
+
+ # MOBY::Async requires
+ requires 'WSRF::Lite' => '0.8.2.2';
+ requires 'XML::DOM' => '';
+ requires 'DateTime::Format::Epoch' => '';
+ requires 'DateTime::Format::W3CDTF' => '';
+ requires 'HTTP::Daemon' => '';
+ requires 'HTTP::Daemon::SSL' => '';
+ requires 'MIME::Base64' => '';
+ requires 'Digest::SHA1' => '';
+ requires 'Crypt::OpenSSL::RSA' => '';
+ requires 'XML::CanonicalizeXML' => '0.02';
+ requires 'Sys::Hostname::Long' => '';
+ requires 'Crypt::OpenSSL::X509' => '0';
-#blurb on windows compatability
- if ( not ($^O =~ /MSWin32|Windows_NT/i) ) {
- #modules that are required/recommended that have no MSWin ports yet
- requires 'WSRF::Lite' => '0.8.2.2';
- requires 'Crypt::OpenSSL::X509' => '0';
- requires 'IPC::Shareable' => '0.6';
- requires 'IO::Prompt' => '0.99.2';
- } else {
+ } else {
print STDOUT <<'END_OF_TEXT';
################### IMPORTANT ###################
@@ -53,26 +88,26 @@
required libraries.
The libraries in question are as follows:
- IPC::Shareable, WSRF-Lite, & Crypt-OpenSSL-X509.
+ IPC::Shareable, IO::Prompt,
+ WSRF-Lite, & Crypt-OpenSSL-X509.
Sorry for any inconvenience caused!
##################################################
END_OF_TEXT
+
}
-
- build_requires 'Test::More' => '0.42';
- build_requires 'Test::Simple' => '0.44';
-
- no_index 'directory' => 'bin/scripts';
+ build_requires 'Test::More' => '0.42';
+ build_requires 'Test::Simple' => '0.44';
- install_script 'bin/scripts/moby-s-install.pl';
+ no_index 'directory' => 'bin/scripts';
+
+ install_script 'bin/scripts/moby-s-install.pl';
+
+ install_share 'share';
+
+ auto_install;
+ WriteAll;
-
- install_share 'share';
-
- auto_install;
- WriteAll;
-
\ No newline at end of file
More information about the MOBY-guts
mailing list