guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/06: gnu: python-regex: Update to 2020.6.8.


From: guix-commits
Subject: 04/06: gnu: python-regex: Update to 2020.6.8.
Date: Mon, 8 Jun 2020 13:03:10 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit 183858d938d60b0ba7ea0ca183f6da153a74864e
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Mon Jun 8 18:53:51 2020 +0200

    gnu: python-regex: Update to 2020.6.8.
    
    * gnu/packages/python-xyz.scm (python-regex): Update to 2020.6.8.
    [arguments]: New field.
---
 gnu/packages/python-xyz.scm | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d6165e3..abf25c6 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15105,16 +15105,22 @@ window memory map manager.")
 (define-public python-regex
   (package
     (name "python-regex")
-    (version "2019.04.14")
+    (version "2020.6.8")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "regex" version))
               (sha256
                (base32
-                "1a6hhfs6l6snr1z654ay6wzbmwdkmv282fzfkd5hk2d1n73y8v6m"))))
-    ;; TODO: Fix and enable regex_test.py tests that complain about the
-    ;; test.support module not existing.
+                "1b3k0zi1pd99q5mk7ri7vcx2y1mq5inm9hk8dryqyhrpkmh4xdp9"))))
     (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-



reply via email to

[Prev in Thread] Current Thread [Next in Thread]