~ruther/guix-local

a3c54627cf6ab6f1dff294d4b2b95428d9718a7b — Sharlatan Hellseher 4 months ago 40b416e
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>
1 files changed, 12 insertions(+), 9 deletions(-)

M gnu/packages/python-science.scm
M gnu/packages/python-science.scm => gnu/packages/python-science.scm +12 -9
@@ 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