@@ 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