1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-27 11:32:21 +02:00

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>
This commit is contained in:
Nicolas Graves
2025-11-23 12:51:39 +01:00
committed by Sharlatan Hellseher
parent c63083b2a1
commit a511728210
+15 -30
View File
@@ -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