summaryrefslogtreecommitdiff
path: root/gnu/packages/python-science.scm
diff options
context:
space:
mode:
authorVinicius Monego <monego@posteo.net>2025-03-29 15:24:57 -0300
committerVinicius Monego <monego@posteo.net>2025-03-30 23:19:55 -0300
commitb4b6d20d66d1b7261ae1127d4120808a40660a78 (patch)
tree4df927ed719875a11b7ccbbe9949b8c7929ac458 /gnu/packages/python-science.scm
parente5bfbd865035382ecb32b8d050cf998209be72a2 (diff)
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
Diffstat (limited to 'gnu/packages/python-science.scm')
-rw-r--r--gnu/packages/python-science.scm28
1 files changed, 14 insertions, 14 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 247ec446290..72917d7e28c 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