netsnmp: handle libnl dependency properly
[buildroot-gz.git] / package / python-coherence / 0001-Fix-twisted-detection.patch
blobc0e51b9e3156e4a612d6cdd833b4caf2947439f5
1 From 3cf8d89cbb44b5c7a0693d0b5d665e68acc3927c Mon Sep 17 00:00:00 2001
2 From: Thomas Klausner <wiz@NetBSD.org>
3 Date: Tue, 10 May 2016 00:14:33 +0200
4 Subject: [PATCH] Fix twisted detection.
6 Addresses https://github.com/coherence-project/Coherence/issues/25
8 Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
9 Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
10 ---
11 coherence/__init__.py | 2 --
12 1 file changed, 2 deletions(-)
14 diff --git a/coherence/__init__.py b/coherence/__init__.py
15 index 2e4e8f1..4c4d73d 100644
16 --- a/coherence/__init__.py
17 +++ b/coherence/__init__.py
18 @@ -24,8 +24,6 @@ try:
19 if twisted_version < Version("twisted", 2, 5, 0):
20 raise ImportError("Twisted >= 2.5 is required. Please install it.")
22 - if twisted_web_version < Version("twisted.web", 2, 5, 0):
23 - raise ImportError("Twisted.Web >= 2.5 is required. Please install it")
24 except ImportError, exc:
25 # log error to stderr, might be useful for debugging purpose
26 for arg in exc.args:
27 --
28 2.8.1