gnu: python-regex: Update to 2024.11.6.

* gnu/packages/python-xyz.scm (python-regex): Update to 2024.11.6.
  [build-system]: Use pyproject.
  [arguments] <test-backend>: Use 'unittest.
  <phases>: Use default 'check.
  [native-inputs]: Add python-setuptools.

Change-Id: I5657b0be454c775296d089aec771d316e6aeee27
This commit is contained in:
Sharlatan Hellseher 2025-07-29 18:49:50 +01:00
parent 1dbc5d1aad
commit a66de18cc1
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -27502,22 +27502,18 @@ class ShellOutSSHClientTests"))))
(define-public python-regex (define-public python-regex
(package (package
(name "python-regex") (name "python-regex")
(version "2022.1.18") (version "2024.11.6")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "regex" version)) (uri (pypi-uri "regex" version))
(sha256 (sha256
(base32 "05ir92d0cmv8wkafn3r05j5q47l6shg7cpdblp2a8m407b02vwwp")))) (base32 "06amb1sxhbab03cy73q7wcp131bsingngr44r0rh6an5cfq5kcbs"))))
(build-system python-build-system) (build-system pyproject-build-system)
(arguments (arguments
#~(#:phases (list #:test-backend #~'unittest))
(modify-phases %standard-phases (native-inputs
(replace 'check (list python-setuptools))
(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") (home-page "https://bitbucket.org/mrabarnett/mrab-regex")
(synopsis "Alternative regular expression module") (synopsis "Alternative regular expression module")
(description (description