guix-commits
[Top][All Lists]
Advanced

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

05/05: gnu: python-bitarray: Update to 2.6.1.


From: guix-commits
Subject: 05/05: gnu: python-bitarray: Update to 2.6.1.
Date: Tue, 27 Dec 2022 18:42:59 -0500 (EST)

mbakke pushed a commit to branch master
in repository guix.

commit 0cb8f7125b19264b01962c1249c3df4c5ce85aa9
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Tue Dec 27 21:46:46 2022 +0100

    gnu: python-bitarray: Update to 2.6.1.
    
    * gnu/packages/python-xyz.scm (python-bitarray): Update to 2.6.1.
    [arguments]: Override check phase.
---
 gnu/packages/python-xyz.scm | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 6b71d6872e..d0cedf696a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1675,14 +1675,24 @@ and a list of words that are easier to remember for 
humans (the
 (define-public python-bitarray
   (package
     (name "python-bitarray")
-    (version "1.4.0")
+    (version "2.6.1")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "bitarray" version))
               (sha256
                (base32
-                "177fj6wbw5jln54wpp6plcqy2329wjkwqwvgz7022rrg3xfrq49g"))))
+                "0c4jli872nzix81n1xirnrghlq2fdsxb570d9rnfvxi1694sah44"))))
     (build-system python-build-system)
+    (arguments
+     (list #:phases
+           #~(modify-phases %standard-phases
+               (replace 'check
+                 (lambda* (#:key tests? #:allow-other-keys)
+                   (when tests?
+                     ;; Step out of the source directory to avoid interference.
+                     (with-directory-excursion "/tmp"
+                       (invoke "python" "-c"
+                               "import bitarray; bitarray.test()"))))))))
     (home-page "https://github.com/ilanschnell/bitarray";)
     (synopsis "Efficient arrays of booleans")
     (description "This package provides an object type which efficiently



reply via email to

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