[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
145/361: gnu: vdirsyncer: Move to pyproject-build-system and enable test
From: |
guix-commits |
Subject: |
145/361: gnu: vdirsyncer: Move to pyproject-build-system and enable tests. |
Date: |
Thu, 21 Nov 2024 06:29:07 -0500 (EST) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit 2d842ac85ce4e10295683757606a36b92cfb0d4c
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"
- 59/361: gnu: python-jinja2: Add setuptools and wheel., (continued)
- 59/361: gnu: python-jinja2: Add setuptools and wheel., guix-commits, 2024/11/21
- 50/361: gnu: python-billiard: Add missing inputs., guix-commits, 2024/11/21
- 78/361: gnu: python-send2trash: Update to 1.8.2., guix-commits, 2024/11/21
- 101/361: gnu: python-openapi-schema-validator: Update to 0.6.2., guix-commits, 2024/11/21
- 96/361: gnu: Add python-jupyter-events., guix-commits, 2024/11/21
- 128/361: gnu: python-pycurl: Update to 7.45.3., guix-commits, 2024/11/21
- 126/361: gnu: python-sphinx-4: Inherit from python-sphinx-5., guix-commits, 2024/11/21
- 125/361: gnu: python-sphinx-5: Disable failing tests., guix-commits, 2024/11/21
- 102/361: gnu: python-pydata-sphinx-theme: Disable one test., guix-commits, 2024/11/21
- 134/361: gnu: python-jupyterlab-widgets: Update to 3.0.10., guix-commits, 2024/11/21
- 145/361: gnu: vdirsyncer: Move to pyproject-build-system and enable tests.,
guix-commits <=
- 152/361: gnu: qtile: Improve package style., guix-commits, 2024/11/21
- 149/361: gnu: Add ghc-language-python., guix-commits, 2024/11/21
- 147/361: gnu: python-docker-pycreds: Move to pyproject-build-system., guix-commits, 2024/11/21
- 156/361: gnu: conda: Reindent., guix-commits, 2024/11/21
- 181/361: gnu: python-cairosvg: Move to pyproject-build-system., guix-commits, 2024/11/21
- 188/361: gnu: python-nbstripout: Move to pyproject-build-system., guix-commits, 2024/11/21
- 201/361: gnu: python-uqbar: Improve package style., guix-commits, 2024/11/21
- 209/361: gnu: python-fenics-dijitso: Move to pyproject-build-system., guix-commits, 2024/11/21
- 210/361: gnu: python-pyan3: Move to pyproject-build-system., guix-commits, 2024/11/21
- 219/361: gnu: python-notebook: Add python-jupyter-server to native inputs., guix-commits, 2024/11/21