summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-web.scm31
1 files changed, 18 insertions, 13 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 32b4aa4bf0e..bd390d371dd 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -4150,28 +4150,33 @@ addon modules.")
4150(define-public python-wtforms 4150(define-public python-wtforms
4151 (package 4151 (package
4152 (name "python-wtforms") 4152 (name "python-wtforms")
4153 (version "2.1") 4153 (version "2.3.3")
4154 (source 4154 (source
4155 (origin 4155 (origin
4156 (method url-fetch) 4156 (method url-fetch)
4157 (uri (pypi-uri "WTForms" version ".zip")) 4157 (uri (pypi-uri "WTForms" version ".tar.gz"))
4158 (sha256 4158 (sha256
4159 (base32 4159 (base32
4160 "0vyl26y9cg409cfyj8rhqxazsdnd0jipgjw06civhrd53yyi1pzz")))) 4160 "17427m7p9nn9byzva697dkykykwcp2br3bxvi8vciywlmkh5s6c1"))))
4161 (build-system python-build-system) 4161 (build-system python-build-system)
4162 (arguments 4162 (arguments
4163 '(#:phases 4163 `(#:phases
4164 (modify-phases %standard-phases 4164 (modify-phases %standard-phases
4165 (add-after 'unpack 'remove-django-test 4165 (replace 'check
4166 ;; Don't fail the tests when the inputs for the optional tests cannot be found. 4166 (lambda* (#:key inputs outputs tests? #:allow-other-keys)
4167 (lambda _ 4167 (when tests?
4168 (substitute* 4168 (add-installed-pythonpath inputs outputs)
4169 "tests/runtests.py" 4169 (invoke "python" "setup.py" "compile_catalog")
4170 (("'ext_django.tests', 'ext_sqlalchemy', 'ext_dateutil', 'locale_babel'") "") 4170 (invoke "coverage" "run" "tests/runtests.py" "--with-pep8")))))))
4171 (("sys.stderr.write(\"### Disabled test '%s', dependency not found\n\" % name)") ""))
4172 #t)))))
4173 (native-inputs 4171 (native-inputs
4174 `(("unzip" ,unzip))) 4172 `(("python-coverage" ,python-coverage)
4173 ("python-dateutil" ,python-dateutil)
4174 ("python-pep8" ,python-pep8)
4175 ("python-sqlalchemy" ,python-sqlalchemy)))
4176 (propagated-inputs
4177 `(("python-babel" ,python-babel)
4178 ("python-email-validator" ,python-email-validator)
4179 ("python-markupsafe" ,python-markupsafe)))
4175 (home-page "http://wtforms.simplecodes.com/") 4180 (home-page "http://wtforms.simplecodes.com/")
4176 (synopsis 4181 (synopsis
4177 "Form validation and rendering library for Python web development") 4182 "Form validation and rendering library for Python web development")