mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-lit: Switch to pyproject-build-system.
* gnu/packages/check.scm (python-lit): [build-system]: Use pyproject. [arguments]: Utilize <test-backend> and <test-flags> instead of overwriting 'check phase. [native-inputs]: Add python-setuptools. Change-Id: I606a34a54047d86b95af652aa87d408f127a1bb2
This commit is contained in:
parent
2acaa0212e
commit
64ba2f63c3
1 changed files with 7 additions and 11 deletions
|
@ -2836,18 +2836,14 @@ seamlessly into your existing Python unit testing work flow.")
|
|||
(method url-fetch)
|
||||
(uri (pypi-uri "lit" version))
|
||||
(sha256
|
||||
(base32
|
||||
"1nsf3ikvlgvqqf185yz5smkvw0268jipdvady0qfh6llhshp9ha7"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(invoke "python" "lit.py" "tests")))))))
|
||||
(base32 "1nsf3ikvlgvqqf185yz5smkvw0268jipdvady0qfh6llhshp9ha7"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments (list #:test-backend #~'custom
|
||||
#:test-flags #~(list "lit.py" "tests")))
|
||||
;; This can be built with any version of llvm.
|
||||
(native-inputs (list llvm))
|
||||
(native-inputs
|
||||
(list llvm
|
||||
python-setuptools))
|
||||
(home-page "https://llvm.org/")
|
||||
(synopsis "LLVM Software Testing Tool")
|
||||
(description "@code{lit} is a portable tool for executing LLVM and Clang
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue