diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-08-25 20:12:35 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-02 21:13:19 +0100 |
| commit | 1bba49c77e9534c5414a8be39c59a74043dada59 (patch) | |
| tree | 8e65f54f37d8063ca9da43ab3d2f9303eb526fb6 /gnu/packages/python-check.scm | |
| parent | df3d8bdd9bbac453b453eab5090d5cd4c90bd949 (diff) | |
gnu: python-pytest-parawtf: Switch to pyproject.
* gnu/packages/python-check.scm (python-pytest-parawtf):
[source, description]: Run guix style.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:phases>: Replace it with...
<#:test-flags>: ...them.
[native-inputs]: Add python-setuptools, python-wheel.
Change-Id: Id47b094ac260f4623d2cf85c4cc5c646d992be04
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-check.scm')
| -rw-r--r-- | gnu/packages/python-check.scm | 29 |
1 files changed, 13 insertions, 16 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index f4e6840ca23..efb4882fcda 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -2693,28 +2693,25 @@ of tests run in a specific order.") (package (name "python-pytest-parawtf") (version "1.0.2") - (source (origin - (method url-fetch) - (uri (pypi-uri "pytest-parawtf" version)) - (sha256 - (base32 - "08s86hy58lvrd90cnayzydvac4slaflj0ph9yknakcc42anrm023")))) - (build-system python-build-system) + (source + (origin + (method url-fetch) + (uri (pypi-uri "pytest-parawtf" version)) + (sha256 + (base32 "08s86hy58lvrd90cnayzydvac4slaflj0ph9yknakcc42anrm023")))) + (build-system pyproject-build-system) (arguments (list - #:phases - #~(modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - ;; https://github.com/flub/pytest-parawtf/issues/1 - (invoke "pytest" "-k" "not test_mark"))))))) + #:test-flags + ;; https://github.com/flub/pytest-parawtf/issues/1 + #~(list "-k" "not test_mark"))) + (native-inputs (list python-pytest python-setuptools python-wheel)) (propagated-inputs (list python-pytest)) (home-page "https://github.com/flub/pytest-parawtf/") (synopsis "Finally spell paramete?ri[sz]e correctly") (description -"@code{python-pytest} uses one of four different spellings of -parametrize. This plugin allows you to use all four.") + "Pytest uses one of four different spellings of parametrize. This plugin +allows you to use all four.") (license license:expat))) (define-public python-pytest-pycodestyle |
