me
/
guix
Archived
1
0
Fork 0

gnu: python-babel: Run the tests.

* gnu/packages/python.scm (python-babel)[native-inputs]: Add PYTHON-FREEZEGUN
and PYTHON-PYTEST.
[arguments]: Replace 'check' phase.  Remove #:tests?.
master
Marius Bakke 2018-08-21 07:33:30 +02:00
parent b3a21b2cf9
commit 88166588a0
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 7 additions and 1 deletions

View File

@ -626,9 +626,15 @@ by @code{binstar}, @code{binstar-build} and @code{chalmers}.")
(base32
"08rxmbx2s4irp0w0gmn498vns5xy0fagm0fg33xa772jiks51flc"))))
(build-system python-build-system)
(native-inputs
`(("python-freezegun" ,python-freezegun)
("python-pytest" ,python-pytest)))
(propagated-inputs
`(("python-pytz" ,python-pytz)))
(arguments `(#:tests? #f)) ; no test target
(arguments
`(#:phases (modify-phases %standard-phases
(replace 'check
(lambda _ (invoke "pytest" "-vv"))))))
(home-page "http://babel.pocoo.org/")
(synopsis
"Tools for internationalizing Python applications")