diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-14 21:15:48 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-25 09:35:39 +0100 |
| commit | 1f549f87b759892198b71e083b90b7e3d951b764 (patch) | |
| tree | f5e5416d72b7bf30293a9631d90ffd6ec83ec929 | |
| parent | 51d8cc8029f4aed55dabbec2b2c6596e66531ac4 (diff) | |
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
| -rw-r--r-- | gnu/packages/check.scm | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index ebc78ee4ae..befe874f0e 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -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 |
