[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
189/223: gnu: python-nbstripout: Move to pyproject-build-system.
From: |
guix-commits |
Subject: |
189/223: gnu: python-nbstripout: Move to pyproject-build-system. |
Date: |
Mon, 21 Oct 2024 18:23:53 -0400 (EDT) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit 5e1568fd1431de159b9459422381191aaab62a8b
Author: Nicolas Graves <ngraves@ngraves.fr>
AuthorDate: Fri May 10 00:53:53 2024 +0200
gnu: python-nbstripout: Move to pyproject-build-system.
* gnu/packages/jupyter.scm (python-nbstripout):
[build-system]: Move to pyproject-build-system.
[arguments]: Convert 'check replacement phase from <#:phases> to
<#:test-flags>. Use gexp.
Change-Id: I4d97b0739c43371c149296b23951cb2c17129840
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
gnu/packages/jupyter.scm | 26 ++++++++++++--------------
1 file changed, 12 insertions(+), 14 deletions(-)
diff --git a/gnu/packages/jupyter.scm b/gnu/packages/jupyter.scm
index 5e97eef29f..2c9dd6d71c 100644
--- a/gnu/packages/jupyter.scm
+++ b/gnu/packages/jupyter.scm
@@ -860,21 +860,19 @@ nbshow present a single notebook in a terminal-friendly
way
(sha256
(base32
"1n57nvxsc94gz9w8ymi83bjkfhfwkpmx4y14m6gjrmlqd49m1aw6"))))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
(arguments
- '(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'delete-bad-tests
- (lambda _
- ;; These tests use git and hg, and they are sensitive to the
- ;; exact printed output.
- (for-each delete-file (list "tests/test-git.t"
- "tests/test-hg.t"
- "tests/test-status.t"
- "tests/test-uninstall.t"))))
- (add-before 'check 'set-CRAMSHELL
- (lambda _
- (setenv "CRAMSHELL" (which "bash")))))))
+ (list
+ ;; These tests use git and hg, and they are sensitive to the
+ ;; exact printed output.
+ #:test-flags '(map (lambda (test)
+ (string-append "--ignore=tests/test-" test ".t"))
+ '("git" "hg" "status" "uninstall"))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'set-CRAMSHELL
+ (lambda _
+ (setenv "CRAMSHELL" (which "bash")))))))
(propagated-inputs (list python-nbformat))
(native-inputs
(list python-pytest
- 223/223: gnu: python-urllib3: Update to 2.2.1., (continued)
- 223/223: gnu: python-urllib3: Update to 2.2.1., guix-commits, 2024/10/21
- 110/223: gnu: python-cattrs: Update to 23.2.3., guix-commits, 2024/10/21
- 134/223: gnu: python-ipykernel: Update to 6.29.4., guix-commits, 2024/10/21
- 140/223: gnu: python-isort: Move to pyproject-build-system., guix-commits, 2024/10/21
- 222/223: gnu: python-websockets: Adjust inputs., guix-commits, 2024/10/21
- 146/223: gnu: vdirsyncer: Move to pyproject-build-system and enable tests., guix-commits, 2024/10/21
- 149/223: gnu: Add xcffibgen., guix-commits, 2024/10/21
- 148/223: gnu: python-docker-pycreds: Move to pyproject-build-system., guix-commits, 2024/10/21
- 154/223: gnu: python-apiron: Move to pyproject-build-system., guix-commits, 2024/10/21
- 155/223: gnu: python-alembic: Move to pyproject-build-system., guix-commits, 2024/10/21
- 189/223: gnu: python-nbstripout: Move to pyproject-build-system.,
guix-commits <=
- 190/223: gnu: Add ghc-xcb-types., guix-commits, 2024/10/21
- 213/223: gnu: python-multidict: Move to pyproject-build-system., guix-commits, 2024/10/21
- 212/223: gnu: python-numpydoc: Move to pyproject-build-sytem., guix-commits, 2024/10/21
- 211/223: gnu: python-pyan3: Move to pyproject-build-system., guix-commits, 2024/10/21
- 217/223: gnu: python-qemu-qmp: Improve package style., guix-commits, 2024/10/21
- 219/223: gnu: python-cssselect2: Move to pyproject-build-system., guix-commits, 2024/10/21
- 128/223: gnu: python-pyls-black: Add missing input., guix-commits, 2024/10/21