aboutsummaryrefslogtreecommitdiff
path: root/etc/guix-publish.conf.in
blob: 7b319f66ae5d1eef9fa9365ee8afbf06ed6153fe (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# This is a "job" for the Upstart init system to launch 'guix-daemon'.
# Drop it in /etc/init to have 'guix-daemon' automatically started.

description "Publish the GNU Guix store"

start on runlevel [2345]

stop on runlevel [016]

task

exec @localstatedir@/guix/profiles/per-user/root/current-guix/bin/guix publish --user=nobody --port=8181
commit92c4bedf07393cbf30e5c5214d781105af5c8150 (patch) tree9e24ba4ab9693f63053b9a5cef6b7211ad64bb86 /gnu parentfd75f170432e8ae3a466aecd0c8e746825ef7e7c (diff)downloadguix-92c4bedf07393cbf30e5c5214d781105af5c8150.tar.gz
guix-92c4bedf07393cbf30e5c5214d781105af5c8150.zip
gnu: python-graphviz: Update to 0.20.3.
* gnu/packages/graphviz.scm (python-graphviz): Update to 0.20.3. [arguments]<phases>: Remove 'prepare-chec phase. Add 'patch-pytest-options phase. Use custom 'check phase. Change-Id: I8ebd1277e9b53b3ad267f567c449e6efc01b0653
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/graphviz.scm19
1 files changed, 13 insertions, 6 deletions
diff --git a/gnu/packages/graphviz.scm b/gnu/packages/graphviz.scm
index 10fde9c943..defd53df73 100644
--- a/gnu/packages/graphviz.scm
+++ b/gnu/packages/graphviz.scm
@@ -138,21 +138,28 @@ interfaces for other technical domains.")
(define-public python-graphviz
(package
(name "python-graphviz")
- (version "0.20.1")
+ (version "0.20.3")
(source (origin
(method url-fetch)
(uri (pypi-uri "graphviz" version ".zip"))
(sha256
(base32
- "1y1b956r01kg7qarkkrivhn71q64k0gbq6bcybd4gfd3v95g2n4c"))))
+ "0pcjnnhprs1hb4r9jr7r4qjxc7lzsjlka8d5gcp3kym9ws0vrmh9"))))
(build-system pyproject-build-system)
(arguments
(list
#:phases
- '(modify-phases %standard-phases
- (add-before 'check 'prepare-chec
- ;; Needed for fontconfig cache directories
- (lambda _ (setenv "HOME" (getcwd)))))))
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'pathch-pytest-options
+ (lambda _
+ (substitute* "setup.cfg"
+ ((".*doctest.*") "")
+ (("--cov.*") ""))))
+ (replace 'check
+ (lambda* (#:key tests? test-flags #:allow-other-keys)
+ (when tests?
+ (setenv "HOME" "/tmp")
+ (apply invoke "python" "run-tests.py" test-flags)))))))
(native-inputs
(list unzip
;; For tests.