[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/13: gnu: python-seaborn: Simplify 'start-xserver' phase.
From: |
guix-commits |
Subject: |
02/13: gnu: python-seaborn: Simplify 'start-xserver' phase. |
Date: |
Fri, 9 Jul 2021 05:59:24 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 3125255cc5a51a0ac435408c73ed6253070ea215
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Thu Jul 8 17:32:50 2021 +0200
gnu: python-seaborn: Simplify 'start-xserver' phase.
* gnu/packages/python-xyz.scm (python-seaborn)[arguments]: In
'start-xserver' phase, assume "Xvfb" is in $PATH.
---
gnu/packages/python-xyz.scm | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 193c86a..7a52285 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -8812,13 +8812,11 @@ SVG, EPS, PNG and terminal output.")
`(#:phases
(modify-phases %standard-phases
(add-before 'check 'start-xserver
- (lambda* (#:key inputs #:allow-other-keys)
- (let ((xorg-server (assoc-ref inputs "xorg-server")))
- ;; There must be a running X server and make check doesn't
- ;; start one. Therefore we must do it.
- (system (format #f "~a/bin/Xvfb :1 &" xorg-server))
- (setenv "DISPLAY" ":1")
- #t)))
+ (lambda _
+ ;; There must be a running X server and make check doesn't
+ ;; start one. Therefore we must do it.
+ (system "Xvfb :1 &")
+ (setenv "DISPLAY" ":1")))
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
- branch master updated (ef3d60f -> b182121), guix-commits, 2021/07/09
- 04/13: gnu: Add python-escapism., guix-commits, 2021/07/09
- 01/13: gnu: python-seaborn: 'check' phase honors #:tests?., guix-commits, 2021/07/09
- 02/13: gnu: python-seaborn: Simplify 'start-xserver' phase.,
guix-commits <=
- 03/13: gnu: python-seaborn: Update to 0.11.1., guix-commits, 2021/07/09
- 06/13: gnu: Add python-pytest-datadir., guix-commits, 2021/07/09
- 09/13: gnu: Add python-sphinxcontrib-autoprogram., guix-commits, 2021/07/09
- 08/13: gnu: Add python-jupyter-sphinx., guix-commits, 2021/07/09
- 10/13: gnu: Add python-pydata-sphinx-theme., guix-commits, 2021/07/09
- 11/13: gnu: Add repo2docker., guix-commits, 2021/07/09
- 05/13: gnu: Add python-recommonmark., guix-commits, 2021/07/09
- 07/13: gnu: Add python-pytest-regressions., guix-commits, 2021/07/09
- 12/13: gnu: python-arrow: Update to 1.1.1., guix-commits, 2021/07/09
- 13/13: gnu: python-arrow: Honor #:tests? in 'check' phase., guix-commits, 2021/07/09