[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
49/97: gnu: vdirsyncer: Fix build by setting correct PYTHONPATH.
From: |
Hartmut Goebel |
Subject: |
49/97: gnu: vdirsyncer: Fix build by setting correct PYTHONPATH. |
Date: |
Tue, 18 Oct 2016 20:13:19 +0000 (UTC) |
htgoebel pushed a commit to branch wip-python-build-system
in repository guix.
commit c893ae681c601c2e917747943ef2634fcab06f8c
Author: Hartmut Goebel <address@hidden>
Date: Mon Oct 10 11:03:37 2016 +0200
gnu: vdirsyncer: Fix build by setting correct PYTHONPATH.
For thus, use add-installed-pythonpath.
* gnu/packages/dav.scm (vdirsyncer): set PYTHONPATH using
add-installed-pythonpath.
---
gnu/packages/dav.scm | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/dav.scm b/gnu/packages/dav.scm
index be6c40f..d011112 100644
--- a/gnu/packages/dav.scm
+++ b/gnu/packages/dav.scm
@@ -65,11 +65,8 @@ clients.")
;; vdirsyncer requires itself to be installed in order to build
;; the manpage.
(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)
+ (add-installed-pythonpath outputs inputs)
(zero? (system* "make" "--directory=docs/" "man"))
(install-file
"docs/_build/man/vdirsyncer.1"
- 47/97: gnu: python-scipy: Fix build., (continued)
- 47/97: gnu: python-scipy: Fix build., Hartmut Goebel, 2016/10/18
- 12/97: gnu: Remove python-setuptools and python2-setuptools from inputs (part 1b), Hartmut Goebel, 2016/10/18
- 46/97: gnu: python-matplotlib: Fix build., Hartmut Goebel, 2016/10/18
- 31/97: gnu: python-ccm: Update synopsis and description., Hartmut Goebel, 2016/10/18
- 29/97: gnu: Ensure python-cython is a native-input., Hartmut Goebel, 2016/10/18
- 35/97: gnu: python-fixture: Enable tests., Hartmut Goebel, 2016/10/18
- 36/97: gnu: python-testrepositoryfixture: Correct inputs., Hartmut Goebel, 2016/10/18
- 39/97: gnu: python-pillow: Fix build., Hartmut Goebel, 2016/10/18
- 48/97: gnu: python-ipython: Fix build, Hartmut Goebel, 2016/10/18
- 41/97: gnu: python-zope-schema: Add missing inputs., Hartmut Goebel, 2016/10/18
- 49/97: gnu: vdirsyncer: Fix build by setting correct PYTHONPATH.,
Hartmut Goebel <=
- 27/97: some inputs -> propagated-inputs, Hartmut Goebel, 2016/10/18
- 52/97: gnu: python-pandas: Fix build., Hartmut Goebel, 2016/10/18
- 56/97: gnu: python-setuptools: remove pre-built binaries from source., Hartmut Goebel, 2016/10/18
- 53/97: gnu: python-scripttest: Correct inputs., Hartmut Goebel, 2016/10/18
- 38/97: gnu: python-singledispatch: correct inputs., Hartmut Goebel, 2016/10/18
- 42/97: gnu: python-zope-testing: Remove needless input., Hartmut Goebel, 2016/10/18
- 44/97: gnu: python-fonttools: Remove intervening directory in site-packges., Hartmut Goebel, 2016/10/18
- 43/97: gnu: python2-pysnptools: Correct inputs., Hartmut Goebel, 2016/10/18
- 50/97: gnu: thefuck: Fix build., Hartmut Goebel, 2016/10/18
- 45/97: gnu: python-numpy-bootstrap, python-numpy: Fix build., Hartmut Goebel, 2016/10/18