[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
28/91: gnu: zulip-term: Move to pyproject-build-system.
From: |
guix-commits |
Subject: |
28/91: gnu: zulip-term: Move to pyproject-build-system. |
Date: |
Thu, 23 May 2024 17:17:30 -0400 (EDT) |
ngz pushed a commit to branch python-team
in repository guix.
commit d3432da88787b9f0fce07a08ecf397124003d9ea
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 497808b069..cb72bfb3e2 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -3211,24 +3211,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
- 04/91: gnu: python-isort: Move to pyproject-build-system., (continued)
- 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, 2024/05/23
- 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 <=
- 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
- 24/91: gnu: python-scikit-rf: Fix tests., guix-commits, 2024/05/23
- 33/91: gnu: python-pytest-runner: Improve package style., guix-commits, 2024/05/23
- 47/91: gnu: abjad-ext-nauert: Update to 3.19., guix-commits, 2024/05/23
- 22/91: gnu: conda: Reindent., guix-commits, 2024/05/23
- 25/91: gnu: gunicorn: Move to pyproject-build-system., guix-commits, 2024/05/23
- 30/91: gnu: python-dateutil: Move to pyproject-build-system., guix-commits, 2024/05/23