mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
gnu: python-regex: Update to 2026.2.28.
* gnu/packages/python-xyz.scm (python-regex): Update to 2026.2.28. [source]: Switch to git-fetch. [arguments] <test-flags>: Run tests from installed module. <phases>: Add 'remove-local-source. [home-page]: Fix it as seen on https://pypi.org/project/regex/. Change-Id: Id304acc12704aff63a6230b882250c3c824a9fbe
This commit is contained in:
@@ -25343,19 +25343,29 @@ popular cloud service providers using a unified API.")
|
||||
(define-public python-regex
|
||||
(package
|
||||
(name "python-regex")
|
||||
(version "2024.11.6")
|
||||
(version "2026.2.28")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "regex" version))
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/mrabarnett/mrab-regex")
|
||||
(commit version)))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "06amb1sxhbab03cy73q7wcp131bsingngr44r0rh6an5cfq5kcbs"))))
|
||||
(base32 "10pyq4b2a0qbvmfn0ip6h51lqf4g59kgca4zn3g8hg62ha5kwf13"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list #:test-backend #~'unittest))
|
||||
(list
|
||||
#:test-backend #~'unittest
|
||||
#:test-flags #~(list "-v" "regex.tests.test_regex")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'check 'remove-local-source
|
||||
(lambda _
|
||||
(delete-file-recursively "regex"))))))
|
||||
(native-inputs
|
||||
(list python-setuptools))
|
||||
(home-page "https://bitbucket.org/mrabarnett/mrab-regex")
|
||||
(home-page "https://github.com/mrabarnett/mrab-regex")
|
||||
(synopsis "Alternative regular expression module")
|
||||
(description
|
||||
"This regular expression implementation is backwards-compatible with the
|
||||
|
||||
Reference in New Issue
Block a user