summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-10-12 23:45:46 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-13 11:57:31 +0100
commitd8992ece07877b78e652e8d0f8d32c44ef6b7ac5 (patch)
tree4b6b63b6131f06769c1ed0ad7fa277c9d483e30e /gnu/packages/python-xyz.scm
parentfb7c4d8ca87c44f531f04958223142041c69947b (diff)
gnu: python-unique-log-filter: Use custom test backend.
* gnu/packages/python-xyz.scm (python-unique-log-filter)[arguments] <test-backend>: Use custom. <test-flags>: Move here from custom 'check phase. <phases>: Use default 'check. Change-Id: If27a05c0cb1ff76f98665ccc49d474d6feb8f4d6
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm12
1 files changed, 4 insertions, 8 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 6ba6a6ad1c9..6cb8c0c58e3 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -31828,22 +31828,18 @@ we can stop writing custom parsers for syslog-type records.")
(name "python-unique-log-filter")
(version "0.1.0")
(source
- ;; The version on pypi does not include test files.
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/twizmwazin/unique_log_filter")
- (commit (string-append "v" version))))
+ (url "https://github.com/twizmwazin/unique_log_filter")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "036mh6nqskck2fa1q2inasqxb9wcz2p09qcpldnnffzcy1a6kzba"))))
(build-system pyproject-build-system)
(arguments
- `(#:phases (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (invoke "python" "test_unique_log_filter.py")))))))
+ (list #:test-backend #~'custom
+ #:test-flags #~(list "test_unique_log_filter.py")))
(native-inputs (list python-flit-core))
(home-page "https://github.com/twizmwazin/unique_log_filter")
(synopsis "Log filter that removes duplicate log messages")