summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2026-07-14 12:09:02 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-08-08 23:02:25 +0100
commit0f4dcace6f3ecc32a7cf66a821a8ab8e8b2a1430 (patch)
tree834a329c704632502536900e61cb56bb05e0c7b7 /gnu/packages/python-xyz.scm
parent8f00528ac65dd8bed42cc6950f65e5c4ae7aae34 (diff)
gnu: python-numpysane: Update to 0.43.
* gnu/packages/python-xyz.scm (python-numpysane): Update to 0.43. [phases]{patch}: Fix path to NumPy v2 "include" directory. [propagated-inputs]: Remove python-numpy-1; add python-numpy. Relates-to: guix/guix#6610
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm16
1 files changed, 8 insertions, 8 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 2fe11731932..91118b13319 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -12480,16 +12480,16 @@ include_dirs = ~:*~a/include~%"
12480(define-public python-numpysane 12480(define-public python-numpysane
12481 (package 12481 (package
12482 (name "python-numpysane") 12482 (name "python-numpysane")
12483 (version "0.42") 12483 (version "0.43")
12484 (source 12484 (source
12485 (origin 12485 (origin
12486 (method git-fetch) 12486 (method git-fetch)
12487 (uri (git-reference 12487 (uri (git-reference
12488 (url "https://github.com/dkogan/numpysane.git") 12488 (url "https://github.com/dkogan/numpysane.git")
12489 (commit (string-append "v" version)))) 12489 (commit (string-append "v" version))))
12490 (file-name (git-file-name name version)) 12490 (file-name (git-file-name name version))
12491 (sha256 12491 (sha256
12492 (base32 "0s38fm88bmq08j5qxfka1wyjs2r9s9arzd1c3c4ixa8k3pisnihr")))) 12492 (base32 "1ls1nrdcizscdpv4712jr7wiaxkmryrai7w0ci06fiq5haq54hrn"))))
12493 (build-system pyproject-build-system) 12493 (build-system pyproject-build-system)
12494 (arguments 12494 (arguments
12495 (list 12495 (list
@@ -12500,15 +12500,15 @@ include_dirs = ~:*~a/include~%"
12500 (let* ((numpy (assoc-ref inputs "python-numpy")) 12500 (let* ((numpy (assoc-ref inputs "python-numpy"))
12501 (site (site-packages inputs `(("out" . ,numpy))))) 12501 (site (site-packages inputs `(("out" . ,numpy)))))
12502 (substitute* "Makefile.common.header" 12502 (substitute* "Makefile.common.header"
12503 ;; numpy 2.0 has this--but we don't use numpy 2.0. 12503 ;; See: <https://github.com/dkogan/numpysane/issues/3>.
12504 (("pkg-config --cflags-only-I numpy") 12504 (("pkg-config --cflags-only-I numpy")
12505 (format #f "echo -I~a/numpy/core/include" site)))))) 12505 (format #f "echo -I~a/numpy/_core/include" site))))))
12506 (replace 'check 12506 (replace 'check
12507 (lambda _ 12507 (lambda _
12508 (setenv "CC" 12508 (setenv "CC"
12509 #$(cc-for-target)) 12509 #$(cc-for-target))
12510 (invoke "make" "check")))))) 12510 (invoke "make" "check"))))))
12511 (propagated-inputs (list python-numpy-1)) 12511 (propagated-inputs (list python-numpy))
12512 (native-inputs (list perl pkg-config python-setuptools)) 12512 (native-inputs (list perl pkg-config python-setuptools))
12513 (home-page "https://github.com/dkogan/numpysane") 12513 (home-page "https://github.com/dkogan/numpysane")
12514 (synopsis "More-reasonable core functionality for numpy") 12514 (synopsis "More-reasonable core functionality for numpy")