gnu: python-utils: Update to 2.4.0.

* gnu/packages/python-xyz.scm (python-utils): Update to 2.4.0.
[arguments]: Replace check phase.
This commit is contained in:
Ricardo Wurmus 2020-06-23 16:38:57 +02:00
parent a17e1b9e11
commit 57be09b207
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -14187,14 +14187,22 @@ (define-public python2-mwclient
(define-public python-utils
(package
(name "python-utils")
(version "2.1.0")
(version "2.4.0")
(source (origin
(method url-fetch)
(uri (pypi-uri "python-utils" version))
(sha256
(base32
"1mcsy6q5am4ya72rgkpb6kax6vv7c93cfkkas89xnpa4sj9zf28p"))))
"12c0glzkm81ljgf6pwh0d4rmdm1r7vvgg3ifzp8yp9cfyngw07zj"))))
(build-system python-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda* (#:key inputs outputs #:allow-other-keys)
(add-installed-pythonpath inputs outputs)
(delete-file "pytest.ini")
(invoke "pytest" "-vv"))))))
(native-inputs
`(("pytest-runner" ,python-pytest-runner)
("pytest" ,python-pytest)