guix_mirror_bot pushed a commit to branch master
in repository guix.
commit b7b2b5b6b933fe4ced658d7f2b445c0fd2237b8d
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Wed Dec 31 14:55:45 2025 +0000
gnu: python-pyzabbix: Update to 1.3.1.
* gnu/packages/monitoring.scm (python-pyzabbix): Update to 1.3.1.
[build-system]: Switch to pyproject-build-system.
[arguments] <test-flags>: Provide path to tests.
<phases>: Drop all.
[native-inputs]: Add python-setuptools.
Change-Id: If55f0330217fd3416d0a3318eaaa6734b14dafca
---
gnu/packages/monitoring.scm | 29 +++++++++++++----------------
1 file changed, 13 insertions(+), 16 deletions(-)
diff --git a/gnu/packages/monitoring.scm b/gnu/packages/monitoring.scm
index e5b31e7c88..7324e1d853 100644
--- a/gnu/packages/monitoring.scm
+++ b/gnu/packages/monitoring.scm
@@ -407,30 +407,27 @@ through a text-based interface.")
(define-public python-pyzabbix
(package
(name "python-pyzabbix")
- (version "1.2.1")
- (home-page "https://github.com/lukecyca/pyzabbix")
- ;; No tests on PyPI, use the git checkout.
+ (version "1.3.1")
(source
(origin
(method git-fetch)
- (uri (git-reference (url home-page) (commit version)))
+ (uri (git-reference
+ (url "https://github.com/lukecyca/pyzabbix")
+ (commit version)))
(file-name (git-file-name name version))
(sha256
- (base32
- "0ad5xac67brmwc3wd0f87pjplly3cqyrz1dp725lzz2hrjgiaqi8"))))
- (build-system python-build-system)
+ (base32 "1dbs3bz1mjlvlg46ikhg5j7agwni61ljlpiziknklv95yp29n86v"))))
+ (build-system pyproject-build-system)
(arguments
- '(#:phases (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (if tests?
- (invoke "pytest" "-vv" "tests")
- (format #t "test suite not run~%")))))))
+ (list #:test-flags #~(list "tests")))
(native-inputs
- ;; For tests.
- (list python-requests-mock python-pytest))
+ (list python-pytest
+ python-requests-mock
+ python-setuptools))
(propagated-inputs
- (list python-packaging python-requests))
+ (list python-packaging
+ python-requests))
+ (home-page "https://github.com/lukecyca/pyzabbix")
(synopsis "Python interface to the Zabbix API")
(description
"@code{pyzabbix} is a Python module for working with the Zabbix API.")