gnu: vdirsyncer: Use G-expressions.
* gnu/packages/dav.scm (vdirsyncer)[arguments]: Rewrite as G-expressions.
This commit is contained in:
		
							parent
							
								
									a4a47b49c8
								
							
						
					
					
						commit
						25e4acb84e
					
				
					 1 changed files with 18 additions and 14 deletions
				
			
		|  | @ -24,6 +24,7 @@ | |||
| (define-module (gnu packages dav) | ||||
|   #:use-module (guix build-system python) | ||||
|   #:use-module (guix download) | ||||
|   #:use-module (guix gexp) | ||||
|   #:use-module (guix licenses) | ||||
|   #:use-module (guix packages) | ||||
|   #:use-module (guix git-download) | ||||
|  | @ -131,20 +132,23 @@ efficient syncing | |||
|                "1fl21m10ghrpmkqa12g0qri99cxk9879pkb60jd4b4w2mgp8q1gx")))) | ||||
|     (build-system python-build-system) | ||||
|     (arguments | ||||
|      `(#:tests? #f ; The test suite is very flakey. | ||||
|        #:phases (modify-phases %standard-phases | ||||
|         (replace 'check | ||||
|           (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") | ||||
|             (if tests? | ||||
|                 (invoke "make" "test")))) | ||||
|         (add-after 'unpack 'patch-version-call | ||||
|           (lambda _ | ||||
|             (substitute* "docs/conf.py" | ||||
|               (("^release.*") (string-append "release = '" ,version "'\n")))))))) | ||||
|      (list | ||||
|       #:tests? #f                       ; the test suite is very flakey | ||||
|       #:phases | ||||
|       #~(modify-phases %standard-phases | ||||
|           (replace 'check | ||||
|             (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") | ||||
|               (if tests? | ||||
|                   (invoke "make" "test")))) | ||||
|           (add-after 'unpack 'patch-version-call | ||||
|             (lambda _ | ||||
|               (substitute* "docs/conf.py" | ||||
|                 (("^release.*") | ||||
|                  (string-append "release = '" #$version "'\n")))))))) | ||||
|     (native-inputs | ||||
|      (list python-setuptools-scm | ||||
|            python-sphinx | ||||
|  |  | |||
		Reference in a new issue