[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#70855] [PATCH 58/92] gnu: python-nbstripout: Move to pyproject-buil
From: |
Nicolas Graves |
Subject: |
[bug#70855] [PATCH 58/92] gnu: python-nbstripout: Move to pyproject-build-system. |
Date: |
Fri, 10 May 2024 00:53:53 +0200 |
* 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
---
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 2c982b4c214..cf3fa509966 100644
--- a/gnu/packages/jupyter.scm
+++ b/gnu/packages/jupyter.scm
@@ -801,21 +801,19 @@ (define-public python-nbstripout
(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
--
2.41.0
- [bug#70855] [PATCH 57/92] gnu: python-jaraco-test: Move to pyproject-build-system., (continued)
- [bug#70855] [PATCH 57/92] gnu: python-jaraco-test: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 62/92] gnu: python-pint: Disable benchmark tests., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 60/92] gnu: python-sparse: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 63/92] gnu: python-apprise: Improve package style., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 59/92] gnu: Add ghc-xcb-types., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 65/92] gnu: python-orderedmultidict: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 66/92] gnu: python-shtab: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 67/92] gnu: python-flake8-isort: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 68/92] gnu: python-xmltodict: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 55/92] gnu: python-jaraco-functools: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 58/92] gnu: python-nbstripout: Move to pyproject-build-system.,
Nicolas Graves <=
- [bug#70855] [PATCH 61/92] gnu: python-pytest-enabler: Break dependency cycle., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 64/92] gnu: python-autoflake: Update to 2.3.1., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 70/92] gnu: python-cmd2: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 69/92] gnu: python-rich: Update to 13.7.1., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 71/92] gnu: Add python-sphinx-autodoc-typehints-5., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 72/92] gnu: python-uqbar: Improve package style., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 75/92] gnu: python-typeguard-4: Ignore failing tests., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 80/92] gnu: python-pytest-trio: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 83/92] gnu: python-numpydoc: Move to pyproject-build-sytem., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 84/92] gnu: python-multidict: Move to pyproject-build-system., Nicolas Graves, 2024/05/09