From patchwork Wed May 11 10:19:52 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yegor Yefremov X-Patchwork-Id: 620969 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 3r4XDp4g7rz9t3g for ; Wed, 11 May 2016 20:20:09 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=googlemail.com header.i=@googlemail.com header.b=sXN5UyCE; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 7BA76332F6; Wed, 11 May 2016 10:20:08 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BjgSo-lhWgiV; Wed, 11 May 2016 10:20:07 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id C6AC0332FC; Wed, 11 May 2016 10:20:06 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 6643A1C0FD2 for ; Wed, 11 May 2016 10:20:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 5EA418AA13 for ; Wed, 11 May 2016 10:20:05 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id R8Uo1aI6I9v9 for ; Wed, 11 May 2016 10:20:04 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by whitealder.osuosl.org (Postfix) with ESMTPS id 70B128A940 for ; Wed, 11 May 2016 10:20:04 +0000 (UTC) Received: by mail-wm0-f66.google.com with SMTP id w143so8433432wmw.3 for ; Wed, 11 May 2016 03:20:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=Cfzx6XfgJKM7a+Yl2Jb9QFlsx3ja2xxbWr/RielecD4=; b=sXN5UyCE5ov8Qv0tsBFlD0Kup/cNoMANGl1/9A6max8Ujh0JmlkNjOmjPGeiPpxKn7 aOcb6n6t/zQWHx9q3OADpDFqB3LPGARzfwglS9DxcsYVNdQWSnYozpc9ebk20+j0HmLL szR7bS1G9pCoglU6TZQRIXr/EmpMx5c9deT4fXn5qcwsuxM0GIkZvZJG2H8is3nsPwNh Wgii+6lElC85E6QFNvwSbu4pxFVYfj4BUlUdqskN76fDYq5I254zycWF2ir7j4vhOj+I 1y2BUZ0iUyfkY6ZDtg/lGysxxp++hfb50br6TVRW0dRYCvrnlHyFEskTQZXmCRtURFem FNrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Cfzx6XfgJKM7a+Yl2Jb9QFlsx3ja2xxbWr/RielecD4=; b=k3eSOXl8iKWt6ROYa4KjU6nyjVhAF9JlBc5MtSTwFa9cG6Qyjf0NkoJmet5nND6BwE hKAVFcw9wXnKps6ViGDehQqKtjBBTeP4NQDtXYd3wRq4lGr5W+dmKhq3rBp1Hd07QF9I zIRjy17z+Z1+jj9H1ArgvC/eFxINb86oJpdP1O2BVX41W8M2Y9nwXuDTed3NVxMXhDj9 So6+7FIPVTJra6QqvISPlT5Fh8Do/f99UY5Kl7mPmrH5sJgJXDCp5vwn4QEnqZfySrAI 3mms7XfMr7ETmaLo/3FNXpOFO5QMrpLJMqvL0XWGKl+QtyMd2yUlIRg8Jw5Qnxi02HWj /ROg== X-Gm-Message-State: AOPr4FV/udPf8pq8VDNUHFeVyKAjY+jHvyKvIAZPlkmT5b8JeQDPJlFe05wE86C9Lfi/0Q== X-Received: by 10.28.229.68 with SMTP id c65mr23657621wmh.77.1462962002964; Wed, 11 May 2016 03:20:02 -0700 (PDT) Received: from debian9.visionsystems.de (mail.visionsystems.de. [213.209.99.202]) by smtp.gmail.com with ESMTPSA id f8sm7283946wjm.13.2016.05.11.03.20.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 May 2016 03:20:02 -0700 (PDT) From: yegorslists@googlemail.com To: buildroot@busybox.net Date: Wed, 11 May 2016 12:19:52 +0200 Message-Id: <1462961992-28212-1-git-send-email-yegorslists@googlemail.com> X-Mailer: git-send-email 2.8.1 Subject: [Buildroot] [PATCH] python-coherence: fix twisted detection X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Yegor Yefremov 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 --- .../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 +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 +Signed-off-by: Yegor Yefremov +--- + 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 +