[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
47/57: gnu: vdirsyncer: Fix build by setting correct PYTHONPATH.
From: |
Hartmut Goebel |
Subject: |
47/57: gnu: vdirsyncer: Fix build by setting correct PYTHONPATH. |
Date: |
Sat, 15 Oct 2016 14:08:15 +0000 (UTC) |
htgoebel pushed a commit to branch wip-python-build-system
in repository guix.
commit bc7235a3fb43bc08dba53bb3b26f97b4a5a8c8af
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"
- 27/57: gnu: Ensure python-cython is a native-input., (continued)
- 27/57: gnu: Ensure python-cython is a native-input., Hartmut Goebel, 2016/10/15
- 26/57: make native-inputs: simple ones: one nose, docuitls, phinx, tests, …, Hartmut Goebel, 2016/10/15
- 21/57: gnu: Fix inputs in python.scm, part 2: inputs -> native-inputs., Hartmut Goebel, 2016/10/15
- 16/57: gnu: Remove work-arounds for bug 20765 (ensure uncompressed eggs)., Hartmut Goebel, 2016/10/15
- 37/57: gnu: python-pillow: Fix build., Hartmut Goebel, 2016/10/15
- 25/57: some inputs -> propagated-inputs, Hartmut Goebel, 2016/10/15
- 13/57: gnu: Remove python-setuptools and python2-setuptools from inputs (part 4a), Hartmut Goebel, 2016/10/15
- 36/57: gnu: python-singledispatch: correct inputs., Hartmut Goebel, 2016/10/15
- 39/57: gnu: python-zope-schema: Add missing inputs., Hartmut Goebel, 2016/10/15
- 40/57: gnu: python-zope-testing: Remove needless input., Hartmut Goebel, 2016/10/15
- 47/57: gnu: vdirsyncer: Fix build by setting correct PYTHONPATH.,
Hartmut Goebel <=
- 45/57: gnu: python-scipy: Fix build., Hartmut Goebel, 2016/10/15
- 49/57: gnu: openstack: Correct inputs., Hartmut Goebel, 2016/10/15
- 14/57: gnu: Remove python-setuptools and python2-setuptools from inputs (part 4b), Hartmut Goebel, 2016/10/15
- 11/57: gnu: Remove python-setuptools and python2-setuptools from inputs (part 2), Hartmut Goebel, 2016/10/15
- 41/57: gnu: python2-pysnptools: Correct inputs., Hartmut Goebel, 2016/10/15
- 46/57: gnu: python-ipython: Fix build, Hartmut Goebel, 2016/10/15
- 50/57: gnu: python-pandas: Fix build., Hartmut Goebel, 2016/10/15
- 48/57: gnu: thefuck: Fix build., Hartmut Goebel, 2016/10/15
- 35/57: gnu: python-pbr: Rework bootstrapping., Hartmut Goebel, 2016/10/15
- 51/57: gnu: python-scripttest: Correct inputs., Hartmut Goebel, 2016/10/15