diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-05 14:24:51 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-05 17:09:09 +0100 |
| commit | d2be5c1661e34a298fd6827c2292f3e645b6b005 (patch) | |
| tree | 48ffaf2b375e06b3e26a0652d927883317e4e9fe /gnu/packages/python-xyz.scm | |
| parent | 635f786f2a66466908fea69334cf1cd9e206d621 (diff) | |
gnu: python-waf: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-waf)[buld-system]: Switch to
pyproject-build-system.
[arguments] <test-backend>: Use 'custom.
<test-flags>: Move them from custom 'check here.
<phases>: Use default 'check.
Change-Id: I8c3dd383dba774a54f44b725e9b63f35287f4374
Diffstat (limited to 'gnu/packages/python-xyz.scm')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index ee6ceb7dac..78caacf10f 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -16479,16 +16479,20 @@ Python 2 and Python 3.") (define-public python-waf (package (name "python-waf") - (version "2.0.19") + (version "2.0.19") ;TODO: newer version brakes API (source (origin (method url-fetch) (uri (string-append "https://waf.io/" "waf-" version ".tar.bz2")) (sha256 (base32 "19dvqbsvxz7ch03dh1v0znklrwxlz6yzddc3k9smzrrgny4jch6q")))) - (build-system python-build-system) + (build-system pyproject-build-system) (arguments (list + #:test-backend #~'custom + ;; TODO: Project provides integration tests, see + ;; <.pipelines/Jenkinsfile> how to run them. + #:test-flags #~(list "waf" "--version") #:phases #~(modify-phases %standard-phases (replace 'build @@ -16496,11 +16500,7 @@ Python 2 and Python 3.") ;; XXX: Find a way to add all extra tools. (let ((tools '("gccdeps" "clang_compilation_database"))) (invoke "python" "waf-light" "configure" "build" - (string-append "--tools=" - (string-join tools ",")))))) - (replace 'check - (lambda _ - (invoke "python" "waf" "--version"))) + (string-append "--tools=" (string-join tools ",")))))) (replace 'install (lambda _ (install-file "waf" (string-append #$output "/bin")))) |
