aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-07-30 22:44:13 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-08-27 17:03:07 +0100
commit1133194645d1c28a5c751cdebbf806d41f911c31 (patch)
tree7d83e6e7dd453d761ee3c52e1a8ca66303cd7bf6
parent2210261705244f8af8004ad60a7494ff4b412cda (diff)
downloadguix-1133194645d1c28a5c751cdebbf806d41f911c31.tar.gz
guix-1133194645d1c28a5c751cdebbf806d41f911c31.zip
gnu: python-mpl-animators: Update to 1.2.0.
* gnu/packages/astronomy.scm (python-mpl-animators): Update to 1.2.0. [arguments]: <#:phases>: Add 'set-home phase. [native-inputs]: Add python-pytest-doctestplus and python-pytest-xdist. Change-Id: I6cbdc2e51e0841540c0944ceeb3e154ba2907ca7
-rw-r--r--gnu/packages/astronomy.scm16
1 files changed, 14 insertions, 2 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index c3d912ca21..51dd065109 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2641,17 +2641,29 @@ astronomical tables
(define-public python-mpl-animators
(package
(name "python-mpl-animators")
- (version "1.1.1")
+ (version "1.2.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "mpl_animators" version))
(sha256
- (base32 "078dshs383ny182dac0spg7z0iilcwa0fnwv1vizsr6p1d3ar98b"))))
+ (base32 "0xxzwxp2zss2s5ci6d349nfdc4hcbm10pqmf5zf14yn66plc1r4k"))))
(build-system pyproject-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'set-home
+ (lambda _
+ ;; Relax matplotlib warning: ... because the default path
+ ;; (/homeless-shelter/.config/matplotlib) is not a writable
+ ;; directory ...
+ (setenv "HOME" "/tmp"))))))
(native-inputs
(list python-pytest
+ python-pytest-doctestplus
python-pytest-mpl
+ python-pytest-xdist
python-setuptools-scm))
(propagated-inputs
(list python-astropy