mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-27 04:59:27 -05:00
gnu: python-wtforms: Update to 3.1.2.
* gnu/packages/python-web.scm (python-wtforms): Update to 3.1.2. Change-Id: Id8119d0536d4d2dfa5c81de37013af68489c5fa5 Signed-off-by: jgart <jgart@dismail.de>
This commit is contained in:
parent
6515cff981
commit
2e819f7f0e
1 changed files with 8 additions and 25 deletions
|
@ -5268,35 +5268,18 @@ (define-public python-bottle
|
||||||
(define-public python-wtforms
|
(define-public python-wtforms
|
||||||
(package
|
(package
|
||||||
(name "python-wtforms")
|
(name "python-wtforms")
|
||||||
(version "2.3.3")
|
(version "3.1.2")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "WTForms" version))
|
(uri (pypi-uri "wtforms" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "1fblnkzvs6339glwx8bskdjy7nhn2ap90y9g6b399713sy063mzq"))))
|
||||||
"17427m7p9nn9byzva697dkykykwcp2br3bxvi8vciywlmkh5s6c1"))))
|
(build-system pyproject-build-system)
|
||||||
(build-system python-build-system)
|
(native-inputs (list python-hatchling python-pytest))
|
||||||
(arguments
|
(propagated-inputs (list python-babel python-email-validator
|
||||||
`(#:phases
|
python-markupsafe))
|
||||||
(modify-phases %standard-phases
|
(home-page "https://wtforms.readthedocs.io/")
|
||||||
(add-after 'unpack 'delete-bundled-test
|
|
||||||
(lambda _
|
|
||||||
;; Delete test copied from a third party package that fails
|
|
||||||
;; with newer SQLAlchemy. This can be removed for 3.0.
|
|
||||||
;; See <https://github.com/wtforms/wtforms/issues/696>.
|
|
||||||
(delete-file "tests/ext_sqlalchemy.py")))
|
|
||||||
(replace 'check
|
|
||||||
(lambda* (#:key inputs outputs tests? #:allow-other-keys)
|
|
||||||
(when tests?
|
|
||||||
(add-installed-pythonpath inputs outputs)
|
|
||||||
(invoke "python" "setup.py" "compile_catalog")
|
|
||||||
(invoke "python" "tests/runtests.py")))))))
|
|
||||||
(native-inputs
|
|
||||||
(list python-dateutil python-sqlalchemy))
|
|
||||||
(propagated-inputs
|
|
||||||
(list python-babel python-email-validator python-markupsafe))
|
|
||||||
(home-page "http://wtforms.simplecodes.com/")
|
|
||||||
(synopsis
|
(synopsis
|
||||||
"Form validation and rendering library for Python web development")
|
"Form validation and rendering library for Python web development")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in a new issue