Sun Apr 17 10:15:21 2016 UTC ()
Fix py-twisted detection.

https://github.com/coherence-project/Coherence/issues/25


(wiz)
diff -r1.5 -r1.6 pkgsrc/net/coherence/distinfo
diff -r0 -r1.1 pkgsrc/net/coherence/patches/patch-coherence_____init____.py

cvs diff -r1.5 -r1.6 pkgsrc/net/coherence/Attic/distinfo (expand / switch to unified diff)

--- pkgsrc/net/coherence/Attic/distinfo 2015/11/04 00:34:56 1.5
+++ pkgsrc/net/coherence/Attic/distinfo 2016/04/17 10:15:21 1.6
@@ -1,9 +1,10 @@ @@ -1,9 +1,10 @@
1$NetBSD: distinfo,v 1.5 2015/11/04 00:34:56 agc Exp $ 1$NetBSD: distinfo,v 1.6 2016/04/17 10:15:21 wiz Exp $
2 2
3SHA1 (Coherence-0.6.6.2.tar.gz) = c8f3aedf6f393e400b012b9b79a45faf6bc3c809 3SHA1 (Coherence-0.6.6.2.tar.gz) = c8f3aedf6f393e400b012b9b79a45faf6bc3c809
4RMD160 (Coherence-0.6.6.2.tar.gz) = f3cea9a846059723c846cb2254aae73ff1a6a5e9 4RMD160 (Coherence-0.6.6.2.tar.gz) = f3cea9a846059723c846cb2254aae73ff1a6a5e9
5SHA512 (Coherence-0.6.6.2.tar.gz) = dd5cfa68c3b21456e75c44d9d3947b424ebf9684320726393f8da59237ed84e28d4af8414702b6f93e840e7d12a2078e59f48702a288987495d76d11861c7473 5SHA512 (Coherence-0.6.6.2.tar.gz) = dd5cfa68c3b21456e75c44d9d3947b424ebf9684320726393f8da59237ed84e28d4af8414702b6f93e840e7d12a2078e59f48702a288987495d76d11861c7473
6Size (Coherence-0.6.6.2.tar.gz) = 364908 bytes 6Size (Coherence-0.6.6.2.tar.gz) = 364908 bytes
7SHA1 (patch-aa) = 3d0e0966a12bb6f42015dac259db085923135fae 7SHA1 (patch-aa) = 3d0e0966a12bb6f42015dac259db085923135fae
8SHA1 (patch-ab) = 54d3ab8e58a4412f4e3b5c263785468f58ac132b 8SHA1 (patch-ab) = 54d3ab8e58a4412f4e3b5c263785468f58ac132b
9SHA1 (patch-ac) = c10f363f6de78a9ae4d08956c6d2afa35d817cb4 9SHA1 (patch-ac) = c10f363f6de78a9ae4d08956c6d2afa35d817cb4
 10SHA1 (patch-coherence_____init____.py) = 2f893049e59af910e9449e7ef081ec05eb1dd3e1

File Added: pkgsrc/net/coherence/patches/Attic/patch-coherence_____init____.py
$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: