gnu: scons: Update to 4.9.1.

* gnu/packages/build-tools.scm (scons): Update to 4.9.1.
[arguments]: Remove phase 'bootstrap (no longer needed).

Change-Id: I3715510c2ce4182421bcaef5145a462b854581da
This commit is contained in:
John Kehayias 2025-04-25 00:20:46 -04:00
parent 5b981a2b5c
commit b0d02a49c4
No known key found for this signature in database
GPG key ID: 499097AE5EA815D9

View file

@ -438,7 +438,7 @@ other lower-level build files.")))
(define-public scons (define-public scons
(package (package
(name "scons") (name "scons")
(version "4.5.0") (version "4.9.1")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
@ -448,7 +448,7 @@ other lower-level build files.")))
(patches (search-patches "scons-test-environment.patch")) (patches (search-patches "scons-test-environment.patch"))
(sha256 (sha256
(base32 (base32
"1skz1kzhwsp54i71jrsg46rkxwicfici7pq6qmfhlqd5zhrg21zb")))) "1h9653965bqf8zab4gbsilsmnhp6nxn5b5b9yvm6pf401qjx8n4x"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
(list (list
@ -461,11 +461,6 @@ other lower-level build files.")))
(substitute* "SCons/Script/Main.py" (substitute* "SCons/Script/Main.py"
(("/usr/share/scons") (("/usr/share/scons")
(string-append #$output "/share/scons"))))) (string-append #$output "/share/scons")))))
(add-before 'build 'bootstrap
(lambda _
;; XXX: Otherwise setup.py bdist_wheel fails.
(setenv "PYTHONPATH" (getenv "GUIX_PYTHONPATH"))
(invoke "python" "scripts/scons.py")))
(replace 'check (replace 'check
(lambda* (#:key tests? #:allow-other-keys) (lambda* (#:key tests? #:allow-other-keys)
(when tests? (when tests?