From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Woodcroft Subject: [PATCH 07/10] gnu: python-tornado: Use 'python2-variant'. Date: Thu, 21 Apr 2016 23:21:58 +1000 Message-ID: <1461244921-7412-8-git-send-email-donttrustben@gmail.com> References: <1461244921-7412-1-git-send-email-donttrustben@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40433) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1atEZK-0002QU-QI for Guix-devel@gnu.org; Thu, 21 Apr 2016 09:22:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1atEZH-0004TS-1a for Guix-devel@gnu.org; Thu, 21 Apr 2016 09:22:54 -0400 Received: from mail-pf0-x243.google.com ([2607:f8b0:400e:c00::243]:34044) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1atEZG-0004Sq-RR for Guix-devel@gnu.org; Thu, 21 Apr 2016 09:22:50 -0400 Received: by mail-pf0-x243.google.com with SMTP id 145so79386pfz.1 for ; Thu, 21 Apr 2016 06:22:50 -0700 (PDT) Received: from localhost.localdomain ([103.25.181.216]) by smtp.googlemail.com with ESMTPSA id m12sm1325947pfi.5.2016.04.21.06.22.47 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 Apr 2016 06:22:49 -0700 (PDT) In-Reply-To: <1461244921-7412-1-git-send-email-donttrustben@gmail.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Guix-devel@gnu.org * gnu/packages/python.scm (python-tornado)[properties]: New field. (python2-tornado): Build with 'strip-python2-variant'. --- gnu/packages/python.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 0fc65fe..f26592e 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -4936,10 +4936,12 @@ originally developed at FriendFeed. By using non-blocking network I/O, Tornado can scale to tens of thousands of open connections, making it ideal for long polling, WebSockets, and other applications that require a long-lived connection to each user.") - (license asl2.0))) + (license asl2.0) + (properties `((python2-variant . ,(delay python2-tornado)))))) (define-public python2-tornado - (let ((tornado (package-with-python2 python-tornado))) + (let ((tornado (package-with-python2 + (strip-python2-variant python-tornado)))) (package (inherit tornado) (inputs `(("python2-backport-ssl-match-hostname" -- 2.5.0