guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit 270eb9572818eee98f890496977470e9a6a7a49b
Author: Nicolas Graves <[email protected]>
AuthorDate: Wed Jan 28 10:11:08 2026 +0100
gnu: libaccounts-glib: Switch to pyproject.
* gnu/packages/glib.scm (libaccounts-glib):
[arguments]<#:imported-modules, #:modules, #:configure-flags>: Switch
to pyproject-build-system.
Change-Id: Icb5413c16af9be128fdb367c77f1700189aee36d
Modified-by: Sharlatan Hellseher <[email protected]>
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/glib.scm | 15 ++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index 2e3b6ea9b0..dcc550a888 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -85,7 +85,7 @@
#:use-module (guix build-system cmake)
#:use-module (guix build-system meson)
#:use-module (guix build-system perl)
- #:use-module (guix build-system python)
+ #:use-module (guix build-system pyproject)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module ((guix licenses) #:prefix license:)
@@ -854,19 +854,16 @@ by GDBus included in Glib.")
(arguments
(list
#:tests? #f ;one test fails.
- #:imported-modules `((guix build python-build-system)
- ,@%meson-build-system-modules)
- #:modules '(((guix build python-build-system)
- #:select (python-version))
+ #:imported-modules (append %meson-build-system-modules
+ %pyproject-build-system-modules)
+ #:modules '(((guix build pyproject-build-system) #:prefix py:)
(guix build meson-build-system)
(guix build utils))
;; don't try installing to python store path.
#:configure-flags
#~(list (string-append "-Dpy-overrides-dir="
- #$output "/lib/python"
- (python-version #$(this-package-input
- "python"))
- "/site-packages/gi/overrides"))
+ (py:site-packages %build-inputs %outputs)
+ "/gi/overrides"))
#:phases
#~(modify-phases %standard-phases
(replace 'check