From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Allan Webber Subject: Re: [PATCH 9/18] gnu: Add python-pastedeploy. Date: Fri, 19 Feb 2016 18:44:47 -0800 Message-ID: <87vb5km70n.fsf@dustycloud.org> References: <87egcdsg97.fsf@dustycloud.org> <20160216015451.GG3984@jasmine> <87vb5kns9k.fsf@dustycloud.org> <20160220022333.GA13903@jasmine> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57835) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWxav-0002xg-2r for guix-devel@gnu.org; Fri, 19 Feb 2016 21:48:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWxar-0004PB-R8 for guix-devel@gnu.org; Fri, 19 Feb 2016 21:48:29 -0500 Received: from dustycloud.org ([50.116.34.160]:45752) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWxar-0004P7-MS for guix-devel@gnu.org; Fri, 19 Feb 2016 21:48:25 -0500 In-reply-to: <20160220022333.GA13903@jasmine> 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: Leo Famulari Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain Leo Famulari writes: >> >> +(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 >> > >> > Is setuptools needed at run-time? If not, it should be a native-input. >> >> It is, which is why I left the comment. It uses pkg_resources as part >> of its actual code, which is provided by setuptools. > > Can you replace the comment with the last sentence of your email? Done. New version attached. --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0008-gnu-Add-python-pastedeploy.patch >From 6b59f7e4f1816eb8af4d042adfb9026c78fc5f6d Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Sat, 13 Feb 2016 21:13:14 -0800 Subject: [PATCH 08/18] gnu: Add python-pastedeploy. * gnu/packages/python.scm (python-pastedeploy, python2-pastedeploy): New variables. --- gnu/packages/python.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 9baaa0a..2ed4477 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -7746,3 +7746,34 @@ 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 + ;; This package uses pkg_resources, part of setuptools, during runtime, + ;; hence why not a native-input. + `(("python-setuptools" ,python-setuptools))) + (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 --=-=-=--