summaryrefslogtreecommitdiff
path: root/net/coherence/patches/patch-coherence_____init____.py
diff options
context:
space:
mode:
Diffstat (limited to 'net/coherence/patches/patch-coherence_____init____.py')
-rw-r--r--net/coherence/patches/patch-coherence_____init____.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/net/coherence/patches/patch-coherence_____init____.py b/net/coherence/patches/patch-coherence_____init____.py
new file mode 100644
index 00000000000..6b8af563382
--- /dev/null
+++ b/net/coherence/patches/patch-coherence_____init____.py
@@ -0,0 +1,16 @@
+$NetBSD: patch-coherence_____init____.py,v 1.1 2016/04/17 10:15:21 wiz Exp $
+
+twisted 16.0.0 detection is broken, see
+https://github.com/coherence-project/Coherence/issues/25
+
+--- coherence/__init__.py.orig 2010-01-02 15:35:20.000000000 +0000
++++ coherence/__init__.py
+@@ -24,8 +24,6 @@ try:
+ if twisted_version < Version("twisted", 2, 5, 0):
+ raise ImportError("Twisted >= 2.5 is required. Please install it.")
+
+- if twisted_web_version < Version("twisted.web", 2, 5, 0):
+- raise ImportError("Twisted.Web >= 2.5 is required. Please install it")
+ except ImportError, exc:
+ # log error to stderr, might be useful for debugging purpose
+ for arg in exc.args: