mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
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>
This commit is contained in:
committed by
Sharlatan Hellseher
parent
899897b6fc
commit
da57db01a3
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user