From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Allan Webber Subject: [PATCH 9/18] gnu: Add python-pastedeploy. Date: Mon, 15 Feb 2016 15:31:00 -0800 Message-ID: <87egcdsg97.fsf@dustycloud.org> Mime-Version: 1.0 Content-Type: text/x-patch Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34871) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVSbh-0005F1-Kk for guix-devel@gnu.org; Mon, 15 Feb 2016 18:31:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVSbd-0000UB-Ao for guix-devel@gnu.org; Mon, 15 Feb 2016 18:31:05 -0500 Received: from dustycloud.org ([50.116.34.160]:39444) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVSbd-0000Tm-5h for guix-devel@gnu.org; Mon, 15 Feb 2016 18:31:01 -0500 Received: from oolong (localhost [127.0.0.1]) by dustycloud.org (Postfix) with ESMTPS id CA8A826676 for ; Mon, 15 Feb 2016 18:31:00 -0500 (EST) Content-Disposition: inline; filename=0009-gnu-Add-python-pastedeploy.patch 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org >From 8aeb48d26f2391de674723d63d0722f3112245d0 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Sat, 13 Feb 2016 21:13:14 -0800 Subject: [PATCH 09/18] gnu: Add python-pastedeploy * gnu/packages/python.scm (python-pastedeploy, python2-pastedeploy): New variables. --- gnu/packages/python.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index e1d20f5..5557bfb 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -7746,3 +7746,32 @@ and to spawn subprocesses to handle requests.") (inherit wsgiproxy2) (inputs `(("python2-setuptools" ,python2-setuptools) ,@(package-inputs wsgiproxy2)))))) + +(define-public python-pastedeploy + (package + (name "python-pastedeploy") + (version "1.5.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "PasteDeploy" version)) + (sha256 + (base32 + "1jz3m4hq8v6hyhfjz9425nd3nvn52cvbfipdcd72krjmla4qz1fm")))) + (build-system python-build-system) + (native-inputs + `(("python-nose" ,python-nose))) + (propagated-inputs + `(("python2-setuptools" ,python-setuptools))) ; uses pkg_resources + (home-page "http://pythonpaste.org/deploy/") + (synopsis + "Load, configure, and compose WSGI applications and servers") + (description + "This tool provides code to load WSGI applications and servers from URIs; +these URIs can refer to Python Eggs for INI-style configuration files. Paste +Script provides commands to serve applications based on this configuration +file.") + (license license:expat))) + +(define-public python2-pastedeploy + (package-with-python2 python-pastedeploy)) -- 2.6.3