From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Allan Webber Subject: gnu: Add python-wtforms. Date: Fri, 12 Feb 2016 11:43:56 -0800 Message-ID: <87pow190jn.fsf@dustycloud.org> Mime-Version: 1.0 Content-Type: text/x-patch Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58558) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUJdK-0007uI-Ro for guix-devel@gnu.org; Fri, 12 Feb 2016 14:44:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUJdG-0007fg-HQ for guix-devel@gnu.org; Fri, 12 Feb 2016 14:44:02 -0500 Received: from dustycloud.org ([50.116.34.160]:34506) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUJdG-0007f8-DQ for guix-devel@gnu.org; Fri, 12 Feb 2016 14:43:58 -0500 Received: from oolong (localhost [127.0.0.1]) by dustycloud.org (Postfix) with ESMTPS id 83C3926676 for ; Fri, 12 Feb 2016 14:43:57 -0500 (EST) Content-Disposition: inline; filename=0002-gnu-Add-python-wtforms.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 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. --- gnu/packages/python.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index f2e5ec0..4a4e298 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -7514,6 +7514,34 @@ 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))) + (inputs + `(("python-setuptools" ,python-setuptools))) + (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))) + +(define-public python2-wtforms + (package-with-python2 python-wtforms)) + ;;pyversion_install_requires = [] ;;if PY2: ;; pyversion_install_requires.append('argparse') # only for < 2.7 -- 2.6.3