guix_mirror_bot pushed a commit to branch python-team in repository guix. commit 07ded4bf5fab45ae35924f42dc115105579eec07 Author: Sharlatan Hellseher <sharlata...@gmail.com> AuthorDate: Tue Jul 29 18:45:32 2025 +0100
gnu: python-regex: Improve package style. * gnu/packages/python-xyz.scm (python-regex): Use G-expressions. Fix indentation. [description]: Start from a new line and fix fill column. Change-Id: I423719c74c606dd610b3f7da4dc6fc1e6c569f71 --- gnu/packages/python-xyz.scm | 39 ++++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index f6c574c71d..0d784a671c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -27520,27 +27520,28 @@ class ShellOutSSHClientTests")))) (package (name "python-regex") (version "2022.1.18") - (source (origin - (method url-fetch) - (uri (pypi-uri "regex" version)) - (sha256 - (base32 - "05ir92d0cmv8wkafn3r05j5q47l6shg7cpdblp2a8m407b02vwwp")))) + (source + (origin + (method url-fetch) + (uri (pypi-uri "regex" version)) + (sha256 + (base32 "05ir92d0cmv8wkafn3r05j5q47l6shg7cpdblp2a8m407b02vwwp")))) (build-system python-build-system) (arguments - '(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda* (#:key inputs outputs #:allow-other-keys) - (add-installed-pythonpath inputs outputs) - (invoke "python" "-c" - "from regex.test_regex import test_main ; test_main()")))))) - (home-page "https://bitbucket.org/mrabarnett/mrab-regex") - (synopsis "Alternative regular expression module") - (description "This regular expression implementation is backwards- -compatible with the standard @code{re} module, but offers additional -functionality like full case-folding for case-insensitive matches in Unicode.") - (license license:psfl))) + #~(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key inputs outputs #:allow-other-keys) + (add-installed-pythonpath inputs outputs) + (invoke "python" "-c" + "from regex.test_regex import test_main ; test_main()")))))) + (home-page "https://bitbucket.org/mrabarnett/mrab-regex") + (synopsis "Alternative regular expression module") + (description + "This regular expression implementation is backwards-compatible with the +standard @code{re} module, but offers additional functionality like full +case-folding for case-insensitive matches in Unicode.") + (license license:psfl))) (define-public python-rencode (package