diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-11-23 12:51:39 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-11-26 21:22:06 +0000 |
| commit | a51172821030d48850cb73c36b5c5298fefae6b4 (patch) | |
| tree | cba6acefb3cef53c48558483b9b687b384bbef38 /gnu/packages/simulation.scm | |
| parent | c63083b2a14bbeb973c20c2a00d1cc58b19ad5f3 (diff) | |
gnu: python-meshio: Update to 5.3.5.
* gnu/packages/simulation.scm (python-meshio): Update to 5.3.5.
[source]: Remove snippet.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools.
[propagated-inputs]: Remove python-importlib-metadata.
[inputs, description]: Improve style.
Change-Id: I9cfe0bdbef3bbb8628e065d523dd65bf1fe388c6
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/simulation.scm')
| -rw-r--r-- | gnu/packages/simulation.scm | 45 |
1 files changed, 15 insertions, 30 deletions
diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm index e558bc2d2ce..78bb45685c3 100644 --- a/gnu/packages/simulation.scm +++ b/gnu/packages/simulation.scm @@ -1104,43 +1104,28 @@ river flooding.") (define-public python-meshio (package (name "python-meshio") - (version "5.3.4") + (version "5.3.5") (source (origin + ;; Using PyPI rather than git because some test files must be + ;; downloaded through git-fls. (method url-fetch) (uri (pypi-uri "meshio" version)) (sha256 - (base32 - "1w39qcg0rw5kb04j7sa45fnqd6k20fsdgrf62cmw2ygjgwnnjh72")) - (snippet - '(let ((file (open-file "setup.py" "a"))) - (display "from setuptools import setup\nsetup()" file) - (close-port file))))) - (build-system python-build-system) - (inputs - (list python-h5py - python-netcdf4)) - (native-inputs - (list python-pytest)) - (propagated-inputs - (list python-importlib-metadata - python-numpy - python-rich)) - (arguments - '(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "python" "-m" "pytest" "-v" "tests"))))))) + (base32 "0vaqhygr2d186qixvfckzqf4447674ylnc0rl5pa16zjv6mh27zj")))) + (build-system pyproject-build-system) + (inputs (list python-h5py python-netcdf4)) + (native-inputs (list python-pytest python-setuptools)) + (propagated-inputs (list python-numpy python-rich)) (home-page "https://github.com/nschloe/meshio") (synopsis "I/O for mesh files") - (description "There are various file formats available for -representing unstructured meshes and mesh data. The @code{meshio} -package is able to read and write mesh files in many formats and to -convert files from one format to another. Formats such as cgns, h5m, -gmsh, xdmf and vtk are supported. The package provides command-line -tools and a collection of Python modules for programmatic use.") + (description + "There are various file formats available for representing unstructured +meshes and mesh data. The @code{meshio} package is able to read and write +mesh files in many formats and to convert files from one format to another. +Formats such as cgns, h5m, gmsh, xdmf and vtk are supported. The package +provides command-line tools and a collection of Python modules for +programmatic use.") (license license:expat))) (define-public python-pygmsh |
