gnu: python-pyjwt: Update to 2.6.0.

* gnu/packages/python-xyz.scm (python-pyjwt): Update to 2.6.0.
[build-system]: Use pyproject-build-system.
[arguments]: Remove.
[native-inputs]: Add pytohn-coverage, python-pre-commit, python-sphinx, and
python-sphinx-rtd-theme.
This commit is contained in:
Ricardo Wurmus 2022-12-11 15:01:42 +01:00
parent 99a29b4933
commit 8c197f990b
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -4088,23 +4088,22 @@ (define-public python-text-unidecode
(define-public python-pyjwt
(package
(name "python-pyjwt")
(version "2.4.0")
(version "2.6.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "PyJWT" version))
(sha256
(base32
"1fmbcwfw1463wjzwbcgg3s16rad6kfb1mc5y7jbkp6v9ihh0hafl"))))
(build-system python-build-system)
(arguments
'(#:phases (modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "pytest" "-vv")))))))
"1z85kwr945rbzrn5wabrsmck5x8disa9wc7b3y5gci7w65z5qa39"))))
(build-system pyproject-build-system)
(native-inputs
(list python-cryptography python-pytest))
(list python-coverage
python-cryptography
python-pre-commit
python-pytest
python-sphinx
python-sphinx-rtd-theme))
(home-page "https://github.com/progrium/pyjwt")
(synopsis "JSON Web Token implementation in Python")
(description