From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Allan Webber Subject: [PATCH 2/2] gnu: Add python-pastescript. Date: Tue, 23 Feb 2016 12:03:11 -0800 Message-ID: <87a8mr8a9s.fsf@dustycloud.org> Mime-Version: 1.0 Content-Type: text/x-patch Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33732) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYJAw-0007S0-AD for guix-devel@gnu.org; Tue, 23 Feb 2016 15:03:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYJAv-0000jk-7Q for guix-devel@gnu.org; Tue, 23 Feb 2016 15:03:14 -0500 Received: from dustycloud.org ([2600:3c02::f03c:91ff:feae:cb51]:57312) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYJAu-0000jd-W8 for guix-devel@gnu.org; Tue, 23 Feb 2016 15:03:13 -0500 Received: from oolong (localhost [127.0.0.1]) by dustycloud.org (Postfix) with ESMTPS id 410792661D for ; Tue, 23 Feb 2016 15:03:12 -0500 (EST) Content-Disposition: inline; filename=0002-gnu-Add-python-pastescript.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 ae1a49cced8a5cb021a801b7d062c941ea01a2d8 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Tue, 23 Feb 2016 11:57:15 -0800 Subject: [PATCH 2/2] gnu: Add python-pastescript. * gnu/packages/python.scm (python-pastescript, python2-pastescript): New variables. --- gnu/packages/python.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 9673037..7a8f94a 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -7820,6 +7820,43 @@ follows ideas flowing from WSGI (Web Standard Gateway Interface).") `(#:python ,python-2 #:tests? #t)))) +(define-public python-pastescript + (package + (name "python-pastescript") + (version "2.0.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "PasteScript" version)) + (sha256 + (base32 + "1h3nnhn45kf4pbcv669ik4faw04j58k8vbj1hwrc532k0nc28gy0")))) + (build-system python-build-system) + (native-inputs + `(("python-nose" ,python-nose))) + (propagated-inputs + `(;; Uses pkg_resources provided by setuptools internally. + ("python-setuptools" ,python-setuptools) + ("python-paste" ,python-paste) + ("python-pastedeploy" ,python-pastedeploy))) + (home-page "http://pythonpaste.org/script/") + (arguments + '(;; Unfortunately, this requires the latest unittest2, + ;; but that requires traceback2 which requires linecache2 which requires + ;; unittest2. So we're skipping tests for now. + ;; (Note: Apparently linetest2 only needs unittest2 for its tests, + ;; so in theory we could get around this situation somehow.) + #:tests? #f)) + (synopsis + "Pluggable command line tool for serving web applications and more") + (description + "PasteScript is an extensible command line tool which provides a variety +of features, from launching web applications to bootstrapping project layouts.") + (license license:expat))) + +(define-public python2-pastescript + (package-with-python2 python-pastescript)) + (define-public python-pyquery (package (name "python-pyquery") -- 2.6.3