summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-02-11 11:29:00 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-02-11 21:03:06 +0000
commit120e2a64dadb9cc0893ab3dae51b72098715e860 (patch)
treea7cfa3889cacee2b2180aaceaea7602b4257340f /gnu
parenta3f02bc7809f3f3c8e987826e43edf7e87867a6c (diff)
downloadguix-120e2a64dadb9cc0893ab3dae51b72098715e860.tar.gz
gnu: python-pytest-csv: Simplify package.
* gnu/packages/python-check.scm (python-pytest-csv) [build-system]: Swap
to pyproejct-build-system.
[arguments]: Use standard 'check phase.

Change-Id: Iae04747b117bf5b5f9fb3c8b57cd40b8822edd77
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-check.scm10
1 files changed, 1 insertions, 9 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index a790c66d6e..31827dbf4b 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -179,15 +179,7 @@ tests in cram.")
        (sha256
         (base32
          "17518f2fn5l98lyk9p8r7215c1whi61imzrh6ahrmcksr8w0zz04"))))
-    (build-system python-build-system)
-    (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda* (#:key tests? inputs outputs #:allow-other-keys)
-             (when tests?
-               (add-installed-pythonpath inputs outputs)
-               (invoke "pytest")))))))
+    (build-system pyproject-build-system)
     (native-inputs
      (list python-pytest-flake8 python-pytest-xdist python-tabulate))
     (propagated-inputs