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
(package
(name "python-regex")
(version "2022.1.18")
(version "2024.11.6")
(source
(origin
(method url-fetch)
(uri (pypi-uri "regex" version))
(sha256
(base32 "05ir92d0cmv8wkafn3r05j5q47l6shg7cpdblp2a8m407b02vwwp"))))
(build-system python-build-system)
(base32 "06amb1sxhbab03cy73q7wcp131bsingngr44r0rh6an5cfq5kcbs"))))
(build-system pyproject-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()"))))))
(list #:test-backend #~'unittest))
(native-inputs
(list python-setuptools))
(home-page "https://bitbucket.org/mrabarnett/mrab-regex")
(synopsis "Alternative regular expression module")
(description