[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
92/104: gnu: khal: Fix build.
From: |
Hartmut Goebel |
Subject: |
92/104: gnu: khal: Fix build. |
Date: |
Tue, 15 Nov 2016 21:37:08 +0000 (UTC) |
htgoebel pushed a commit to branch python-build-system
in repository guix.
commit 3221207417fa48d0b954520450980812932b804c
Author: Hartmut Goebel <address@hidden>
Date: Wed Oct 19 23:19:26 2016 +0200
gnu: khal: Fix build.
The old one was plain wrong and only worked by luck since the old
python build system did manipulate PYTHONPATH.
* gnu/packages/calendar.scm(khal)[phase manpage]: Use
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..447dcd6 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 inputs outputs)
(zero? (system* "make" "--directory=doc/" "man"))
(install-file
"doc/build/man/khal.1"
- 75/104: gnu: python-configobj: Correct inputs., (continued)
- 75/104: gnu: python-configobj: Correct inputs., Hartmut Goebel, 2016/11/15
- 76/104: gnu: python-zope-security: Correct inputs., Hartmut Goebel, 2016/11/15
- 55/104: gnu: python-setuptools: remove pre-built binaries from source., Hartmut Goebel, 2016/11/15
- 72/104: gnu: python-pathpy: Build documentation., Hartmut Goebel, 2016/11/15
- 77/104: gnu: python-websocket-client: Correct inputs., Hartmut Goebel, 2016/11/15
- 83/104: gnu: python-sphinx-repoze-autointerface: Remove needless input., Hartmut Goebel, 2016/11/15
- 81/104: gnu: Remove some outdated comments., Hartmut Goebel, 2016/11/15
- 85/104: gnu: python-responses: Correct inputs, Hartmut Goebel, 2016/11/15
- 82/104: gnu: python-celery: Remove needless inputs., Hartmut Goebel, 2016/11/15
- 88/104: gnu: python-freezegun: Correct input., Hartmut Goebel, 2016/11/15
- 92/104: gnu: khal: Fix build.,
Hartmut Goebel <=
- 95/104: gnu: python-pytest-django: Remove needless propagated input "python-py"., Hartmut Goebel, 2016/11/15
- 93/104: gnu: python2-warpedlmm: Remove phase remove-bin-directory., Hartmut Goebel, 2016/11/15
- 90/104: gnu: python-sphinxcontrib-newsfeed: Remove needless input., Hartmut Goebel, 2016/11/15
- 97/104: gnu: python-flake8-2.2.4: Remove python byte-code files from source., Hartmut Goebel, 2016/11/15
- 98/104: gnu: python-tables: Remove python byte-code files from source., Hartmut Goebel, 2016/11/15
- 101/104: gnu: python2-ipython: fix inputs., Hartmut Goebel, 2016/11/15
- 94/104: gnu: python2-pbcore: Fix inputs:, Hartmut Goebel, 2016/11/15
- 102/104: gnu: python-pip: fix inputs., Hartmut Goebel, 2016/11/15
- 104/104: gnu: python-awscli: fix inputs., Hartmut Goebel, 2016/11/15
- 14/104: gnu: Remove python-setuptools and python2-setuptools from inputs (part 2), Hartmut Goebel, 2016/11/15