mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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
This commit is contained in:
parent
e5bfbd8650
commit
b4b6d20d66
1 changed files with 14 additions and 14 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue