From mboxrd@z Thu Jan 1 00:00:00 1970 From: contact.ng0@cryptolab.net Subject: [PATCH 2/9] gnu: Add python-gunicorn. Date: Sat, 4 Feb 2017 16:34:59 +0000 Message-ID: <20170204163506.16758-3-contact.ng0@cryptolab.net> References: <20170204163506.16758-1-contact.ng0@cryptolab.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60154) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ca3JM-0005cx-4M for guix-devel@gnu.org; Sat, 04 Feb 2017 11:35:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ca3JI-000821-9g for guix-devel@gnu.org; Sat, 04 Feb 2017 11:35:39 -0500 Received: from aibo.runbox.com ([91.220.196.211]:49814) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ca3JH-00081W-Qq for guix-devel@gnu.org; Sat, 04 Feb 2017 11:35:36 -0500 Received: from [10.9.9.212] (helo=mailfront12.runbox.com) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1ca3JG-0002fe-JN for guix-devel@gnu.org; Sat, 04 Feb 2017 17:35:34 +0100 In-Reply-To: <20170204163506.16758-1-contact.ng0@cryptolab.net> 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 Cc: ng0 From: ng0 * gnu/packages/web.scm (python-gunicorn): New variable. --- gnu/packages/web.scm | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 8cc80a2c4..1803f58e9 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -13,7 +13,7 @@ ;;; Copyright © 2016 Rene Saavedra ;;; Copyright © 2016 Ben Woodcroft ;;; Copyright © 2016 Clément Lassieur -;;; Copyright © 2016 ng0 +;;; Copyright © 2016, 2017 ng0 ;;; Copyright © 2016 Arun Isaac ;;; Copyright © 2016 Tobias Geerinckx-Rice ;;; Copyright © 2016 Bake Timmons @@ -4018,3 +4018,29 @@ service for that request. Requests are made using port numbers as identifiers and xinetd usually launches another daemon to handle the request. It can be used to start services with both privileged and non-privileged port numbers.") (license (l:fsf-free "file://COPYRIGHT")))) + +(define-public python-gunicorn + (package + (name "python-gunicorn") + (version "19.6.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "gunicorn" version)) + (sha256 + (base32 + "065n5z91607q4l8wncqkz297cdcb60cz8wnyxy88wk4as4b6jgw1")))) + (build-system python-build-system) + (arguments + ;; XXX: Tests require older versions of pytest-cov and other packages. + `(#:tests? #f)) + (inputs + `(("python-sphinx" ,python-sphinx))) + (home-page "http://gunicorn.org") + (synopsis "WSGI HTTP Server") + (description + "Gunicorn ('Green Unicorn') is a WSGI HTTP Server.") + (license l:expat))) + +(define-public python2-gunicorn + (package-with-python2 python-gunicorn)) -- 2.11.0