summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm14
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"))))