diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-01-04 21:24:25 +0000 |
|---|---|---|
| committer | Rutherther <rutherther@ditigal.xyz> | 2026-01-25 21:21:39 +0100 |
| commit | a3c54627cf6ab6f1dff294d4b2b95428d9718a7b (patch) | |
| tree | 10ae799cae9a7ba578017395c02f10929ec179b8 /gnu/packages/python-science.scm | |
| parent | 40b416e4dbd581d0599188b26f4a17833d5d30f5 (diff) | |
gnu: python-pyamg: Update to 5.3.0.
* gnu/packages/python-science.scm (python-pyamg): Update to 5.3.0.
[arguments] <test-flags>: Remove local source instead in phase..
<phases>: Add 'pre-check.
[native-inputs]: Remove python-wheel.
Change-Id: I3f231c1201013b4cbc7a8fbda14937aa0685827e
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Diffstat (limited to 'gnu/packages/python-science.scm')
| -rw-r--r-- | gnu/packages/python-science.scm | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 1455f4c3470..fc9482a311b 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -2449,7 +2449,7 @@ different units.") (define-public python-pyamg (package (name "python-pyamg") - (version "5.0.1") + (version "5.3.0") (source (origin (method url-fetch) (uri (pypi-uri "pyamg" version)) @@ -2471,12 +2471,10 @@ different units.") "tests/bind_examples_bind.cpp")))) (sha256 (base32 - "0l3dliwynxyjvbgpmi2k8jqvkkw6fc00c8w69h6swhrkfh0ql12z")))) + "02w6xy3i0qcpsfc64zw8k15mi6qykq65h3d98vi9p6fdlkqx08sk")))) (arguments (list - #:test-flags - ;; Test installed package in order to find C++ modules. - #~(list "--pyargs" "pyamg.tests") + ;; tests: 40 passed, 1 skipped #:phases #~(modify-phases %standard-phases ;; Regenerate the autogenerated files. @@ -2491,7 +2489,11 @@ different units.") (("/usr/bin/env python3") (which "python3"))) (invoke "sh" "generate.sh")) (with-directory-excursion "pyamg/amg_core/tests" - (invoke "python" "bindthem.py" "bind_examples.h"))))))) + (invoke "python" "bindthem.py" "bind_examples.h")))) + (add-before 'check 'pre-check + (lambda _ + (copy-recursively "pyamg/tests" "tests") + (delete-file-recursively "pyamg")))))) (build-system pyproject-build-system) (native-inputs (list pybind11 @@ -2499,9 +2501,10 @@ different units.") python-pytest python-pyyaml python-setuptools - python-setuptools-scm - python-wheel)) - (propagated-inputs (list python-numpy python-scipy)) + python-setuptools-scm)) + (propagated-inputs + (list python-numpy + python-scipy)) (home-page "https://github.com/pyamg/pyamg") (synopsis "Algebraic Multigrid Solvers in Python") (description "PyAMG is a Python library of Algebraic Multigrid |
