[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
117/163: gnu: terminator: Wrap with the new Guix PYTHONPATH.
From: |
guix-commits |
Subject: |
117/163: gnu: terminator: Wrap with the new Guix PYTHONPATH. |
Date: |
Mon, 25 Jan 2021 02:01:48 -0500 (EST) |
apteryx pushed a commit to branch cu/farewell-to-pythonpath
in repository guix.
commit 2c23fd0cdaaa08fa3cc1b1ad42d1f73b4e40b3c4
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Jan 24 00:17:44 2021 -0500
gnu: terminator: Wrap with the new Guix PYTHONPATH.
* gnu/packages/gnome.scm (terminator): Delete trailing #t.
[arguments]: Import and use the (guix build python-build-system) module.
[phases]{wrap-program}: Wrap with the new Guix PYTHONPATH.
---
gnu/packages/gnome.scm | 17 ++++++-----------
1 file changed, 6 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 0a0a653..787da0e 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -10805,20 +10805,15 @@ advanced image management tool")
(guix build utils))
#:phases
(modify-phases %standard-phases
- (add-after
- 'install 'wrap-program
- (lambda* (#:key outputs #:allow-other-keys)
+ (add-after 'install 'wrap-program
+ (lambda* (#:key inputs outputs #:allow-other-keys)
(let ((prog (string-append (assoc-ref outputs "out")
"/bin/terminator"))
- (pylib (string-append (assoc-ref outputs "out")
- "/lib/python"
- ,(version-major+minor
- (package-version python))
- "/site-packages")))
+ (pythonpath (guix-pythonpath inputs))
+ (site (site-packages inputs outputs)))
(wrap-program prog
- `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
- `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
- #t)))
+ `(,pythonpath = (,(getenv pythonpath) ,site))
+ `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))))
(add-after 'wrap-program 'glib-or-gtk-wrap
(assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
(home-page "https://gnome-terminator.org/")
- 31/163: gnu: ganeti: Do not set PYTHONPATH., (continued)
- 31/163: gnu: ganeti: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 51/163: gnu: scanmem: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 39/163: gnu: python-libtmux: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 60/163: gnu: python-django-sortedm2m: Do not alter PYTHONPATH., guix-commits, 2021/01/25
- 47/163: gnu: ceph: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 74/163: gnu: intel-xed: Update to 12.0.1., guix-commits, 2021/01/25
- 78/163: gnu: meson-0.55: Update to 0.55.3., guix-commits, 2021/01/25
- 102/163: gnu: asymptote: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 116/163: gnu: passwordsafe: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 83/163: gnu: gimp: Use the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 117/163: gnu: terminator: Wrap with the new Guix PYTHONPATH.,
guix-commits <=
- 76/163: gnu: fifengine: Do not alter PYTHONPATH., guix-commits, 2021/01/25
- 124/163: gnu: python-colorlog: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 118/163: gnu: setzer: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 135/163: gnu: python-multidict: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 134/163: gnu: python-matplotlib-documentation: Do not read PYTHONPATH., guix-commits, 2021/01/25
- 136/163: gnu: python2-backports-shutil-get-terminal-size: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 144/163: gnu: python-odfpy: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 145/163: gnu: python-natsort: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 146/163: gnu: python-validictory: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 151/163: gnu: python-apispec: Do not set PYTHONPATH., guix-commits, 2021/01/25