[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
96/163: gnu: entangle: Wrap with the new Guix PYTHONPATH.
From: |
guix-commits |
Subject: |
96/163: gnu: entangle: Wrap with the new Guix PYTHONPATH. |
Date: |
Mon, 25 Jan 2021 02:01:42 -0500 (EST) |
apteryx pushed a commit to branch cu/farewell-to-pythonpath
in repository guix.
commit dd3ca5355b9d702d5126a13c646bad5a198b8c19
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sat Jan 23 23:14:44 2021 -0500
gnu: entangle: Wrap with the new Guix PYTHONPATH.
* gnu/packages/photo.scm (entangle)[phases]: Remove trailing #t.
{wrap-gi-python}: Wrap with the new Guix PYTHONPATH.
---
gnu/packages/photo.scm | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/photo.scm b/gnu/packages/photo.scm
index 89fd900..87edaf9 100644
--- a/gnu/packages/photo.scm
+++ b/gnu/packages/photo.scm
@@ -640,25 +640,28 @@ such as Batch image processing.")
(base32 "1pdmgxjdb3xlcqsaz7l8qzj5f7g7nwzhsrgid8929bm36d49cgc7"))))
(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 'unpack 'skip-gtk-update-icon-cache
;; Don't create 'icon-theme.cache'.
(lambda _
(substitute* "meson_post_install.py"
- (("gtk-update-icon-cache") "true"))
- #t))
+ (("gtk-update-icon-cache") "true"))))
(add-after 'install 'wrap-gi-python
;; Make GTK find files needed by plugins.
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))
(gi-typelib-path (getenv "GI_TYPELIB_PATH"))
- (python-path (getenv "PYTHONPATH")))
+ (pythonpath (guix-pythonpath inputs)))
(wrap-program (string-append out "/bin/entangle")
`("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
- `("PYTHONPATH" ":" prefix (,python-path))))
- #t)))))
+ `(,pythonpath ":" prefix (,(getenv pythonpath))))))))))
(native-inputs
`(("cmake" ,cmake)
("gettext" ,gettext-minimal)
- 20/163: gnu: gess: Adjust to use Guix PYTHONPATH., (continued)
- 20/163: gnu: gess: Adjust to use Guix PYTHONPATH., guix-commits, 2021/01/25
- 23/163: gnu: find-circ: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 17/163: gnu: bamm: Update following changes to the Python build system., guix-commits, 2021/01/25
- 28/163: gnu: python-cffi: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 46/163: gnu: avogadro: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 33/163: gnu: python-pyhamcrest: Update to 2.0.2., guix-commits, 2021/01/25
- 52/163: gnu: ibus: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 70/163: gnu: solfege: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 101/163: gnu: presentty: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 87/163: gnu: python-fenics-dijitso: Do not alter PYTHONPATH., guix-commits, 2021/01/25
- 96/163: gnu: entangle: Wrap with the new Guix PYTHONPATH.,
guix-commits <=
- 85/163: gnu: units: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 84/163: gnu: glimpse: Use the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 103/163: gnu: python-pytest-isort: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 107/163: gnu: rhythmbox: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 127/163: gnu: python-aenum: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 133/163: gnu: python-pygithub: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 26/163: gnu: python-xmlschema: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 57/163: gnu: python-pytest-django: Do not alter PYTHONPATH., guix-commits, 2021/01/25
- 55/163: gnu: ibus-libhangul: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 42/163: gnu: tensorflow: Do not alter PYTHONPATH., guix-commits, 2021/01/25