From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxim Cournoyer Subject: Re: [PATCH 2/9] gnu: Add python-gunicorn. Date: Sun, 05 Feb 2017 15:19:03 -0800 Message-ID: <877f548bvc.fsf@gmail.com> References: <20170204163506.16758-1-contact.ng0@cryptolab.net> <20170204163506.16758-3-contact.ng0@cryptolab.net> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42129) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1caW5L-0001Yb-QX for guix-devel@gnu.org; Sun, 05 Feb 2017 18:19:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1caW5K-0002ZN-G1 for guix-devel@gnu.org; Sun, 05 Feb 2017 18:19:07 -0500 Received: from mail-pg0-x244.google.com ([2607:f8b0:400e:c05::244]:33583) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1caW5K-0002Z6-AI for guix-devel@gnu.org; Sun, 05 Feb 2017 18:19:06 -0500 Received: by mail-pg0-x244.google.com with SMTP id 194so7378166pgd.0 for ; Sun, 05 Feb 2017 15:19:06 -0800 (PST) In-Reply-To: <20170204163506.16758-3-contact.ng0@cryptolab.net> (contact's message of "Sat, 4 Feb 2017 16:34:59 +0000") 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: contact.ng0@cryptolab.net Cc: guix-devel@gnu.org, ng0 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable contact.ng0@cryptolab.net writes: > 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 =C2=A9 2016 Rene Saavedra > ;;; Copyright =C2=A9 2016 Ben Woodcroft > ;;; Copyright =C2=A9 2016 Cl=C3=A9ment Lassieur > -;;; Copyright =C2=A9 2016 ng0 > +;;; Copyright =C2=A9 2016, 2017 ng0 > ;;; Copyright =C2=A9 2016 Arun Isaac > ;;; Copyright =C2=A9 2016 Tobias Geerinckx-Rice > ;;; Copyright =C2=A9 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 ca= n be > used to start services with both privileged and non-privileged port numb= ers.") > (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 packag= es. > + `(#:tests? #f)) > + (inputs > + `(("python-sphinx" ,python-sphinx))) This should probably be a native-input (used at build-time to build the documentation, I guess?). > + (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)) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEJ9WGpPiQCFQyn/CfEmDkZILmNWIFAliXsucACgkQEmDkZILm NWJ1qw/9GEVgk6D/JcktuGE810AeBWRxJrdcY015j+XHDsdlqdT+8HGeuX2MOek7 JW3g+r2lfgCjqTwb9m5K8QU4TA0F62AstA2AKa/XJJ7HsNMyasOvgR7Ncn0qJlRh X/uYoIpBXya45jlPSs0YAbLKvBf0T89KpmQuN2ddm8kyr/0E9eveRLfXRWK+rRvO lPKstP3ZzuRsZTebF/NrYEbJ+yDDu9gIt+1SjOpll6HpsxHv4QuubEZwRcEmTKY2 5sTGwFxHpbhYQtSYrjV2EF7W5FMs/1g+/tfhRWfE3Sforu17eIyVMYzgM2aGcZKZ eAA+5r5wgityK9AaCawr5a5VpFW8vjmQefdywXDviJGFXnP2kW9Y6DcUnETijQbe BYGtAyRbV7R4yUXY7n34rQ5kHfmVB3evd8e+TfdKifWrgAugoTtR3IAVU613O4DZ JNoNfb6QhIk+Pz3UccW1gjRZLYtWDxx0HTeXk/QpKOXhmSQPkgWtRMPqKXaVj+m1 nY0yJJaP3QKlulDoZr/M7nnGMe7yV4VW04WT2Z1nuQTj4U3zqd9yU4Y3w0mZIU/t 8XruTpd7Erx0K39c6Qhl7E7iTiRfYLvAGpEaNgYxQSqXNaMxTehINDDNyq3OLcQq GtE5MyM4y2BXTaGr+z5om12EMMHkS+CA3pOmm/Kjl2bksk6SEZU= =SZ5h -----END PGP SIGNATURE----- --=-=-=--