aboutsummaryrefslogtreecommitdiffstats
path: root/cpanfile
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2014-02-26 12:50:11 +0000
committerMatthew Somerville <matthew@mysociety.org>2014-02-26 16:14:57 +0000
commita70342b06acf65564b6a932e0c2374bd8af7ff3e (patch)
treed513ae0ff644e3e173ecd2e16f47d9e280c9aba1 /cpanfile
parent9f8907fc2e5627c6a963204bb025c6fbf342cb13 (diff)
Move SOAP::WSDL requirement into UK cpanfile feature.
Note how we'd like to do the same with SOAP::Lite.
Diffstat (limited to 'cpanfile')
-rw-r--r--cpanfile17
1 files changed, 15 insertions, 2 deletions
diff --git a/cpanfile b/cpanfile
index 1167436f7..388e9f12b 100644
--- a/cpanfile
+++ b/cpanfile
@@ -67,8 +67,6 @@ requires 'Readonly';
requires 'Regexp::Common';
requires 'Scalar::Util';
requires 'SOAP::Lite';
-# Required by Barnet sending, currently fails to install, no-one else needs it.
-# requires 'SOAP::WSDL';
requires 'Statistics::Distributions';
requires 'Storable';
requires 'Template::Plugin::Comma';
@@ -79,6 +77,21 @@ requires 'XML::RSS';
requires 'XML::Simple';
requires 'YAML';
+# SOAP::Lite isn't needed by all cobrands, but it would require
+# code changes to only be imported when installed.
+
+feature 'uk', 'FixMyStreet.com specific requirements' => sub {
+# # East Hampshire
+# requires 'SOAP::Lite';
+ # Barnet
+ requires 'SOAP::WSDL';
+};
+
+#feature 'zurich', 'Zueri wie neu specific requirements' => sub {
+# # Geocoder
+# requires 'SOAP::Lite';
+#};
+
# Modules used by the test suite
requires 'CGI::Simple';
requires 'HTTP::Headers';