[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
145/222: gnu: vdirsyncer: Move to pyproject-build-system and enable test
From: |
guix-commits |
Subject: |
145/222: gnu: vdirsyncer: Move to pyproject-build-system and enable tests. |
Date: |
Fri, 1 Nov 2024 10:56:41 -0400 (EDT) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit e08ce53d4f71ebc7399f00afee7bf25cfdef25c3
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"
- 108/222: gnu: python-openapi-spec-validator: Update to 0.7.1., (continued)
- 108/222: gnu: python-openapi-spec-validator: Update to 0.7.1., guix-commits, 2024/11/01
- 114/222: gnu: python-sphinx-pytest: Update to 0.2.0., guix-commits, 2024/11/01
- 119/222: gnu: Add python-whatthepatch., guix-commits, 2024/11/01
- 111/222: gnu: python-graphql-core: Enable tests., guix-commits, 2024/11/01
- 131/222: gnu: python-widgetsnbextension: Update to 4.0.10., guix-commits, 2024/11/01
- 132/222: gnu: Add python-comm., guix-commits, 2024/11/01
- 120/222: gnu: python-platformdirs: Update to 4.2.1., guix-commits, 2024/11/01
- 137/222: gnu: python-transient: Move to pyproject-build-system., guix-commits, 2024/11/01
- 138/222: gnu: python-black: Move to pyproject-build-system., guix-commits, 2024/11/01
- 139/222: gnu: python-isort: Move to pyproject-build-system., guix-commits, 2024/11/01
- 145/222: gnu: vdirsyncer: Move to pyproject-build-system and enable tests.,
guix-commits <=
- 144/222: gnu: python-aionotify: Update to 0.3.0., guix-commits, 2024/11/01
- 147/222: gnu: python-docker-pycreds: Move to pyproject-build-system., guix-commits, 2024/11/01
- 146/222: gnu: python-django-localflavor: Move to pyproject-build-system., guix-commits, 2024/11/01
- 160/222: gnu: dynaconf: Improve package style., guix-commits, 2024/11/01
- 168/222: gnu: python-cbor2: Move to pyproject-build-system., guix-commits, 2024/11/01
- 171/222: gnu: python-cucumber-tag-expressions: Move to pyproject-build-system., guix-commits, 2024/11/01
- 154/222: gnu: python-alembic: Move to pyproject-build-system., guix-commits, 2024/11/01
- 176/222: gnu: abjad: Update to 3.19., guix-commits, 2024/11/01
- 179/222: gnu: python-pytest-remotedata: Ignore failing test., guix-commits, 2024/11/01
- 182/222: gnu: python-docspec-python: Move to pyproject-build-system., guix-commits, 2024/11/01