summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-09-20 17:25:48 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-20 19:27:03 +0100
commit0f7eb28b67b729017081ef38c17e80c2d44b7a96 (patch)
tree987b22af27940c0334597c679d30c27b384ec75a
parent2be32095a8e752dc39d6fc5b3c3e4c62beb34275 (diff)
gnu: python-isal: Set unittest test-backend.
* gnu/packages/python-compression.scm (python-isal) [source]<snippet>: Improve style, use G-expressions. [arguments]<#:test-backend>: Set it. <#:phases>: Improve style. Change-Id: I8d05af8720f6fcd31aae0b83a70efc8dfd6e4e9f Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/python-compression.scm13
1 files changed, 8 insertions, 5 deletions
diff --git a/gnu/packages/python-compression.scm b/gnu/packages/python-compression.scm
index 1ae2643270..b5db28d6eb 100644
--- a/gnu/packages/python-compression.scm
+++ b/gnu/packages/python-compression.scm
@@ -467,13 +467,16 @@ compression algorithm.")
;; Remove bundled isa-l source code
(modules '((guix build utils)))
(snippet
- '(delete-file-recursively "src/isal/isa-l"))))
+ #~(delete-file-recursively "src/isal/isa-l"))))
(build-system pyproject-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'use-dynamic-linking
- (lambda _ (setenv "PYTHON_ISAL_LINK_DYNAMIC" "1"))))))
+ (list
+ #:test-backend #~'unittest
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'use-dynamic-linking
+ (lambda _
+ (setenv "PYTHON_ISAL_LINK_DYNAMIC" "1"))))))
(inputs (list isa-l))
(native-inputs (list python-cython python-setuptools python-wheel))
(home-page "https://github.com/pycompression/python-isal")