From daeafac0c4b00cb95fbe50372428830f6be1059a Mon Sep 17 00:00:00 2001 From: Juliana Sims Date: Sat, 13 May 2023 13:31:39 -0400 Subject: gnu: python-txtorcon: Run guix style. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/python-crypto.scm (python-txtorcon): Run guix style. Signed-off-by: Ludovic Courtès --- gnu/packages/python-crypto.scm | 43 ++++++++++++++++++++---------------------- 1 file changed, 20 insertions(+), 23 deletions(-) (limited to 'gnu/packages/python-crypto.scm') diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index be3ab5d0be..6a7611ccdb 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -1248,31 +1248,28 @@ (define-public python-txtorcon (package (name "python-txtorcon") (version "19.0.0") - (source - (origin - (method url-fetch) - (uri (pypi-uri "txtorcon" version)) - (sha256 - (base32 - "0fxzhsc62bhmr730vj9pzallmw56gz6iykvl28a5agrycm0bfc9p")) - (modules '((guix build utils))) - (snippet - #~(substitute* "txtorcon/controller.py" - (("from collections import Sequence") - "from collections.abc import Sequence"))))) + (source (origin + (method url-fetch) + (uri (pypi-uri "txtorcon" version)) + (sha256 + (base32 + "0fxzhsc62bhmr730vj9pzallmw56gz6iykvl28a5agrycm0bfc9p")) + (modules '((guix build utils))) + (snippet #~(substitute* "txtorcon/controller.py" + (("from collections import Sequence") + "from collections.abc import Sequence"))))) (build-system python-build-system) (arguments - ;; The tests fail immediately due to a missing file. Reported upstream: - ;; - `(#:tests? #f)) - (propagated-inputs - (list python-automat - python-idna - python-incremental - python-pyopenssl - python-service-identity - python-twisted - python-zope-interface)) + ;; The tests fail immediately due to a missing file. Reported upstream: + ;; + (list #:tests? #f)) + (propagated-inputs (list python-automat + python-idna + python-incremental + python-pyopenssl + python-service-identity + python-twisted + python-zope-interface)) (home-page "https://github.com/meejah/txtorcon") (synopsis "Twisted-based Tor controller client") (description "This package provides a Twisted-based Tor controller client, -- cgit v1.2.3