[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: |
Thu, 13 Oct 2016 15:20:35 +0000 (UTC) |
htgoebel pushed a commit to branch wip-python-build-system
in repository guix.
commit 229fb47d642b57d9d5ebcb94fd8e17a84bdbbff3
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"
- 38/57: gnu: python-pytest-flakes: Fix build., (continued)
- 38/57: gnu: python-pytest-flakes: Fix build., Hartmut Goebel, 2016/10/13
- 28/57: gnu: python-ccm: Add missing input python-psutil., Hartmut Goebel, 2016/10/13
- 51/57: gnu: python-scripttest: Correct inputs., Hartmut Goebel, 2016/10/13
- 16/57: gnu: Remove work-arounds for bug 20765 (ensure uncompressed eggs)., Hartmut Goebel, 2016/10/13
- 56/57: gnu: pytest-mock: remove needless propagated input "python-py"., Hartmut Goebel, 2016/10/13
- 54/57: gnu: python-setuptools: remove pre-built binaries from source., Hartmut Goebel, 2016/10/13
- 50/57: gnu: python-pandas: Fix build., Hartmut Goebel, 2016/10/13
- 09/57: gnu: Remove python-setuptools and python2-setuptools from inputs (part 1a), Hartmut Goebel, 2016/10/13
- 14/57: gnu: Remove python-setuptools and python2-setuptools from inputs (part 4b), Hartmut Goebel, 2016/10/13
- 25/57: some inputs -> propagated-inputs, Hartmut Goebel, 2016/10/13
- 47/57: gnu: vdirsyncer: Fix build by setting correct PYTHONPATH.,
Hartmut Goebel <=
- 10/57: gnu: Remove python-setuptools and python2-setuptools from inputs (part 1b), Hartmut Goebel, 2016/10/13
- 12/57: gnu: Remove python-setuptools and python2-setuptools from inputs (part 3), Hartmut Goebel, 2016/10/13
- 23/57: inputs -> propagated-inputs: special, Hartmut Goebel, 2016/10/13
- 24/57: gnu: python-sphinx-rtd-theme: Remove inputs., Hartmut Goebel, 2016/10/13
- 26/57: make native-inputs: simple ones: one nose, docuitls, phinx, tests, …, Hartmut Goebel, 2016/10/13
- 37/57: gnu: python-pillow: Fix build., Hartmut Goebel, 2016/10/13
- 40/57: gnu: python-zope-testing: Remove needless input., Hartmut Goebel, 2016/10/13
- 43/57: gnu: python-numpy-bootstrap, python-numpy: Fix build., Hartmut Goebel, 2016/10/13
- 49/57: gnu: openstack: Correct inputs., Hartmut Goebel, 2016/10/13
- 35/57: gnu: python-pbr: Rework bootstrapping., Hartmut Goebel, 2016/10/13