Subject: [PATCH v3 16/22] gnu: zabbix-cli: Switch to pyproject-build-system.

From: Marius Bakke <[email-masked]>
Date: Sun, 23 Oct 2022 00:20:54 +0200

* gnu/packages/monitoring.scm (zabbix-cli)[build-system]: Switch to
PYPROJECT-BUILD-SYSTEM.
[arguments]: Remove check phase.
---
 gnu/packages/monitoring.scm | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/monitoring.scm b/gnu/packages/monitoring.scm
index 51ead2fe9b..d2c0a335db 100644
--- a/gnu/packages/monitoring.scm
+++ b/gnu/packages/monitoring.scm
@@ -37,6 +37,7 @@ (define-module (gnu packages monitoring)
   #:use-module (guix git-download)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix build-system perl)
+  #:use-module (guix build-system pyproject)
   #:use-module (guix build-system python)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system go)
@@ -270,7 +271,7 @@ (define-public zabbix-cli
               (sha256
                (base32
                 "1p8xkq3mxg476srwrgqax76vjzji0rjx32njmgnpa409vaqrbj5p"))))
-    (build-system python-build-system)
+    (build-system pyproject-build-system)
     (arguments
      (list #:phases
            #~(modify-phases %standard-phases
@@ -295,10 +296,7 @@ (define-public zabbix-cli
                                  (string-append #$output "/share/man/man1"))
                    (copy-recursively "docs/_build/singlehtml"
                                      (string-append #$output "/share/doc/"
-                                                    #$name "/html"))))
-               (replace 'check
-                 (lambda _
-                   (invoke "pytest" "-vv"))))))
+                                                    #$name "/html")))))))
     (native-inputs
      (list python-pytest python-sphinx))
     (inputs
-- 
2.38.0