[MOBY-guts] biomoby commit

Eddie Kawas kawas at dev.open-bio.org
Fri Feb 22 17:38:25 UTC 2008


kawas
Fri Feb 22 12:38:24 EST 2008
Update of /home/repository/moby/moby-live/Perl/MOBY-Client
In directory dev.open-bio.org:/tmp/cvs-serv32060/Perl/MOBY-Client

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-Client Makefile.PL,1.2,1.3
===================================================================
RCS file: /home/repository/moby/moby-live/Perl/MOBY-Client/Makefile.PL,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- /home/repository/moby/moby-live/Perl/MOBY-Client/Makefile.PL	2008/02/22 16:42:05	1.2
+++ /home/repository/moby/moby-live/Perl/MOBY-Client/Makefile.PL	2008/02/22 17:38:24	1.3
@@ -1,43 +1,73 @@
 use inc::Module::Install;
 
-name     'MOBY-Client';
+name 'MOBY-Client';
+
 # all_from 'lib/MOBY/Client/Central.pm';
-author   'Mark Wilkinson <markw at illuminae.com>';
+author 'Mark Wilkinson <markw at illuminae.com>';
 version '1.0';
 license 'perl';
 
 build_requires 'Test::More' => 0;
-build_requires 'Test::Pod' => 0;
+build_requires 'Test::Pod'  => 0;
 
 requires( perl => 5.005 );
 
 # MOBY::Client::* depends
-requires 'SOAP::Lite' 			=> '0.60';
-requires 'XML::LibXML' 			=> 0;
-requires 'LWP::UserAgent' 		=> 0;
-requires 'CGI' 					=> 0;
-requires 'HTTP::Request::Common'=> 0;
-requires 'URI::Escape' 			=> 0;
+requires 'SOAP::Lite'            => '0.60';
+requires 'XML::LibXML'           => 0;
+requires 'LWP::UserAgent'        => 0;
+requires 'CGI'                   => 0;
+requires 'HTTP::Request::Common' => 0;
+requires 'URI::Escape'           => 0;
 
 # MOBY::CommonSubs depends
-requires 'HTML::Entities' 		=> 0;
+requires 'HTML::Entities' => 0;
 
-# MOBY::Async requires - blurb warns on windows
-if ( not ($^O =~ /MSWin32|Windows_NT/i) ) {
-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';
-} else {
+# MOBY::Async requires
+if ( not( $^O =~ /MSWin32|Windows_NT/i ) ) {
+
+	# 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
+
+		
+	}
+	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';
+} else {
+	print STDOUT <<'END_OF_TEXT';
 			
 ################### IMPORTANT ###################
 
@@ -55,7 +85,7 @@
 
 END_OF_TEXT
 
-	}
+}
 
 # dont want to install the test services ... better just to document that they are here
 #install_share 'share';




More information about the MOBY-guts mailing list