From 6e8783723a73293752dad4ee79b14828e2b58b45 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Wed, 25 Mar 2026 23:28:19 +0000 Subject: [PATCH] gnu: packages: Remove python-build-system comments. Rephrase or remove comments completely mentioning python-build-system to prepare it for depreciation. It helps to search code for the rest relevant entries of python-build-system. Change-Id: I98ee81b4b0e0f826fd236fec20e77546e1567f80 --- gnu/packages/build-tools.scm | 5 ++--- gnu/packages/documentation.scm | 5 ++--- gnu/packages/mail.scm | 2 -- gnu/packages/mpd.scm | 1 - gnu/packages/python-build.scm | 6 +++--- gnu/packages/python-xyz.scm | 1 - gnu/packages/selinux.scm | 1 - gnu/packages/virtualization.scm | 3 --- gnu/packages/xml.scm | 5 ++--- 9 files changed, 9 insertions(+), 20 deletions(-) diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm index 585e3ec2aa..59406efb7b 100644 --- a/gnu/packages/build-tools.scm +++ b/gnu/packages/build-tools.scm @@ -430,9 +430,8 @@ files and generates build instructions for the Ninja build system.") (arguments (list #:tests? #f ;disabled to avoid extra dependencies - ;; Essentially a lighter copy of the former python-build-system. - ;; Using it rather than pyproject-build-system allows to edit the latter - ;; without a C++ world rebuild. + ;; Custom build steps to prevent using pyproject-build-system which + ;; allows to edit the latter without a C++ world rebuild. #:phases #~(modify-phases %standard-phases (delete 'bootstrap) diff --git a/gnu/packages/documentation.scm b/gnu/packages/documentation.scm index abf05b03ad..0683748d07 100644 --- a/gnu/packages/documentation.scm +++ b/gnu/packages/documentation.scm @@ -468,9 +468,8 @@ inspired by Dash.") (build-system gnu-build-system) (arguments (list - ;; Essentially a lighter copy of the former python-build-system. - ;; Using it rather than pyproject-build-system allows to edit the latter - ;; without a texlive + haskell world rebuild. + ;; Custom build steps to prevent using pyproject-build-system which + ;; allows to edit the latter without a texlive + haskell world rebuild. #:phases #~(modify-phases %standard-phases (delete 'bootstrap) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index e7628251da..ab4727da05 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -1730,8 +1730,6 @@ and search library.") ;; tree, so chdir into it before building. (add-after 'unpack 'enter-python-dir (lambda _ (chdir "bindings/python-cffi"))) - ;; python-build-system does not invoke the configure script - ;; so _notmuch_config.py is missing (add-after 'enter-python-dir 'create-notmuch-config (lambda* (#:key inputs #:allow-other-keys) (with-output-to-file "_notmuch_config.py" diff --git a/gnu/packages/mpd.scm b/gnu/packages/mpd.scm index 57252099cf..9650ef8d0c 100644 --- a/gnu/packages/mpd.scm +++ b/gnu/packages/mpd.scm @@ -502,7 +502,6 @@ other MPD frontends.") (base32 "17ys8ccr3h6vix0agvhz859slz0phhk7lwqn5bg4az8s7zgqm3nm")))) (build-system gnu-build-system) - ;; Manually wrap the binary, because we’re not using python-build-system. (arguments (list #:phases diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm index 8a699b3db0..72e9645e73 100644 --- a/gnu/packages/python-build.scm +++ b/gnu/packages/python-build.scm @@ -834,9 +834,9 @@ facilitate packaging Python projects, where packaging includes: (arguments (list #:tests? #f ;disabled to avoid extra dependencies - ;; Essentially a lighter copy of the former python-build-system. - ;; Using it rather than pyproject-build-system allows to edit the latter - ;; without a world rebuild (for the meson package in particular). + ;; Custom build steps to prevent using pyproject-build-system which + ;; allows to edit the latter without a world rebuild (for the meson + ;; package in particular). #:phases #~(modify-phases %standard-phases (delete 'bootstrap) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 80c9a62080..ac29e32520 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -5762,7 +5762,6 @@ Unicode-to-LaTeX conversion.") (sha256 (base32 "03gyss1rhj4in7pgysg4q0hxp3230whinlpy1532ljs99lrx0ywx")))) - ;(build-system python-build-system) (arguments '(#:phases (modify-phases %standard-phases diff --git a/gnu/packages/selinux.scm b/gnu/packages/selinux.scm index 071b295e56..c33be69e9e 100644 --- a/gnu/packages/selinux.scm +++ b/gnu/packages/selinux.scm @@ -271,7 +271,6 @@ binary policies.") (add-after 'enter-dir 'fix-target-path (lambda* (#:key inputs #:allow-other-keys) (let ((get-python-version - ;; FIXME: copied from python-build-system (lambda (python) (let* ((version (last (string-split python #\-))) (components (string-split version #\.)) diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index ceb17701dd..ddf84b0367 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -1075,9 +1075,6 @@ firmware blobs. You can ((commands ... prog) (cons (basename prog) progs)))) (loop (read-line port) progs))))))))))) - ;; Wrap all executables with GUIX_PYTHONPATH. We can't borrow - ;; the phase from python-build-system because we also need to wrap - ;; the scripts in $out/lib/ganeti such as "node-daemon-setup". (add-after 'install 'wrap (lambda* (#:key inputs outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index 6a9f76fd2c..c0935f7cea 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -1998,9 +1998,8 @@ libxml2 and libxslt.") (build-system gnu-build-system) (arguments (list - ;; Essentially a lighter copy of the former python-build-system. - ;; Using it rather than pyproject-build-system allows to edit the latter - ;; without a texlive + haskell world rebuild. + ;; Custom build steps to prevent using pyproject-build-system which + ;; allows to edit the latter without a texlive + haskell world rebuild. #:test-target "test" #:phases #~(modify-phases %standard-phases