From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: [PATCH 07/11] gnu: Add python-gunicorn. Date: Tue, 13 Sep 2016 01:38:23 +0000 Message-ID: <20160913013827.25877-7-ng0@we.make.ritual.n0.is> References: <20160913013827.25877-1-ng0@we.make.ritual.n0.is> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43900) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjcgd-00012i-Sm for guix-devel@gnu.org; Mon, 12 Sep 2016 21:39:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bjcgc-0000np-Nn for guix-devel@gnu.org; Mon, 12 Sep 2016 21:38:59 -0400 Received: from aibo.runbox.com ([91.220.196.211]:37111) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjcgc-0000nU-Gg for guix-devel@gnu.org; Mon, 12 Sep 2016 21:38:58 -0400 Received: from [10.9.9.210] (helo=mailfront10.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1bjcgb-0001Of-S6 for guix-devel@gnu.org; Tue, 13 Sep 2016 03:38:57 +0200 In-Reply-To: <20160913013827.25877-1-ng0@we.make.ritual.n0.is> 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-gunicorn): New variable. --- gnu/packages/python.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 92bd538..8f9a335 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -693,6 +693,36 @@ certificate returned by the server to which a connection has been established, and verifies that it matches the intended target hostname.") (license license:psfl))) +(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 + ;; Tests require older versions of pytest-cov and maybe others + `(#: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 license:expat))) + +(define-public python2-gunicorn + (package + (inherit (package-with-python2 + (strip-python2-variant python-gunicorn))) + (native-inputs + `(("python2-setuptools" ,python2-setuptools))))) + (define-public python-h5py (package (name "python-h5py") -- 2.10.0