[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
81/163: gnu: kajongg: Wrap with the new Guix PYTHONPATH.
From: |
guix-commits |
Subject: |
81/163: gnu: kajongg: Wrap with the new Guix PYTHONPATH. |
Date: |
Mon, 25 Jan 2021 02:01:37 -0500 (EST) |
apteryx pushed a commit to branch cu/farewell-to-pythonpath
in repository guix.
commit ec882b0c0402890eac2a6b9db59008ebd83f1f27
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sat Jan 23 22:40:34 2021 -0500
gnu: kajongg: Wrap with the new Guix PYTHONPATH.
* gnu/packages/games.scm (kajongg)
[phases]{wrap}: Wrap with the new Guix PYTHONPATH. Delete trailing #t.
---
gnu/packages/games.scm | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index b122a62..f070da6 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -10116,17 +10116,21 @@ This package is part of the KDE games module.")
(base32 "03fdbnx7zx7vgcxvwd1h1098ks9gq162bwz35fhpyzpynr667m5r"))))
(build-system qt-build-system)
(arguments
- `(#:phases
+ `(#:imported-modules ,(cons '(guix build python-build-system)
+ %qt-build-system-modules)
+ #:modules ((guix build qt-build-system)
+ ((guix build python-build-system) #:select (guix-pythonpath))
+ (guix build utils))
+ #:phases
(modify-phases %standard-phases
(add-after 'install 'wrap
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out"))
+ (pythonpath (guix-pythonpath inputs)))
(wrap-program (string-append out "/bin/kajongg")
- `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH"))))
- #t))))))
+ `(,pythonpath ":" prefix (,(getenv pythonpath))))))))))
(native-inputs
`(("extra-cmake-modules" ,extra-cmake-modules)
- ;("perl" ,perl)
("kdoctools" ,kdoctools)))
(inputs
`(("kconfig" ,kconfig)
- 54/163: gnu: ibus-anty: Wrap with the new Guix PYTHONPATH., (continued)
- 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, 2021/01/25
- 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 <=
- 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
- 111/163: gnu: caribou: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 80/163: gnu: gtk-doc: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 119/163: gnu: komikku: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 121/163: gnu: python-pathos: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 126/163: gnu: python-hdf4: Do not set PYTHONPATH., guix-commits, 2021/01/25