monego pushed a commit to branch master
in repository guix.

commit b4b6d20d66d1b7261ae1127d4120808a40660a78
Author: Vinicius Monego <[email protected]>
AuthorDate: Sat Mar 29 15:24:57 2025 -0300

    gnu: python-bottleneck: Update to 1.4.2.
    
    * gnu/packages/python-science.scm (python-bottleneck): Update to 1.4.2.
    [source]: Update URI.
    [build-system]: Use pyproject-build-system.
    [arguments]: Use G-Expressions.
    <#:phases>: Add phase 'rebuild-ext before 'check. Do not override the
    'check phase.
    [native-inputs]: Remove python-hypothesis, python-pytest-runner. Add
    python-setuptools, python-wheel.
    
    Change-Id: I7a79b126d2bd069eaa4e3cf7d5f05bcb482fb67c
---
 gnu/packages/python-science.scm | 28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 247ec44629..72917d7e28 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -2008,25 +2008,25 @@ Python module with the same interface, but (hopefully) 
faster.")
 (define-public python-bottleneck
   (package
     (name "python-bottleneck")
-    (version "1.3.7")
+    (version "1.4.2")
     (source
      (origin
        (method url-fetch)
-       (uri (pypi-uri "Bottleneck" version))
+       (uri (pypi-uri "bottleneck" version))
        (sha256
-        (base32 "1y410r3scfhs6s1j1jpxig01qlyn2hr2izyh1qsdlsfl78vpwip1"))))
-    (build-system python-build-system)
+        (base32 "1x29yj4yr12v646si63gkxj9b6lx1xk65536wqy4i9fyk4bqx3ps"))))
+    (build-system pyproject-build-system)
     (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda* (#:key tests? #:allow-other-keys)
-             (when tests?
-               (invoke "python" "setup.py" "pytest")))))))
-    (native-inputs
-     (list python-hypothesis python-pytest python-pytest-runner))
-    (propagated-inputs
-     (list python-numpy))
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-before 'check 'rebuild-ext
+            (lambda _
+              (invoke "python" "setup.py" "build_ext" "--inplace"))))))
+    (native-inputs (list python-pytest
+                         python-setuptools
+                         python-wheel))
+    (propagated-inputs (list python-numpy))
     (home-page "https://github.com/pydata/bottleneck";)
     (synopsis "Fast NumPy array functions written in C")
     (description

Reply via email to