guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

17/23: gnu: zabbix-cli: Switch to pyproject-build-system.


From: guix-commits
Subject: 17/23: gnu: zabbix-cli: Switch to pyproject-build-system.
Date: Thu, 27 Oct 2022 13:47:12 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit 7b499ef1168784b6288c423846e84939f08de0c3
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Wed Oct 19 23:06:00 2022 +0200

    gnu: zabbix-cli: Switch to pyproject-build-system.
    
    * 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 1cde9ef82f..63f9906508 100644
--- a/gnu/packages/monitoring.scm
+++ b/gnu/packages/monitoring.scm
@@ -37,6 +37,7 @@
   #: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)
@@ -272,7 +273,7 @@ solution (server-side)")))
               (sha256
                (base32
                 "1p8xkq3mxg476srwrgqax76vjzji0rjx32njmgnpa409vaqrbj5p"))))
-    (build-system python-build-system)
+    (build-system pyproject-build-system)
     (arguments
      (list #:phases
            #~(modify-phases %standard-phases
@@ -297,10 +298,7 @@ solution (server-side)")))
                                  (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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]