diff options
| author | Juliana Sims <juli@incana.org> | 2023-05-13 13:31:39 -0400 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2023-05-22 17:05:22 +0200 |
| commit | daeafac0c4b00cb95fbe50372428830f6be1059a (patch) | |
| tree | 687285f4310edff8c895f54ef3f0121e1d4e9101 /gnu/packages | |
| parent | 75ae763b4e09f5f7f0b21d28b4f308bcb02f1876 (diff) | |
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>
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/python-crypto.scm | 43 |
1 files changed, 20 insertions, 23 deletions
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index be3ab5d0be2..6a7611ccdbf 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm | |||
| @@ -1248,31 +1248,28 @@ Password-Authenticated Key Exchange algorithm.") | |||
| 1248 | (package | 1248 | (package |
| 1249 | (name "python-txtorcon") | 1249 | (name "python-txtorcon") |
| 1250 | (version "19.0.0") | 1250 | (version "19.0.0") |
| 1251 | (source | 1251 | (source (origin |
| 1252 | (origin | 1252 | (method url-fetch) |
| 1253 | (method url-fetch) | 1253 | (uri (pypi-uri "txtorcon" version)) |
| 1254 | (uri (pypi-uri "txtorcon" version)) | 1254 | (sha256 |
| 1255 | (sha256 | 1255 | (base32 |
| 1256 | (base32 | 1256 | "0fxzhsc62bhmr730vj9pzallmw56gz6iykvl28a5agrycm0bfc9p")) |
| 1257 | "0fxzhsc62bhmr730vj9pzallmw56gz6iykvl28a5agrycm0bfc9p")) | 1257 | (modules '((guix build utils))) |
| 1258 | (modules '((guix build utils))) | 1258 | (snippet #~(substitute* "txtorcon/controller.py" |
| 1259 | (snippet | 1259 | (("from collections import Sequence") |
| 1260 | #~(substitute* "txtorcon/controller.py" | 1260 | "from collections.abc import Sequence"))))) |
| 1261 | (("from collections import Sequence") | ||
| 1262 | "from collections.abc import Sequence"))))) | ||
| 1263 | (build-system python-build-system) | 1261 | (build-system python-build-system) |
| 1264 | (arguments | 1262 | (arguments |
| 1265 | ;; The tests fail immediately due to a missing file. Reported upstream: | 1263 | ;; The tests fail immediately due to a missing file. Reported upstream: |
| 1266 | ;; <https://github.com/meejah/txtorcon/issues/330> | 1264 | ;; <https://github.com/meejah/txtorcon/issues/330> |
| 1267 | `(#:tests? #f)) | 1265 | (list #:tests? #f)) |
| 1268 | (propagated-inputs | 1266 | (propagated-inputs (list python-automat |
| 1269 | (list python-automat | 1267 | python-idna |
| 1270 | python-idna | 1268 | python-incremental |
| 1271 | python-incremental | 1269 | python-pyopenssl |
| 1272 | python-pyopenssl | 1270 | python-service-identity |
| 1273 | python-service-identity | 1271 | python-twisted |
| 1274 | python-twisted | 1272 | python-zope-interface)) |
| 1275 | python-zope-interface)) | ||
| 1276 | (home-page "https://github.com/meejah/txtorcon") | 1273 | (home-page "https://github.com/meejah/txtorcon") |
| 1277 | (synopsis "Twisted-based Tor controller client") | 1274 | (synopsis "Twisted-based Tor controller client") |
| 1278 | (description "This package provides a Twisted-based Tor controller client, | 1275 | (description "This package provides a Twisted-based Tor controller client, |
