[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/91: gnu: vdirsyncer: Move to pyproject-build-system and enable tests.
From: |
guix-commits |
Subject: |
10/91: gnu: vdirsyncer: Move to pyproject-build-system and enable tests. |
Date: |
Thu, 23 May 2024 17:17:26 -0400 (EDT) |
ngz pushed a commit to branch python-team
in repository guix.
commit c036eea3482adc5fc8ece09672bb8d4daf13fd58
Author: Nicolas Graves <ngraves@ngraves.fr>
AuthorDate: Fri May 10 00:53:05 2024 +0200
gnu: vdirsyncer: Move to pyproject-build-system and enable tests.
* gnu/packages/dav.scm (vdirsyncer):
[build-system]: Move to pyproject-build-system.
[arguments]<#:tests?>: Remove to enable tests.
<#:test-flags>: Ignore test that require network connection.
<#:phases>: Remove check phase replacement.
Change-Id: Iafccfc65e3a847a0eecc26c179f435b9ec1fdfec
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
gnu/packages/dav.scm | 14 ++++----------
1 file changed, 4 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/dav.scm b/gnu/packages/dav.scm
index ae03442374..b30b1ef5a5 100644
--- a/gnu/packages/dav.scm
+++ b/gnu/packages/dav.scm
@@ -5,6 +5,7 @@
;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2021 Tanguy Le Carrour <tanguy@bioneland.org>
;;; Copyright © 2022 Jonathan Brielmaier <jonathan.brielmaier@web.de>
+;;; Copyright © 2024 Nicolas Graves <ngraves@ngraves.fr>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -23,6 +24,7 @@
(define-module (gnu packages dav)
#:use-module (guix build-system python)
+ #:use-module (guix build-system pyproject)
#:use-module (guix download)
#:use-module (guix gexp)
#:use-module (guix licenses)
@@ -124,20 +126,12 @@ efficient syncing
(sha256
(base32
"1fl21m10ghrpmkqa12g0qri99cxk9879pkb60jd4b4w2mgp8q1gx"))))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
(arguments
(list
- #:tests? #f ; the test suite is very flakey
+ #:test-flags '(list "-k" "not test_request_ssl")
#: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"
- 82/91: gnu: python-numpydoc: Move to pyproject-build-sytem., (continued)
- 82/91: gnu: python-numpydoc: Move to pyproject-build-sytem., guix-commits, 2024/05/23
- 91/91: gnu: build-system/pyproject: Add missing native-inputs., guix-commits, 2024/05/23
- 85/91: gnu: python-certauth: Move to pyproject-build-system., guix-commits, 2024/05/23
- 86/91: gnu: python-matplotlib: Ignore failing tests., guix-commits, 2024/05/23
- 08/91: gnu: python-zope-i18nmessageid: Update to 5.1.1., guix-commits, 2024/05/23
- 14/91: gnu: Add ghc-language-python., guix-commits, 2024/05/23
- 04/91: gnu: python-isort: Move to pyproject-build-system., guix-commits, 2024/05/23
- 03/91: gnu: python-black: Move to pyproject-build-system., guix-commits, 2024/05/23
- 06/91: gnu: python-mutagen: Move to pyproject-build-system., guix-commits, 2024/05/23
- 07/91: gnu: python-http-ece: Update to 1.2.0., guix-commits, 2024/05/23
- 10/91: gnu: vdirsyncer: Move to pyproject-build-system and enable tests.,
guix-commits <=
- 11/91: gnu: python-django-localflavor: Move to pyproject-build-system., guix-commits, 2024/05/23
- 16/91: gnu: qtile: Update to 0.23.0., guix-commits, 2024/05/23
- 18/91: gnu: sshuttle: Move to pyproject-build-system., guix-commits, 2024/05/23
- 19/91: gnu: python-apiron: Move to pyproject-build-system., guix-commits, 2024/05/23
- 40/91: gnu: python-flask-login: Move to pyproject-build-system., guix-commits, 2024/05/23
- 28/91: gnu: zulip-term: Move to pyproject-build-system., guix-commits, 2024/05/23
- 48/91: gnu: python-pytest-remotedata: Ignore failing test., guix-commits, 2024/05/23
- 37/91: gnu: python-tinycss: Move to pyproject-build-system., guix-commits, 2024/05/23
- 35/91: gnu: python-unidecode: Update to 1.3.8., guix-commits, 2024/05/23
- 39/91: gnu: python-cucumber-tag-expressions: Move to pyproject-build-system., guix-commits, 2024/05/23