[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
41/163: gnu: blanket: Wrap with the new Guix PYTHONPATH.
From: |
guix-commits |
Subject: |
41/163: gnu: blanket: Wrap with the new Guix PYTHONPATH. |
Date: |
Mon, 25 Jan 2021 02:01:25 -0500 (EST) |
apteryx pushed a commit to branch cu/farewell-to-pythonpath
in repository guix.
commit 84033438fd5d1d14fdcf95133f9ecf139269223e
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Jan 22 23:00:54 2021 -0500
gnu: blanket: Wrap with the new Guix PYTHONPATH.
* gnu/packages/task-management.scm (blanket)[phases]{wrap-libs}: Wrap with
the
new Guix PYTHONPATH. Delete trailing #t.
---
gnu/packages/task-management.scm | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/task-management.scm b/gnu/packages/task-management.scm
index 3c0efe1..5a0b9c9 100644
--- a/gnu/packages/task-management.scm
+++ b/gnu/packages/task-management.scm
@@ -1,6 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015 Tomáš Čech <sleep_walker@suse.cz>
;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
+;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -87,21 +88,25 @@ and querying data, exposing task data in multiple formats
to other tools.")
(base32 "13xip9b2p2ai2jchkck71c849s2rlxzfvlbsgpraw9hswi0rk0jg"))))
(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
#:tests? #f ;the "Validate appstream file" test fails
#:phases
(modify-phases %standard-phases
(add-after 'wrap 'wrap-libs
- (lambda* (#:key outputs #:allow-other-keys)
+ (lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(gi-typelib-path (getenv "GI_TYPELIB_PATH"))
(gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
- (python-path (getenv "PYTHONPATH")))
+ (pythonpath (guix-pythonpath inputs)))
(wrap-program (string-append out "/bin/blanket")
`("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
`("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
- `("PYTHONPATH" ":" prefix (,python-path))))
- #t)))))
+ `(,pythonpath ":" prefix (,(getenv pythonpath))))))))))
(native-inputs
`(("desktop-file-utils" ,desktop-file-utils)
("gettext" ,gettext-minimal)
- 03/163: build/python: Add a new guix-pythonpath procedure., (continued)
- 03/163: build/python: Add a new guix-pythonpath procedure., guix-commits, 2021/01/25
- 22/163: gnu: python-scanpy: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 21/163: gnu: filtlong: Adjust wrap phase., guix-commits, 2021/01/25
- 24/163: gnu: cdemu-client: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 25/163: gnu: python-loompy: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 54/163: gnu: ibus-anty: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 58/163: gnu: python-django-contact-form: Do not alter PYTHONPATH., guix-commits, 2021/01/25
- 65/163: gnu: kicad: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 62/163: gnu: python-django-statici18n: Do not read PYTHONPATH., guix-commits, 2021/01/25
- 35/163: gnu: gitless: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 41/163: gnu: blanket: Wrap with the new Guix PYTHONPATH.,
guix-commits <=
- 71/163: gnu: notifymuch: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 97/163: gnu: 389-ds-base: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 104/163: gnu: python-pynacl: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 90/163: gnu: python-fenics-ffc: Do not alter PYTHONPATH., guix-commits, 2021/01/25
- 81/163: gnu: kajongg: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 110/163: gnu: gedit: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 109/163: gnu: d-feet: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 77/163: gnu: meson: Update to 0.56.2., guix-commits, 2021/01/25
- 112/163: gnu: gnome-shell: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 106/163: gnu: gtg: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25