[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
195/231: gnu: python-nbstripout: Move to pyproject-build-system.
From: |
guix-commits |
Subject: |
195/231: gnu: python-nbstripout: Move to pyproject-build-system. |
Date: |
Tue, 15 Oct 2024 17:11:29 -0400 (EDT) |
sharlatan pushed a commit to branch python-team-old
in repository guix.
commit 9fd0e0fd439f912a7793e39832e33f384f8a56c5
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 62b92fbc8c..63af3069ab 100644
--- a/gnu/packages/jupyter.scm
+++ b/gnu/packages/jupyter.scm
@@ -833,21 +833,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
- 149/231: gnu: python-django-localflavor: Move to pyproject-build-system., (continued)
- 149/231: gnu: python-django-localflavor: Move to pyproject-build-system., guix-commits, 2024/10/15
- 135/231: gnu: Add python-comm., guix-commits, 2024/10/15
- 168/231: gnu: python-dateutil: Move to pyproject-build-system., guix-commits, 2024/10/15
- 170/231: gnu: python-asdf-astropy: Fix build., guix-commits, 2024/10/15
- 150/231: gnu: python-docker-pycreds: Move to pyproject-build-system., guix-commits, 2024/10/15
- 173/231: gnu: python-unidecode: Update to 1.3.8., guix-commits, 2024/10/15
- 175/231: gnu: python-tinycss: Move to pyproject-build-system., guix-commits, 2024/10/15
- 181/231: gnu: python-cbor: Update home-page., guix-commits, 2024/10/15
- 186/231: gnu: python-pytest-remotedata: Ignore failing test., guix-commits, 2024/10/15
- 188/231: gnu: python-cairosvg: Move to pyproject-build-system., guix-commits, 2024/10/15
- 195/231: gnu: python-nbstripout: Move to pyproject-build-system.,
guix-commits <=
- 202/231: gnu: python-orderedmultidict: Move to pyproject-build-system., guix-commits, 2024/10/15
- 211/231: gnu: python-uqbar: Update to 0.6.9., guix-commits, 2024/10/15
- 205/231: gnu: python-xmltodict: Move to pyproject-build-system., guix-commits, 2024/10/15
- 217/231: gnu: python-pytest-trio: Move to pyproject-build-system., guix-commits, 2024/10/15
- 220/231: gnu: python-numpydoc: Move to pyproject-build-sytem., guix-commits, 2024/10/15
- 221/231: gnu: python-multidict: Move to pyproject-build-system., guix-commits, 2024/10/15
- 225/231: gnu: python-qemu-qmp: Improve package style., guix-commits, 2024/10/15
- 223/231: gnu: python-certauth: Move to pyproject-build-system., guix-commits, 2024/10/15
- 231/231: gnu: python-urllib3: Update to 2.2.1., guix-commits, 2024/10/15
- 226/231: gnu: python-qemu-qmp: Move to pyproject-build-system., guix-commits, 2024/10/15