summaryrefslogtreecommitdiff
path: root/net/coherence
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2016-04-17 10:15:21 +0000
committerwiz <wiz@pkgsrc.org>2016-04-17 10:15:21 +0000
commitf10ea09a5f9c82670db0c7821b21117c3ca4bbca (patch)
tree6cfba28ec87ce11729b13cc834a38b29f3943900 /net/coherence
parent0c092666e006b1b747727da0b881745e612013ea (diff)
downloadpkgsrc-f10ea09a5f9c82670db0c7821b21117c3ca4bbca.tar.gz
Fix py-twisted detection.
https://github.com/coherence-project/Coherence/issues/25
Diffstat (limited to 'net/coherence')
-rw-r--r--net/coherence/distinfo3
-rw-r--r--net/coherence/patches/patch-coherence_____init____.py16
2 files changed, 18 insertions, 1 deletions
diff --git a/net/coherence/distinfo b/net/coherence/distinfo
index aab3050cd54..4fa400376d0 100644
--- a/net/coherence/distinfo
+++ b/net/coherence/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2015/11/04 00:34:56 agc Exp $
+$NetBSD: distinfo,v 1.6 2016/04/17 10:15:21 wiz Exp $
SHA1 (Coherence-0.6.6.2.tar.gz) = c8f3aedf6f393e400b012b9b79a45faf6bc3c809
RMD160 (Coherence-0.6.6.2.tar.gz) = f3cea9a846059723c846cb2254aae73ff1a6a5e9
@@ -7,3 +7,4 @@ Size (Coherence-0.6.6.2.tar.gz) = 364908 bytes
SHA1 (patch-aa) = 3d0e0966a12bb6f42015dac259db085923135fae
SHA1 (patch-ab) = 54d3ab8e58a4412f4e3b5c263785468f58ac132b
SHA1 (patch-ac) = c10f363f6de78a9ae4d08956c6d2afa35d817cb4
+SHA1 (patch-coherence_____init____.py) = 2f893049e59af910e9449e7ef081ec05eb1dd3e1
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: