From f3e1cf830ee6efd974d9c7a7ad18f18988a6ce79 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Mon, 3 Nov 2025 20:24:02 +0000 Subject: [PATCH] gnu: glances: Switch to custom test-backend. * gnu/packages/python-xyz.scm (glances)[arguments] : Use custom. : Use default 'check. Change-Id: I992dbc8c2068352680a7c542953339aef94c7f5e --- gnu/packages/python-xyz.scm | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 676bf23cef54e76bee2cea7eaabe81d8a97dfde9..a58df67a5f965c7038c5f18e7b6498bd61ceccac 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -23656,6 +23656,8 @@ numbers, real numbers, mixed types and more, and comes with a shell command (build-system pyproject-build-system) (arguments (list + #:test-backend #~'custom + #:test-flags #~(list "unittest-core.py") #:phases #~(modify-phases %standard-phases (add-after 'unpack 'disable-update-checks @@ -23665,12 +23667,7 @@ numbers, real numbers, mixed types and more, and comes with a shell command (substitute* "glances/outdated.py" (("^(.*)self\\.load_config\\(config\\)\n" line indentation) (string-append indentation - "self.args.disable_check_update = True\n" line))))) - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - ;; XXX: Taken from tox.ini. - (invoke "python" "unittest-core.py"))))))) + "self.args.disable_check_update = True\n" line)))))))) (native-inputs (list python-pytest python-setuptools)) (propagated-inputs (list python-defusedxml python-jinja2