mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-17 04:07:10 -05:00
gnu: Add python-bottleneck.
* gnu/packages/python-science.scm (python-bottleneck): New variable. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
This commit is contained in:
parent
07d859cc06
commit
47ad589f41
1 changed files with 30 additions and 0 deletions
|
@ -389,6 +389,36 @@ (define-public python2-pandas
|
|||
"if 'NULL byte' in msg or 'line contains NUL' in msg:"))
|
||||
#t)))))))
|
||||
|
||||
(define-public python-bottleneck
|
||||
(package
|
||||
(name "python-bottleneck")
|
||||
(version "1.3.2")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "Bottleneck" version))
|
||||
(sha256
|
||||
(base32 "0wz5320jx3n4q2nsvwvc7cpi66b46qbals9v53m955rmcq5ry5r0"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda _
|
||||
(invoke "python" "setup.py" "pytest"))))))
|
||||
(native-inputs
|
||||
`(("python-hypothesis" ,python-hypothesis)
|
||||
("python-pytest" ,python-pytest)
|
||||
("python-pytest-runner" ,python-pytest-runner)))
|
||||
(propagated-inputs
|
||||
`(("python-numpy" ,python-numpy)))
|
||||
(home-page "https://github.com/pydata/bottleneck")
|
||||
(synopsis "Fast NumPy array functions written in C")
|
||||
(description
|
||||
"Bottleneck is a collection of fast, NaN-aware NumPy array functions
|
||||
written in C.")
|
||||
(license license:bsd-2)))
|
||||
|
||||
(define-public python-xarray
|
||||
(package
|
||||
(name "python-xarray")
|
||||
|
|
Loading…
Reference in a new issue