gnu: python-pygmsh: Update snippet for Gmsh > 4.7.0.
The old field option name is not needed after commit 78595fe3650057f258109c6599f4bae1d0e72e (Gmsh 4.8.4). * gnu/packages/simulation.scm (python-pygmsh)[source]: Remove option name substitution.
parent
d87d6d6812
commit
d56a29edb7
|
@ -863,13 +863,6 @@ tools and a collection of Python modules for programmatic use.")
|
|||
;; The extra reference is unnecessary and is removed.
|
||||
(substitute* "setup.cfg"
|
||||
(("^[[:blank:]]+setuptools>=42\n") ""))
|
||||
;; FIXME: gmsh version 4.7.0 introduces new field option
|
||||
;; names. See gmsh commit 6eab8028. pygmsh needs to use
|
||||
;; one of the old option names for compatibility with gmsh
|
||||
;; version 4.6.0.
|
||||
(with-directory-excursion "pygmsh/common"
|
||||
(substitute* "size_field.py"
|
||||
(("NumPointsPerCurve") "NNodesByEdge")))
|
||||
#t))))
|
||||
(build-system python-build-system)
|
||||
(native-inputs
|
||||
|
|
Reference in New Issue