gnu: python-cysignals: Format with 'guix style'.

* gnu/packages/python-xyz.scm (python-cysignals): Reformat package with
'guix style'.
This commit is contained in:
Efraim Flashner 2023-10-15 08:43:57 +03:00
parent 33538f35ed
commit d2923babf3
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -18429,16 +18429,12 @@ (define-public python-cysignals
(name "python-cysignals") (name "python-cysignals")
(version "1.11.4") (version "1.11.4")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "cysignals" version)) (uri (pypi-uri "cysignals" version))
(sha256 (sha256
(base32 "1hrqn976xhrq189x1086f3z9vzznjx21wsm3hqf90zx0alg347hg")))) (base32 "1hrqn976xhrq189x1086f3z9vzznjx21wsm3hqf90zx0alg347hg"))))
(build-system python-build-system) (build-system python-build-system)
(native-inputs
(list python-cython-3 python-sphinx))
(inputs
(list pari-gp))
(arguments (arguments
`(#:modules ((guix build python-build-system) `(#:modules ((guix build python-build-system)
((guix build gnu-build-system) #:prefix gnu:) ((guix build gnu-build-system) #:prefix gnu:)
@ -18447,17 +18443,15 @@ (define-public python-cysignals
;; when not installing into standard locations; the author is working ;; when not installing into standard locations; the author is working
;; on a fix. ;; on a fix.
#:tests? #f #:tests? #f
#:phases #:phases (modify-phases %standard-phases
(modify-phases %standard-phases (add-before 'build 'configure
(add-before (assoc-ref gnu:%standard-phases 'configure)))))
'build 'configure (native-inputs (list python-cython-3 python-sphinx))
(assoc-ref gnu:%standard-phases 'configure))))) (inputs (list pari-gp))
(home-page (home-page "https://github.com/sagemath/cysignals")
"https://github.com/sagemath/cysignals") (synopsis "Handling of interrupts and signals for Cython")
(synopsis
"Handling of interrupts and signals for Cython")
(description (description
"The cysignals package provides mechanisms to handle interrupts (and "The cysignals package provides mechanisms to handle interrupts (and
other signals and errors) in Cython code, using two related approaches, other signals and errors) in Cython code, using two related approaches,
for mixed Cython/Python code or external C libraries and pure Cython code, for mixed Cython/Python code or external C libraries and pure Cython code,
respectively.") respectively.")