[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/06: khal: fix build: add-installed-pythonpath.
From: |
Hartmut Goebel |
Subject: |
01/06: khal: fix build: add-installed-pythonpath. |
Date: |
Thu, 20 Oct 2016 08:03:18 +0000 (UTC) |
htgoebel pushed a commit to branch wip-python-build-system
in repository guix.
commit c8fa9e96e318e96ab1419ec0dc877bf1eedee80a
Author: Hartmut Goebel <address@hidden>
Date: Wed Oct 19 23:19:26 2016 +0200
khal: fix build: add-installed-pythonpath.
The old one was plain wrong and only worked since the old
python-build-system did manipulate PYTHONPATH.
(khal): [phase manpage]: add-installed-pythonpath
---
gnu/packages/calendar.scm | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/calendar.scm b/gnu/packages/calendar.scm
index 306c949..59df123 100644
--- a/gnu/packages/calendar.scm
+++ b/gnu/packages/calendar.scm
@@ -96,10 +96,9 @@ data units.")
`(#:phases (modify-phases %standard-phases
;; Building the manpage requires khal to be installed.
(add-after 'install 'manpage
- (lambda* (#:key outputs #:allow-other-keys)
- (setenv "PYTHONPATH"
- (string-append
- (getenv "PYTHONPATH") ":" (assoc-ref outputs "out")))
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ ;; Make installed package available for running the tests
+ (add-installed-pythonpath outputs inputs)
(zero? (system* "make" "--directory=doc/" "man"))
(install-file
"doc/build/man/khal.1"
- branch wip-python-build-system updated (411c893 -> 8fd38f5), Hartmut Goebel, 2016/10/20
- 05/06: FIXUP pathpy: 8b86f797, Hartmut Goebel, 2016/10/20
- 03/06: FIXUP python-feedgenerator, Hartmut Goebel, 2016/10/20
- 01/06: khal: fix build: add-installed-pythonpath.,
Hartmut Goebel <=
- 02/06: FIXUP python-joblib, Hartmut Goebel, 2016/10/20
- 04/06: Fixup python-ipython: add-installed-pythonpath 6e1788e, Hartmut Goebel, 2016/10/20
- 06/06: gnu: python2-warpedlmm: Remove phase remove-bin-directory., Hartmut Goebel, 2016/10/20