[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
115/163: gnu: orca: Wrap with the new Guix PYTHONPATH.
From: |
guix-commits |
Subject: |
115/163: gnu: orca: 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 a0431c1d9b4a5a2c899d53efed566347d578b6cd
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Jan 24 00:13:59 2021 -0500
gnu: orca: Wrap with the new Guix PYTHONPATH.
* gnu/packages/gnome.scm (orca): Delete trailing #t.
[arguments]: Import and use the (guix build python-build-system) module.
[phases]{wrap-orca}: Wrap with the new Guix PYTHONPATH.
---
gnu/packages/gnome.scm | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index b2d55b6..fe1795e 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -10041,27 +10041,30 @@ accessibility infrastructure.")
"1q38n7hyshkiszmn361skxjynxr31lcms7a1iny6d0zlpmh1vnk4"))))
(build-system glib-or-gtk-build-system)
(arguments
- '(#:phases
+ '(#:imported-modules ,(cons '(guix build python-build-system)
+ %glib-or-gtk-build-system-modules)
+ #:modules ((guix build glib-or-gtk-build-system)
+ ((guix build python-build-system) #:select (guix-pythonpath))
+ (guix build utils))
+ #:phases
(modify-phases %standard-phases
(add-before 'configure 'qualify-xkbcomp
(lambda* (#:key inputs #:allow-other-keys)
(let ((xkbcomp (string-append
(assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
(substitute* "src/orca/orca.py"
- (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
- #t))
+ (("'xkbcomp'") (format #f "'~a'" xkbcomp))))))
(add-after 'install 'wrap-orca
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
- (prog (string-append out "/bin/orca")))
+ (prog (string-append out "/bin/orca"))
+ (pythonpath (guix-pythonpath inputs)))
(wrap-program prog
`("GI_TYPELIB_PATH" ":" prefix
(,(getenv "GI_TYPELIB_PATH")))
`("GST_PLUGIN_SYSTEM_PATH" ":" prefix
(,(getenv "GST_PLUGIN_SYSTEM_PATH")))
- `("PYTHONPATH" ":" prefix
- (,(getenv "PYTHONPATH")))))
- #t)))))
+ `(,pythonpath ":" prefix (,(getenv pythonpath))))))))))
(native-inputs
`(("intltool" ,intltool)
("itstool" ,itstool)
- 145/163: gnu: python-natsort: Do not set PYTHONPATH., (continued)
- 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
- 152/163: gnu: python-flasgger: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 153/163: gnu: python2-send2trash: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 155/163: gnu: python-asgiref: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 156/163: gnu: python-aws-xray-sdk: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 160/163: gnu: python-flask: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 162/163: gnu: python-webassets: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 147/163: gnu: python-pyelftools: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 115/163: gnu: orca: Wrap with the new Guix PYTHONPATH.,
guix-commits <=
- 82/163: gnu: inkscape-1.0: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 114/163: gnu: gnome-todo: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 123/163: gnu: python-typed-ast: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 137/163: gnu: python-flake8-polyfill: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 138/163: gnu: python-msgpack: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 19/163: gnu: python-screed: Adjust following Python build system changes., guix-commits, 2021/01/25
- 43/163: gnu: ghmm: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 67/163: gnu: freecad: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 61/163: gnu: python-django-appconf: Do not alter PYTHONPATH., guix-commits, 2021/01/25
- 40/163: gnu: manuskript: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25