[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/06: gnu: python-pyqt-4: Use 'modify-phases' syntax.
From: |
Efraim Flashner |
Subject: |
04/06: gnu: python-pyqt-4: Use 'modify-phases' syntax. |
Date: |
Mon, 12 Dec 2016 14:45:56 +0000 (UTC) |
efraim pushed a commit to branch master
in repository guix.
commit f9513086c4653d8fe99ab70c2df413bbda173a42
Author: Efraim Flashner <address@hidden>
Date: Sun Dec 11 22:10:43 2016 +0200
gnu: python-pyqt-4: Use 'modify-phases' syntax.
* gnu/packages/qt.scm (python-pyqt-4)[arguments]: Use 'modify-phases'
syntax.
---
gnu/packages/qt.scm | 43 +++++++++++++++++++++----------------------
1 file changed, 21 insertions(+), 22 deletions(-)
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index f3ad193..398a837 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -1084,28 +1084,27 @@ contain over 620 classes.")
#:modules ((srfi srfi-1)
,@%gnu-build-system-modules)
#:phases
- (alist-replace
- 'configure
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (bin (string-append out "/bin"))
- (sip (string-append out "/share/sip"))
- (python (assoc-ref inputs "python"))
- (python-version
- (last (string-split python #\-)))
- (python-major+minor
- (string-join
- (take (string-split python-version #\.) 2)
- "."))
- (lib (string-append out "/lib/python"
- python-major+minor
- "/site-packages")))
- (zero? (system* "python" "configure.py"
- "--confirm-license"
- "--bindir" bin
- "--destdir" lib
- "--sipdir" sip))))
- %standard-phases)))
+ (modify-phases %standard-phases
+ (replace 'configure
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (bin (string-append out "/bin"))
+ (sip (string-append out "/share/sip"))
+ (python (assoc-ref inputs "python"))
+ (python-version
+ (last (string-split python #\-)))
+ (python-major+minor
+ (string-join
+ (take (string-split python-version #\.) 2)
+ "."))
+ (lib (string-append out "/lib/python"
+ python-major+minor
+ "/site-packages")))
+ (zero? (system* "python" "configure.py"
+ "--confirm-license"
+ "--bindir" bin
+ "--destdir" lib
+ "--sipdir" sip))))))))
(license (list license:gpl2 license:gpl3)))) ; choice of either license
(define-public python2-pyqt-4
- branch master updated (2df3d14 -> 987ad88), Efraim Flashner, 2016/12/12
- 03/06: gnu: address@hidden: Remove variable., Efraim Flashner, 2016/12/12
- 01/06: gnu: python-pyqt: Build with more qt modules., Efraim Flashner, 2016/12/12
- 06/06: gnu: calibre: Update to 2.74.0., Efraim Flashner, 2016/12/12
- 05/06: gnu: python-sip: Update to 4.18.1., Efraim Flashner, 2016/12/12
- 02/06: gnu: calibre: Update qt dependancies., Efraim Flashner, 2016/12/12
- 04/06: gnu: python-pyqt-4: Use 'modify-phases' syntax.,
Efraim Flashner <=