diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-11-03 20:24:02 +0000 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-11-04 10:50:02 +0000 |
| commit | f3e1cf830ee6efd974d9c7a7ad18f18988a6ce79 (patch) | |
| tree | e6de8d9b8a8ca2e9554b71a7c74c75a573c2a28a | |
| parent | 2b82e6debb910bba27fb2f8f49208406aa3673c6 (diff) | |
gnu: glances: Switch to custom test-backend.
* gnu/packages/python-xyz.scm (glances)[arguments] <test-backend,
test-flags>: Use custom.
<phases>: Use default 'check.
Change-Id: I992dbc8c2068352680a7c542953339aef94c7f5e
| -rw-r--r-- | gnu/packages/python-xyz.scm | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 676bf23cef5..a58df67a5f9 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 |
