[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#70855] [PATCH 10/92] gnu: vdirsyncer: Move to pyproject-build-syste
From: |
Nicolas Graves |
Subject: |
[bug#70855] [PATCH 10/92] gnu: vdirsyncer: Move to pyproject-build-system and enable tests. |
Date: |
Fri, 10 May 2024 00:53:05 +0200 |
* 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
---
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 ae034423746..b30b1ef5a59 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 @@ (define-public vdirsyncer
(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"
--
2.41.0
- [bug#70855] [PATCH 00/92] python-team patches, Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 01/92] gnu: python-seaborn: Correct dependencies., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 02/92] gnu: python-transient: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 03/92] gnu: python-black: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 07/92] gnu: python-http-ece: Update to 1.2.0., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 04/92] gnu: python-isort: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 16/92] gnu: qtile: Update to 0.23.0., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 10/92] gnu: vdirsyncer: Move to pyproject-build-system and enable tests.,
Nicolas Graves <=
- [bug#70855] [PATCH 17/92] gnu: qtile: Improve package style., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 09/92] gnu: python-aionotify: Update to 0.3.0., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 12/92] gnu: python-docker-pycreds: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 21/92] gnu: conda: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 13/92] gnu: Add xcffibgen., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 05/92] gnu: python-codespell: Improve package style., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 06/92] gnu: python-mutagen: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 08/92] gnu: python-zope-i18nmessageid: Update to 5.1.1., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 18/92] gnu: sshuttle: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 30/92] gnu: python-dateutil: Move to pyproject-build-system., Nicolas Graves, 2024/05/09