mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 06:46:50 +01:00
gnu: python-txtorcon: Run guix style.
* gnu/packages/python-crypto.scm (python-txtorcon): Run guix style. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
75ae763b4e
commit
daeafac0c4
1 changed files with 20 additions and 23 deletions
|
@ -1248,25 +1248,22 @@ (define-public python-txtorcon
|
||||||
(package
|
(package
|
||||||
(name "python-txtorcon")
|
(name "python-txtorcon")
|
||||||
(version "19.0.0")
|
(version "19.0.0")
|
||||||
(source
|
(source (origin
|
||||||
(origin
|
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "txtorcon" version))
|
(uri (pypi-uri "txtorcon" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0fxzhsc62bhmr730vj9pzallmw56gz6iykvl28a5agrycm0bfc9p"))
|
"0fxzhsc62bhmr730vj9pzallmw56gz6iykvl28a5agrycm0bfc9p"))
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet #~(substitute* "txtorcon/controller.py"
|
||||||
#~(substitute* "txtorcon/controller.py"
|
|
||||||
(("from collections import Sequence")
|
(("from collections import Sequence")
|
||||||
"from collections.abc import Sequence")))))
|
"from collections.abc import Sequence")))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
;; The tests fail immediately due to a missing file. Reported upstream:
|
;; The tests fail immediately due to a missing file. Reported upstream:
|
||||||
;; <https://github.com/meejah/txtorcon/issues/330>
|
;; <https://github.com/meejah/txtorcon/issues/330>
|
||||||
`(#:tests? #f))
|
(list #:tests? #f))
|
||||||
(propagated-inputs
|
(propagated-inputs (list python-automat
|
||||||
(list python-automat
|
|
||||||
python-idna
|
python-idna
|
||||||
python-incremental
|
python-incremental
|
||||||
python-pyopenssl
|
python-pyopenssl
|
||||||
|
|
Loading…
Reference in a new issue