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.
This commit is contained in:
Marius Bakke 2022-10-19 23:06:00 +02:00
parent e05e2a7a75
commit 7b499ef116
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -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