diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2016-12-11 22:10:43 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2016-12-12 16:14:30 +0200 |
commit | f9513086c4653d8fe99ab70c2df413bbda173a42 (patch) | |
tree | a098070d300d140f045138c6bf7ed036531eaa51 | |
parent | a0bc2d45ebb2ba527ab556639d327d230147fcf9 (diff) | |
download | patches-f9513086c4653d8fe99ab70c2df413bbda173a42.tar patches-f9513086c4653d8fe99ab70c2df413bbda173a42.tar.gz |
gnu: python-pyqt-4: Use 'modify-phases' syntax.
* gnu/packages/qt.scm (python-pyqt-4)[arguments]: Use 'modify-phases'
syntax.
-rw-r--r-- | gnu/packages/qt.scm | 43 |
1 files changed, 21 insertions, 22 deletions
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index f3ad193472..398a837e1f 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 |