gnu: python-openid: Update to 3.1.0.

* gnu/packages/python-web.scm (python-openid): Update to 3.1.0.
[arguments]: Update custom 'check phase.
[native-inputs]: Add python-coverage.
This commit is contained in:
Efraim Flashner 2018-12-26 12:28:58 +02:00
parent fb4fcfab9d
commit 10275b7466
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -509,27 +509,28 @@ (define-public python2-webencodings
(define-public python-openid (define-public python-openid
(package (package
(name "python-openid") (name "python-openid")
(version "3.0.10") (version "3.1.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "python3-openid" version)) (uri (pypi-uri "python3-openid" version))
(sha256 (sha256
(base32 (base32
"1x3nh3fycqfn43jp5j5pb4q4y2jxp4mdka4absaa3bc0078qd758")))) "00l5hrjh19740w00b3fnsqldnla41wbr2rics09dl4kyd1fkd3b2"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
`(#:phases `(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(replace 'check (replace 'check
(lambda _ (lambda _
(invoke "./admin/runtests") (invoke "coverage" "run" "-m"
#t))))) "unittest" "openid.test.test_suite"))))))
(properties `((python2-variant . ,(delay python2-openid)))) (properties `((python2-variant . ,(delay python2-openid))))
(propagated-inputs (propagated-inputs
`(("python-defusedxml" ,python-defusedxml))) `(("python-defusedxml" ,python-defusedxml)))
(native-inputs (native-inputs
`(("python-psycopg2" ,python-psycopg2) `(("python-coverage" ,python-coverage)
("python-psycopg2" ,python-psycopg2)
("python-django" ,python-django))) ("python-django" ,python-django)))
(home-page "https://github.com/necaris/python3-openid") (home-page "https://github.com/necaris/python3-openid")
(synopsis "OpenID support for servers and consumers") (synopsis "OpenID support for servers and consumers")