gnu: python-keyring: Update to 5.7.1.
* gnu/packages/python.scm (python-keyring): Update to 5.7.1. [source]: Change to pypi syntax. [native-inputs]: Add python-setuptools-scm. [arguments]: Remove argument to replace unpack with unzip.
This commit is contained in:
parent
ba3cb5ab5c
commit
664e6c3a95
|
@ -838,34 +838,23 @@ etc.). The package is structured to make adding new modules easy.")
|
||||||
(define-public python-keyring
|
(define-public python-keyring
|
||||||
(package
|
(package
|
||||||
(name "python-keyring")
|
(name "python-keyring")
|
||||||
(version "3.8")
|
(version "5.7.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "https://pypi.python.org/packages/source/k/"
|
(uri (pypi-uri "keyring" version))
|
||||||
"keyring/keyring-" version ".zip"))
|
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1vxazfbcwggyfyramh55shkxs08skhpqrkm6lrrjnygnm8c1l2zg"))))
|
"1h7a1r9ick7wdd0xb5p63413nvjadna2xawrsvmklsl5ddhm5wrx"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("unzip" ,unzip)
|
`(("python-setuptools" ,python-setuptools)
|
||||||
("python-setuptools" ,python-setuptools)
|
("python-setuptools-scm" ,python-setuptools-scm)
|
||||||
("python-mock" ,python-mock)))
|
("python-mock" ,python-mock)))
|
||||||
(inputs
|
(inputs
|
||||||
`(("python-pycrypto" ,python-pycrypto)))
|
`(("python-pycrypto" ,python-pycrypto)))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ;TODO: tests require pytest
|
`(#:tests? #f)) ;TODO: tests require pytest
|
||||||
#:phases
|
|
||||||
(alist-replace
|
|
||||||
'unpack
|
|
||||||
(lambda _
|
|
||||||
(let ((unzip (string-append (assoc-ref %build-inputs "unzip")
|
|
||||||
"/bin/unzip"))
|
|
||||||
(source (assoc-ref %build-inputs "source")))
|
|
||||||
(and (zero? (system* unzip source))
|
|
||||||
(chdir (string-append "keyring-" ,version)))))
|
|
||||||
%standard-phases)))
|
|
||||||
(home-page "http://bitbucket.org/kang/python-keyring-lib")
|
(home-page "http://bitbucket.org/kang/python-keyring-lib")
|
||||||
(synopsis "Store and access your passwords safely")
|
(synopsis "Store and access your passwords safely")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in New Issue