From 7b499ef1168784b6288c423846e84939f08de0c3 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Wed, 19 Oct 2022 23:06:00 +0200 Subject: [PATCH] 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 @@ (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) @@ -272,7 +273,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 @@ -297,10 +298,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