gnu: python-pygmsh: Update to 7.1.11.
*gnu/packages/simulation.scm (python-pygmsh): Update to 7.1.11. [source](snippet): Re-phrase comment.
parent
efde98a443
commit
d6c2fc3729
|
@ -843,27 +843,27 @@ tools and a collection of Python modules for programmatic use.")
|
||||||
(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))))
|
||||||
|
|
Reference in New Issue