X-Git-Url: https://git.hcoop.net/jackhill/guix/guix.git/blobdiff_plain/194451347dc60092132d06b84a83c5205d79299a..6f0c2c95d4c5f5590540acdf108037246d481678:/gnu/packages/dav.scm diff --git a/gnu/packages/dav.scm b/gnu/packages/dav.scm index e937d59358..fb370fd716 100644 --- a/gnu/packages/dav.scm +++ b/gnu/packages/dav.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2015, 2016, 2017 Leo Famulari -;;; Copyright © 2018 Efraim Flashner +;;; Copyright © 2018, 2019 Efraim Flashner ;;; ;;; This file is part of GNU Guix. ;;; @@ -25,7 +25,9 @@ #:use-module (gnu packages) #:use-module (gnu packages check) #:use-module (gnu packages python) - #:use-module (gnu packages python-web)) + #:use-module (gnu packages python-web) + #:use-module (gnu packages python-xyz) + #:use-module (gnu packages sphinx)) (define-public radicale (package @@ -67,14 +69,17 @@ clients.") "1vqjhn2bffy2bx45a1r14crsyn2cylf5by567g44c4mhpjwwz6vc")))) (build-system python-build-system) (arguments - `(#:phases (modify-phases %standard-phases + `(#:tests? #f ; The test suite is very flakey. + #:phases (modify-phases %standard-phases (replace 'check - (lambda* (#:key inputs outputs #:allow-other-keys) + (lambda* (#:key inputs outputs tests? #:allow-other-keys) (add-installed-pythonpath inputs outputs) (setenv "DETERMINISTIC_TESTS" "true") (setenv "DAV_SERVER" "radicale") (setenv "REMOTESTORAGE_SERVER" "skip") - (invoke "make" "test"))) + (if tests? + (invoke "make" "test") + #t))) (add-after 'install 'manpage (lambda* (#:key inputs outputs #:allow-other-keys) (invoke "make" "--directory=docs/" "man")