gnu: python-pygmsh: Update to 7.1.11.

*gnu/packages/simulation.scm (python-pygmsh): Update to 7.1.11.
[source](snippet): Re-phrase comment.
This commit is contained in:
Paul Garlick 2021-08-23 12:33:20 +01:00
parent efde98a443
commit d6c2fc3729
No known key found for this signature in database
GPG key ID: AAC7E891896B568A

View file

@ -843,27 +843,27 @@ (define-public python-meshio
(define-public python-pygmsh (define-public python-pygmsh
(package (package
(name "python-pygmsh") (name "python-pygmsh")
(version "7.1.10") (version "7.1.11")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/nschloe/pygmsh") (url "https://github.com/nschloe/pygmsh")
(commit (string-append "v" version)))) (commit version)))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"03a949nl99ny9h0ni8lqgaljgkgicd305ls6zy1vkwgfa4mzsgqh")) "0g4yllmxks7yb50vild5xi1cma0yl16vsq6rfvdwmqaj4hwxcabk"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
'(begin '(begin
(let ((file (open-file "setup.py" "a"))) (let ((file (open-file "setup.py" "a")))
(display "from setuptools import setup\nsetup()" file) (display "from setuptools import setup\nsetup()" file)
(close-port file)) (close-port file))
;; setuptools is supplied by the build system. An extra ;; A reference to setuptools in the configuration file
;; reference in the original configuration file triggers ;; triggers an attempt to download the package from pypi.
;; an attempt to download the package again. This fails. ;; The reference is not needed since the package is
;; The extra reference is unnecessary and is removed. ;; provided by the build system.
(substitute* "setup.cfg" (substitute* "setup.cfg"
(("^[[:blank:]]+setuptools>=42\n") "")) (("^[[:blank:]]+setuptools>=42\n") ""))
#t)))) #t))))