[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
161/361: gnu: zulip-term: Move to pyproject-build-system.
From: |
guix-commits |
Subject: |
161/361: gnu: zulip-term: Move to pyproject-build-system. |
Date: |
Fri, 22 Nov 2024 06:00:32 -0500 (EST) |
andreas pushed a commit to branch python-team
in repository guix.
commit 5076473eefff9a9a8ba5e5633bdabcf0ad0360ba
Author: Nicolas Graves <ngraves@ngraves.fr>
AuthorDate: Fri May 10 00:53:23 2024 +0200
gnu: zulip-term: Move to pyproject-build-system.
* gnu/packages/messaging.scm (zulip-term):
[build-system]: Move to pyproject-build-system.
[arguments]<#:test-flags>: Use it in place of check phase replacement.
Change-Id: Ia5be66a35b92d9a9229f450a7724e27167c02eda
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
gnu/packages/messaging.scm | 23 ++++++-----------------
1 file changed, 6 insertions(+), 17 deletions(-)
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index ab13fc717b..e331b9a47f 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -3263,24 +3263,13 @@ designed for experienced users.")
(base32
"1xhhy3v4wck74a83avil0rnmsi2grrh03cww19n5mv80p2q1cjmf"))
(modules '((guix build utils)))
- (snippet
- '(begin
- (substitute* "setup.py"
- (("\\=\\=1\\.7") ">=1.7") ; pytest-mock
- (("\\=\\=2\\.5") ">=2.5") ; pytest-cov
- (("4\\.5\\.2") "4.4.2")) ; lxml
- #t))))
- (build-system python-build-system)
+ (snippet '(substitute* "setup.py"
+ (("\\=\\=1\\.7") ">=1.7") ; pytest-mock
+ (("\\=\\=2\\.5") ">=2.5") ; pytest-cov
+ (("4\\.5\\.2") "4.4.2"))))) ; lxml
+ (build-system pyproject-build-system)
(arguments
- '(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- ;; Delete failing tests.
- (delete-file "tests/cli/test_run.py")
- (invoke "pytest"))
- #t)))))
+ '(#:test-flags '("--ignore=tests/cli/test_run.py")))
(inputs
(list python-beautifulsoup4
python-lxml
- 126/361: gnu: python-sphinx-4: Inherit from python-sphinx-5., (continued)
- 126/361: gnu: python-sphinx-4: Inherit from python-sphinx-5., guix-commits, 2024/11/22
- 119/361: gnu: Add python-whatthepatch., guix-commits, 2024/11/22
- 130/361: gnu: python-nbconvert: Update to 7.16.4., guix-commits, 2024/11/22
- 131/361: gnu: python-widgetsnbextension: Update to 4.0.10., guix-commits, 2024/11/22
- 134/361: gnu: python-jupyterlab-widgets: Update to 3.0.10., guix-commits, 2024/11/22
- 141/361: gnu: python-mutagen: Move to pyproject-build-system., guix-commits, 2024/11/22
- 147/361: gnu: python-docker-pycreds: Move to pyproject-build-system., guix-commits, 2024/11/22
- 145/361: gnu: vdirsyncer: Move to pyproject-build-system and enable tests., guix-commits, 2024/11/22
- 150/361: gnu: python-xcffib: Move to (gnu packages xorg)., guix-commits, 2024/11/22
- 154/361: gnu: python-alembic: Move to pyproject-build-system., guix-commits, 2024/11/22
- 161/361: gnu: zulip-term: Move to pyproject-build-system.,
guix-commits <=
- 159/361: gnu: python-arrow: Move to pyproject-build-system., guix-commits, 2024/11/22
- 157/361: gnu: python-conda-package-handling: Move to pyproject-build-system., guix-commits, 2024/11/22
- 162/361: gnu: python-pypujs: Improve package style., guix-commits, 2024/11/22
- 163/361: gnu: python-dateutil: Move to pyproject-build-system., guix-commits, 2024/11/22
- 170/361: gnu: behave: Move to pyproject-build-system., guix-commits, 2024/11/22
- 167/361: gnu: python-unidecode: Update to 1.3.8., guix-commits, 2024/11/22
- 174/361: gnu: python-amqp: Move to pyproject-build-system., guix-commits, 2024/11/22
- 181/361: gnu: python-cairosvg: Move to pyproject-build-system., guix-commits, 2024/11/22
- 177/361: gnu: abjad-ext-rmakers: Update to 3.19., guix-commits, 2024/11/22
- 186/361: gnu: python-jaraco-packaging: Move to pyproject-build-system., guix-commits, 2024/11/22