[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#70855] [PATCH 50/92] gnu: python-pytest-toolbox: Move to pyproject-
From: |
Nicolas Graves |
Subject: |
[bug#70855] [PATCH 50/92] gnu: python-pytest-toolbox: Move to pyproject-build-system. |
Date: |
Fri, 10 May 2024 00:53:45 +0200 |
* gnu/packages/python-check.scm (python-pytest-toolbox):
[build-system]: Move to pyproject-build-system.
[arguments]<#:phases>: Restrict 'check phase replacement to
'pre-check phase.
Change-Id: Id0804db32d30314076d1e411711881bbe3a3f6e1
---
gnu/packages/python-check.scm | 20 +++++++++-----------
1 file changed, 9 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index f2a355bb413..ccda2042fb6 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -1481,18 +1481,16 @@ (define-public python-pytest-toolbox
(file-name (git-file-name name version))
(sha256
(base32 "1wqkr3g5gmqdxmhzfsxbwy8pm3cadaj6a8cxq58w9bacly4hqbh0"))))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
(arguments
- '(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? inputs outputs #:allow-other-keys)
- (when tests?
- (substitute* "setup.cfg"
- ((".*timeout.*") ""))
- ;; Make the installed plugin discoverable by Pytest.
- (add-installed-pythonpath inputs outputs)
- (invoke "pytest" "-vv")))))))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'pre-check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (substitute* "setup.cfg"
+ ((".*timeout.*") ""))))))))
(native-inputs
(list python-pydantic python-pytest python-pytest-isort))
(home-page "https://github.com/samuelcolvin/pytest-toolbox")
--
2.41.0
- [bug#70855] [PATCH 44/92] gnu: python-sphinx: Ignore failing tests., (continued)
- [bug#70855] [PATCH 44/92] gnu: python-sphinx: Ignore failing tests., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 48/92] gnu: abjad-ext-nauert: Update to 3.19., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 51/92] gnu: python-cairosvg: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 52/92] gnu: python-docspec-python: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 54/92] gnu: python-jaraco-context: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 53/92] gnu: python-jaraco-classes: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 46/92] gnu: abjad: Update to 3.19., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 45/92] gnu: python-sphinx-autodoc-typehints: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 43/92] gnu: python-cbor: Update home-page., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 49/92] gnu: python-pytest-remotedata: Ignore failing test., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 50/92] gnu: python-pytest-toolbox: Move to pyproject-build-system.,
Nicolas Graves <=
- [bug#70855] [PATCH 47/92] gnu: abjad-ext-rmakers: Update to 3.19., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 56/92] gnu: python-jaraco-packaging: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [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