~ruther/guix-local

304f8bebbb3bc77b27be7ead82f2d79a10fe1843 — Sharlatan Hellseher 1 year, 2 months ago 4296310
gnu: python-pytest-mpi: Enable tests.

* gnu/packages/python-check.scm (python-pytest-mpi) [build-sytem]:
Switch to pyproject.
[propagated-inputs]: Remove python-pytest.
[native-inputs]: Add openmpi, python-pytest, python-setuptools,
python-sybil, and python-wheel.

Change-Id: I3f6b048e5e1b86048922b3d132a6d9c51e85f857
1 files changed, 15 insertions(+), 5 deletions(-)

M gnu/packages/python-check.scm
M gnu/packages/python-check.scm => gnu/packages/python-check.scm +15 -5
@@ 57,6 57,7 @@
  #:use-module (gnu packages docker)
  #:use-module (gnu packages jupyter)
  #:use-module (gnu packages maths)
  #:use-module (gnu packages mpi)
  #:use-module (gnu packages openstack)
  #:use-module (gnu packages perl)
  #:use-module (gnu packages python-build)


@@ 2515,12 2516,21 @@ framework and makes it easy to undo any monkey patching.  The fixtures are:
       (uri (pypi-uri "pytest-mpi" version))
       (sha256
        (base32 "1a954cai5lr327np5f38mg8gw91p4akx8m2z416wvwzq24swvcq9"))))
    (build-system python-build-system)
    (propagated-inputs (list python-pytest))
    (build-system pyproject-build-system)
    (arguments
     ;; See <https://github.com/aragilar/pytest-mpi/issues/4>.
     (list #:test-flags #~(list "-p" "pytester")))
    (native-inputs
     (list openmpi
           python-pytest
           python-setuptools
           python-sybil
           python-wheel))
    (home-page "https://pytest-mpi.readthedocs.io")
    (synopsis "Pytest plugin for working with MPI")
    (description "This plugin for Pytest provides tools for running Python
tests with MPI and for testing code using MPI.")
    (synopsis "Pytest plugin to collect information from tests")
    (description
     "@code{pytest_mpi} is a plugin for pytest providing some useful tools
when running tests under MPI, and testing MPI-related code.")
    (license license:bsd-3)))

(define-public python-pytest-mpl