summaryrefslogtreecommitdiff
path: root/gnu/packages/python-science.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2026-06-10 10:44:42 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-08-08 23:02:08 +0100
commit60e013aa0e57c1f5a8f14f61d8b5cd7eb79d2110 (patch)
tree6a6156365afa35ba31f57c42962ef497f1169bef /gnu/packages/python-science.scm
parent9d0d1b85bb1e373f6898698358b9130a88e19aa0 (diff)
gnu: python-bottleneck: Update to 1.6.0.
* gnu/packages/python-science.scm (python-bottleneck): Update to 1.6.0. [source]: Switch to git-fetch. [arguments] <test-flags>: Run tests from compiled and installed package. <phases>: Remove 'rebuild-ext; add 'remove-local-source. [native-inputs]: Remove python-wheel; add python-versioneer. Change-Id: Iddba3402326d63542a4aae5cbe43bbf562ed141c
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