all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* gnu: Add python-wtforms.
@ 2016-02-12 19:43 Christopher Allan Webber
  2016-02-12 21:52 ` Thompson, David
  2016-02-12 22:02 ` Leo Famulari
  0 siblings, 2 replies; 9+ messages in thread
From: Christopher Allan Webber @ 2016-02-12 19:43 UTC (permalink / raw)
  To: guix-devel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0002-gnu-Add-python-wtforms.patch --]
[-- Type: text/x-patch, Size: 1723 bytes --]

From 8de2a4095987efcf1d9b8f1b5d71ba6fc57e12e8 Mon Sep 17 00:00:00 2001
From: Christopher Allan Webber <cwebber@dustycloud.org>
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

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-02-13 23:07 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-12 19:43 gnu: Add python-wtforms Christopher Allan Webber
2016-02-12 21:52 ` Thompson, David
2016-02-12 23:42   ` Christopher Allan Webber
2016-02-12 23:57     ` Leo Famulari
2016-02-13 21:55     ` Christopher Allan Webber
2016-02-13 22:23       ` Leo Famulari
2016-02-13 22:57         ` Christopher Allan Webber
2016-02-13 23:07           ` Christopher Allan Webber
2016-02-12 22:02 ` Leo Famulari

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.