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.") | |||
| 1104 | (define-public python-meshio | 1104 | (define-public python-meshio |
| 1105 | (package | 1105 | (package |
| 1106 | (name "python-meshio") | 1106 | (name "python-meshio") |
| 1107 | (version "5.3.4") | 1107 | (version "5.3.5") |
| 1108 | (source | 1108 | (source |
| 1109 | (origin | 1109 | (origin |
| 1110 | ;; Using PyPI rather than git because some test files must be | ||
| 1111 | ;; downloaded through git-fls. | ||
| 1110 | (method url-fetch) | 1112 | (method url-fetch) |
| 1111 | (uri (pypi-uri "meshio" version)) | 1113 | (uri (pypi-uri "meshio" version)) |
| 1112 | (sha256 | 1114 | (sha256 |
| 1113 | (base32 | 1115 | (base32 "0vaqhygr2d186qixvfckzqf4447674ylnc0rl5pa16zjv6mh27zj")))) |
| 1114 | "1w39qcg0rw5kb04j7sa45fnqd6k20fsdgrf62cmw2ygjgwnnjh72")) | 1116 | (build-system pyproject-build-system) |
| 1115 | (snippet | 1117 | (inputs (list python-h5py python-netcdf4)) |
| 1116 | '(let ((file (open-file "setup.py" "a"))) | 1118 | (native-inputs (list python-pytest python-setuptools)) |
| 1117 | (display "from setuptools import setup\nsetup()" file) | 1119 | (propagated-inputs (list python-numpy python-rich)) |
| 1118 | (close-port file))))) | ||
| 1119 | (build-system python-build-system) | ||
| 1120 | (inputs | ||
| 1121 | (list python-h5py | ||
| 1122 | python-netcdf4)) | ||
| 1123 | (native-inputs | ||
| 1124 | (list python-pytest)) | ||
| 1125 | (propagated-inputs | ||
| 1126 | (list python-importlib-metadata | ||
| 1127 | python-numpy | ||
| 1128 | python-rich)) | ||
| 1129 | (arguments | ||
| 1130 | '(#:phases | ||
| 1131 | (modify-phases %standard-phases | ||
| 1132 | (replace 'check | ||
| 1133 | (lambda* (#:key tests? #:allow-other-keys) | ||
| 1134 | (when tests? | ||
| 1135 | (invoke "python" "-m" "pytest" "-v" "tests"))))))) | ||
| 1136 | (home-page "https://github.com/nschloe/meshio") | 1120 | (home-page "https://github.com/nschloe/meshio") |
| 1137 | (synopsis "I/O for mesh files") | 1121 | (synopsis "I/O for mesh files") |
| 1138 | (description "There are various file formats available for | 1122 | (description |
| 1139 | representing unstructured meshes and mesh data. The @code{meshio} | 1123 | "There are various file formats available for representing unstructured |
| 1140 | package is able to read and write mesh files in many formats and to | 1124 | meshes and mesh data. The @code{meshio} package is able to read and write |
| 1141 | convert files from one format to another. Formats such as cgns, h5m, | 1125 | mesh files in many formats and to convert files from one format to another. |
| 1142 | gmsh, xdmf and vtk are supported. The package provides command-line | 1126 | Formats such as cgns, h5m, gmsh, xdmf and vtk are supported. The package |
| 1143 | tools and a collection of Python modules for programmatic use.") | 1127 | provides command-line tools and a collection of Python modules for |
| 1128 | programmatic use.") | ||
| 1144 | (license license:expat))) | 1129 | (license license:expat))) |
| 1145 | 1130 | ||
| 1146 | (define-public python-pygmsh | 1131 | (define-public python-pygmsh |
