From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Allan Webber Subject: Re: gnu: Add python-wtforms. Date: Sat, 13 Feb 2016 13:55:01 -0800 Message-ID: <87ziv4tgzt.fsf@dustycloud.org> References: <87pow190jn.fsf@dustycloud.org> <87io1t8pho.fsf@dustycloud.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50174) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUi9j-0000Id-Hw for guix-devel@gnu.org; Sat, 13 Feb 2016 16:55:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUi9g-0005bA-9w for guix-devel@gnu.org; Sat, 13 Feb 2016 16:55:07 -0500 Received: from dustycloud.org ([50.116.34.160]:36262) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUi9g-0005aQ-52 for guix-devel@gnu.org; Sat, 13 Feb 2016 16:55:04 -0500 In-reply-to: <87io1t8pho.fsf@dustycloud.org> 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: "Thompson, David" Cc: guix-devel --=-=-= Content-Type: text/plain Christopher Allan Webber writes: > Thompson, David writes: > >> This looks good, Chris! I can tell by looking at the diff that it's >> based on the wip-mediagoblin. If it cleanly applies on master then I >> say "push"! >> >> - Dave > > Ha, yeah. I'm trying to get through as many MediaGoblin deps as I can. > > Leo Famulari writes: > >> On Fri, Feb 12, 2016 at 11:43:56AM -0800, Christopher Allan Webber wrote: >>> From 8de2a4095987efcf1d9b8f1b5d71ba6fc57e12e8 Mon Sep 17 00:00:00 2001 >>> From: Christopher Allan Webber >>> Date: Thu, 11 Feb 2016 16:16:45 -0800 >>> Subject: [PATCH 2/3] gnu: Add python-wtforms >>> >>> * gnu/packages/python.scm (python-wtforms, python2-wtforms): New variables. >> >> It looks good to me, but I wonder if the python-3 variant really needs >> setuptools? If so, okay. If not, can you use the new python2-variant >> system [0] to provide setuptools for python2-wtforms? >> >> [0] Introduced in 48b311b1b3ba > > Okay, I'll give that a try, and will make an adjustment if appropriate, > and regardless, push after figuring that out. > > Thanks to both of you! Well, I think it's significant enough of a change where I should get some validation that everything looks right before I push. New version, ahoy! Is it ok? --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-Add-python-wtforms.patch >From 0b3543265a1597206f28ed343d40812c021575d4 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Sat, 13 Feb 2016 13:42:51 -0800 Subject: [PATCH] gnu: Add python-wtforms * gnu/packages/python.scm (python-wtforms, python2-wtforms): 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 3758eed..756bb0d 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -7509,3 +7509,32 @@ input. (Note that this is mostly a legacy library; you may wish to look at python-xdo for newer bindings.)") (license bsd-3))) +(define-public python-wtforms + (package + (name "python-wtforms") + (version "2.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "WTForms" version ".zip")) + (sha256 + (base32 + "0vyl26y9cg409cfyj8rhqxazsdnd0jipgjw06civhrd53yyi1pzz")))) + (build-system python-build-system) + (native-inputs + `(("unzip" ,unzip))) + (home-page "http://wtforms.simplecodes.com/") + (synopsis + "Form validation and rendering library for Python web development") + (description + "WTForms is a flexible forms validation and rendering library +for Python web development. It is very similar to the web form API +available in Django, but is a standalone package.") + (license bsd-3) + (properties `((python2-variant . ,(delay python2-wtforms)))))) + +(define-public python2-wtforms + (package + (inherit python-wtforms) + (name "python2-wtforms") + (inputs `(("python2-setuptools" ,python2-setuptools))))) -- 2.6.3 --=-=-=--