[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
105/163: gnu: gnome-music: Wrap with the new Guix PYTHONPATH.
From: |
guix-commits |
Subject: |
105/163: gnu: gnome-music: Wrap with the new Guix PYTHONPATH. |
Date: |
Mon, 25 Jan 2021 02:01:44 -0500 (EST) |
apteryx pushed a commit to branch cu/farewell-to-pythonpath
in repository guix.
commit a4b9d3766d712deb2b3233c2c46f9d96b46e88b2
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sat Jan 23 23:53:43 2021 -0500
gnu: gnome-music: Wrap with the new Guix PYTHONPATH.
* gnu/packages/gnome.scm (gnome-music):
[arguments]: Import and use the (guix build python-build-system) module.
[phases]{wrap-gnome-music}: Wrap with the new Guix PYTHONPATH.
---
gnu/packages/gnome.scm | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 3399b5a..fa59ef9 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -39,7 +39,7 @@
;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
;;; Copyright © 2019 Jelle Licht <jlicht@fsfe.org>
;;; Copyright © 2019 Jonathan Frederickson <jonathan@terracrypt.net>
-;;; Copyright © 2019, 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2019, 2020, 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2019, 2020 Martin Becze <mjbecze@riseup.net>
;;; Copyright © 2019 David Wilson <david@daviwil.com>
;;; Copyright © 2019, 2020 Raghav Gururajan <raghavgururajan@disroot.org>
@@ -880,23 +880,25 @@ cloud integration is offered through GNOME Online
Accounts.")
"1r5sfw5cbd6qqh27lzhblazir0bfi3k7nqppw66qw990isqm5psy"))))
(build-system meson-build-system)
(arguments
- `(#:glib-or-gtk? #t
+ `(#:imported-modules ,(cons '(guix build python-build-system)
+ %meson-build-system-modules)
+ #:modules ((guix build meson-build-system)
+ ((guix build python-build-system) #:select (guix-pythonpath))
+ (guix build utils))
+ #:glib-or-gtk? #t
#:phases
(modify-phases %standard-phases
(add-after 'install 'wrap-gnome-music
(lambda* (#:key inputs outputs #:allow-other-keys)
(let*
((out (assoc-ref outputs "out"))
- (pylib (string-append out "/lib/python"
- ,(version-major+minor
- (package-version python))
- "/site-packages")))
+ (pythonpath (guix-pythonpath inputs))
+ (site (site-packages inputs outputs)))
(wrap-program (string-append out "/bin/gnome-music")
`("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))
`("GST_PLUGIN_SYSTEM_PATH" = (,(getenv
"GST_PLUGIN_SYSTEM_PATH")))
`("GRL_PLUGIN_PATH" = (,(getenv "GRL_PLUGIN_PATH")))
- `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))))
- #t)))))
+ `(,pythonpath = (,(getenv pythonpath) ,site)))))))))
(native-inputs
`(("desktop-file-utils" ,desktop-file-utils)
("gettext" ,gettext-minimal)
- 72/163: gnu: python-hyperkitty: Do not set PYTHONPATH., (continued)
- 72/163: gnu: python-hyperkitty: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 79/163: gnu: gdk-pixbuf: Update to 2.42.2., guix-commits, 2021/01/25
- 142/163: gnu: python-libcst: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 140/163: gnu: python-tblib: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 158/163: gnu: python-jsonpickle: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 159/163: gnu: python-databricks-cli: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 161/163: gnu: python-flask-wtf: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 49/163: gnu: cups: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 75/163: gnu: roguebox-adventures: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 89/163: gnu: python-fenics-fiat: Do not alter PYTHONPATH., guix-commits, 2021/01/25
- 105/163: gnu: gnome-music: Wrap with the new Guix PYTHONPATH.,
guix-commits <=
- 93/163: gnu: byobu: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 99/163: gnu: pagekit: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 98/163: gnu: blueman: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 91/163: gnu: python-fenics-ffc: Do not alter PYTHONPATH., guix-commits, 2021/01/25
- 95/163: gnu: rapid-photo-downloader: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 129/163: gnu: python-jsonschema: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 128/163: gnu: python-click: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 139/163: gnu: python-moto: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 148/163: gnu: python-cheetah: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 149/163: gnu: python-pbkdf2: Do not set PYTHONPATH., guix-commits, 2021/01/25