summaryrefslogtreecommitdiff
path: root/gnu/packages/python-science.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/python-science.scm')
-rw-r--r--gnu/packages/python-science.scm26
1 files changed, 16 insertions, 10 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 8596e6eef8c..67e0e87dfcc 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -613,25 +613,31 @@ one of the fastest libraries for histogramming.")
613(define-public python-bottleneck 613(define-public python-bottleneck
614 (package 614 (package
615 (name "python-bottleneck") 615 (name "python-bottleneck")
616 (version "1.4.2") 616 (version "1.6.0")
617 (source 617 (source
618 (origin 618 (origin
619 (method url-fetch) 619 (method git-fetch)
620 (uri (pypi-uri "bottleneck" version)) 620 (uri (git-reference
621 (url "https://github.com/pydata/bottleneck")
622 (commit (string-append "v" version))))
623 (file-name (git-file-name name version))
621 (sha256 624 (sha256
622 (base32 "1x29yj4yr12v646si63gkxj9b6lx1xk65536wqy4i9fyk4bqx3ps")))) 625 (base32 "1p2ixxwdll1bhaqg68iywrb6n8kwscbnbx08q47fjslwzy8vkh7i"))))
623 (build-system pyproject-build-system) 626 (build-system pyproject-build-system)
624 (arguments 627 (arguments
625 (list 628 (list
629 #:test-flags #~(list "--pyargs" "bottleneck")
626 #:phases 630 #:phases
627 #~(modify-phases %standard-phases 631 #~(modify-phases %standard-phases
628 (add-before 'check 'rebuild-ext 632 (add-before 'check 'remove-local-source
629 (lambda _ 633 (lambda _
630 (invoke "python" "setup.py" "build_ext" "--inplace")))))) 634 (delete-file-recursively "bottleneck"))))))
631 (native-inputs (list python-pytest 635 (native-inputs
632 python-setuptools 636 (list python-pytest
633 python-wheel)) 637 python-setuptools
634 (propagated-inputs (list python-numpy)) 638 python-versioneer))
639 (propagated-inputs
640 (list python-numpy))
635 (home-page "https://github.com/pydata/bottleneck") 641 (home-page "https://github.com/pydata/bottleneck")
636 (synopsis "Fast NumPy array functions written in C") 642 (synopsis "Fast NumPy array functions written in C")
637 (description 643 (description