gnu: python-keyring: Update to 22.0.1.
* gnu/packages/python-crypto.scm (python-keyring): Update to 22.0.1. [source]: Remove snippet. [arguments]: Adjust custom 'check phase to just run tests. [native-inputs]: Add python-toml, python-setuptools. [propagated-inputs]: Remove python-importlib-metadata.
This commit is contained in:
parent
bab0c30be3
commit
d9784b1a63
1 changed files with 6 additions and 14 deletions
|
@ -369,39 +369,31 @@ do what is needed for client/server Kerberos authentication based on
|
||||||
(define-public python-keyring
|
(define-public python-keyring
|
||||||
(package
|
(package
|
||||||
(name "python-keyring")
|
(name "python-keyring")
|
||||||
(version "21.0.0")
|
(version "22.0.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "keyring" version))
|
(uri (pypi-uri "keyring" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1k0w3yh3fz0qp0cvkxdiinq9jzbrnc6bd88qpjz34x3cgcr94psz"))
|
"1pvqc6may03did0iz98gasg7cy4h8ljzs4ibh927bfzda8a3xjws"))))
|
||||||
(modules '((guix build utils)))
|
|
||||||
(snippet
|
|
||||||
;; https://github.com/jaraco/keyring/issues/414
|
|
||||||
'(begin (substitute* "tests/test_packaging.py"
|
|
||||||
(("ep, =") "(ep,) =")) #t))))
|
|
||||||
(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 _
|
||||||
;; Not clear why this test fails.
|
|
||||||
(delete-file "tests/test_packaging.py")
|
|
||||||
(substitute* "pytest.ini"
|
|
||||||
(("--black ") ""))
|
|
||||||
(invoke "pytest"))))))
|
(invoke "pytest"))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("python-pytest" ,python-pytest)
|
`(("python-toml" ,python-toml)
|
||||||
|
("python-pytest" ,python-pytest)
|
||||||
("python-pytest-checkdocs" ,python-pytest-checkdocs)
|
("python-pytest-checkdocs" ,python-pytest-checkdocs)
|
||||||
("python-pytest-cov" ,python-pytest-cov)
|
("python-pytest-cov" ,python-pytest-cov)
|
||||||
("python-pytest-flake8" ,python-pytest-flake8)
|
("python-pytest-flake8" ,python-pytest-flake8)
|
||||||
|
("python-setuptools" ,python-setuptools)
|
||||||
("python-setuptools-scm" ,python-setuptools-scm)))
|
("python-setuptools-scm" ,python-setuptools-scm)))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("python-importlib-metadata" ,python-importlib-metadata)
|
`(("python-secretstorage" ,python-secretstorage)))
|
||||||
("python-secretstorage" ,python-secretstorage)))
|
|
||||||
(home-page "https://github.com/jaraco/keyring")
|
(home-page "https://github.com/jaraco/keyring")
|
||||||
(synopsis "Store and access your passwords safely")
|
(synopsis "Store and access your passwords safely")
|
||||||
(description
|
(description
|
||||||
|
|
Reference in a new issue