[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
161/222: gnu: zulip-term: Move to pyproject-build-system.
From: |
guix-commits |
Subject: |
161/222: gnu: zulip-term: Move to pyproject-build-system. |
Date: |
Fri, 1 Nov 2024 10:56:43 -0400 (EDT) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit efa664f427cabd6bc33bdfd9246fda9540c2a5f2
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 5a298d241e..5c6b0f9523 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -3260,24 +3260,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
- 127/222: gnu: python-pyls-black: Add missing input., (continued)
- 127/222: gnu: python-pyls-black: Add missing input., guix-commits, 2024/11/01
- 143/222: gnu: python-zope-i18nmessageid: Update to 5.1.1., guix-commits, 2024/11/01
- 151/222: gnu: qtile: Update to 0.23.0., guix-commits, 2024/11/01
- 153/222: gnu: python-apiron: Move to pyproject-build-system., guix-commits, 2024/11/01
- 122/222: gnu: python-lsp-jsonrpc: Update to 1.1.2., guix-commits, 2024/11/01
- 128/222: gnu: python-pycurl: Update to 7.45.3., guix-commits, 2024/11/01
- 130/222: gnu: python-nbconvert: Update to 7.16.4., guix-commits, 2024/11/01
- 133/222: gnu: python-ipykernel: Update to 6.29.4., guix-commits, 2024/11/01
- 149/222: gnu: Add ghc-language-python., guix-commits, 2024/11/01
- 158/222: gnu: python-scikit-rf: Fix tests., guix-commits, 2024/11/01
- 161/222: gnu: zulip-term: Move to pyproject-build-system.,
guix-commits <=
- 162/222: gnu: python-pypujs: Improve package style., guix-commits, 2024/11/01
- 163/222: gnu: python-dateutil: Move to pyproject-build-system., guix-commits, 2024/11/01
- 167/222: gnu: python-unidecode: Update to 1.3.8., guix-commits, 2024/11/01
- 165/222: gnu: python-pytest-runner: Improve package style., guix-commits, 2024/11/01
- 173/222: gnu: python-parse-type: Move to pyproject-build-system., guix-commits, 2024/11/01
- 181/222: gnu: python-cairosvg: Move to pyproject-build-system., guix-commits, 2024/11/01
- 190/222: gnu: python-sparse: Move to pyproject-build-system., guix-commits, 2024/11/01
- 198/222: gnu: python-rich: Update to 13.7.1., guix-commits, 2024/11/01
- 202/222: gnu: python-uqbar: Upgrade to python-team branch., guix-commits, 2024/11/01
- 210/222: gnu: python-pyan3: Move to pyproject-build-system., guix-commits, 2024/11/01