diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-06-15 15:00:25 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-06-20 15:08:08 +0100 |
| commit | f518d515f4f2b8a12b781c86bee0058a009e954a (patch) | |
| tree | a0ff784aaf4f518e9e7d7e24d4bc1b5fe2b9b4c9 /gnu | |
| parent | 277d5449097a4acddc7aa224f8f89be373bc8f24 (diff) | |
gnu: scons: Switch to pyproject-build-system.
* gnu/packages/build-tools.scm
(scons)[build-system, arguments]: Switch to pyproject-build-system.
(scons-3)[arguments]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools, python-wheel.
Change-Id: I1bd49c417eae0925c2c60e0cc528b9537c7ca743
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/build-tools.scm | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm index 15bb8b9f743..002d4b2bf16 100644 --- a/gnu/packages/build-tools.scm +++ b/gnu/packages/build-tools.scm @@ -522,13 +522,13 @@ other lower-level build files."))) (sha256 (base32 "1h9653965bqf8zab4gbsilsmnhp6nxn5b5b9yvm6pf401qjx8n4x")))) - (build-system python-build-system) + (build-system pyproject-build-system) (arguments (list - #:modules (append %python-build-system-modules + #:modules (append %pyproject-build-system-modules '((ice-9 ftw) (srfi srfi-26))) #:phases - #~(modify-phases (@ (guix build python-build-system) %standard-phases) + #~(modify-phases (@ (guix build pyproject-build-system) %standard-phases) (add-after 'unpack 'adjust-hard-coded-paths (lambda _ (substitute* "SCons/Script/Main.py" @@ -583,7 +583,6 @@ software.") (base32 "0q6xq2y280fci3kay1z6638v7sv5p43vs7lsl1rrkgmxpwvkhx8b")))) (arguments (list - #:use-setuptools? #f ; still relies on distutils #:tests? #f ; no 'python setup.py test' command #:phases #~(modify-phases %standard-phases @@ -591,7 +590,7 @@ software.") (lambda _ (invoke "python" "bootstrap.py" "build/scons" "DEVELOPER=guix") (chdir "build/scons")))))) - (native-inputs '()))) + (native-inputs (list python-setuptools python-wheel)))) (define-public scons-python2 (package |
