gnu: python-regex: Update to 2020.6.8.

* gnu/packages/python-xyz.scm (python-regex): Update to 2020.6.8.
[arguments]: New field.
This commit is contained in:
Marius Bakke 2020-06-08 18:53:51 +02:00
parent a8a7a2c797
commit 183858d938
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -15105,16 +15105,22 @@ (define-public python2-smmap2
(define-public python-regex (define-public python-regex
(package (package
(name "python-regex") (name "python-regex")
(version "2019.04.14") (version "2020.6.8")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "regex" version)) (uri (pypi-uri "regex" version))
(sha256 (sha256
(base32 (base32
"1a6hhfs6l6snr1z654ay6wzbmwdkmv282fzfkd5hk2d1n73y8v6m")))) "1b3k0zi1pd99q5mk7ri7vcx2y1mq5inm9hk8dryqyhrpkmh4xdp9"))))
;; TODO: Fix and enable regex_test.py tests that complain about the
;; test.support module not existing.
(build-system python-build-system) (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") (home-page "https://bitbucket.org/mrabarnett/mrab-regex")
(synopsis "Alternative regular expression module") (synopsis "Alternative regular expression module")
(description "This regular expression implementation is backwards- (description "This regular expression implementation is backwards-