Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] python-coherence: fix twisted detection
@ 2016-05-11 10:19 yegorslists at googlemail.com
  2016-05-11 13:22 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: yegorslists at googlemail.com @ 2016-05-11 10:19 UTC (permalink / raw)
  To: buildroot

From: Yegor Yefremov <yegorslists@googlemail.com>

Apply upstream patch, that provides proper twisted detection.

Fixes:
http://autobuild.buildroot.net/results/d09/d09a6604414ed79205d95b164e32dbd72268e05c
http://autobuild.buildroot.net/results/a97/a974f3f075fb22adde720856ec4c9d11d8151da7

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
 .../0001-Fix-twisted-detection.patch               | 29 ++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 package/python-coherence/0001-Fix-twisted-detection.patch

diff --git a/package/python-coherence/0001-Fix-twisted-detection.patch b/package/python-coherence/0001-Fix-twisted-detection.patch
new file mode 100644
index 0000000..c0e51b9
--- /dev/null
+++ b/package/python-coherence/0001-Fix-twisted-detection.patch
@@ -0,0 +1,29 @@
+From 3cf8d89cbb44b5c7a0693d0b5d665e68acc3927c Mon Sep 17 00:00:00 2001
+From: Thomas Klausner <wiz@NetBSD.org>
+Date: Tue, 10 May 2016 00:14:33 +0200
+Subject: [PATCH] Fix twisted detection.
+
+Addresses https://github.com/coherence-project/Coherence/issues/25
+
+Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
+Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
+---
+ coherence/__init__.py | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/coherence/__init__.py b/coherence/__init__.py
+index 2e4e8f1..4c4d73d 100644
+--- a/coherence/__init__.py
++++ b/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:
+-- 
+2.8.1
+
-- 
2.8.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH] python-coherence: fix twisted detection
  2016-05-11 10:19 [Buildroot] [PATCH] python-coherence: fix twisted detection yegorslists at googlemail.com
@ 2016-05-11 13:22 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2016-05-11 13:22 UTC (permalink / raw)
  To: buildroot

Hello,

On Wed, 11 May 2016 12:19:52 +0200, yegorslists at googlemail.com wrote:
> From: Yegor Yefremov <yegorslists@googlemail.com>
> 
> Apply upstream patch, that provides proper twisted detection.
> 
> Fixes:
> http://autobuild.buildroot.net/results/d09/d09a6604414ed79205d95b164e32dbd72268e05c
> http://autobuild.buildroot.net/results/a97/a974f3f075fb22adde720856ec4c9d11d8151da7
> 
> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
> ---
>  .../0001-Fix-twisted-detection.patch               | 29 ++++++++++++++++++++++
>  1 file changed, 29 insertions(+)
>  create mode 100644 package/python-coherence/0001-Fix-twisted-detection.patch

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-05-11 13:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-11 10:19 [Buildroot] [PATCH] python-coherence: fix twisted detection yegorslists at googlemail.com
2016-05-11 13:22 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox