[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
135/163: gnu: python-multidict: Do not set PYTHONPATH.
From: |
guix-commits |
Subject: |
135/163: gnu: python-multidict: Do not set PYTHONPATH. |
Date: |
Mon, 25 Jan 2021 02:01:55 -0500 (EST) |
apteryx pushed a commit to branch cu/farewell-to-pythonpath
in repository guix.
commit 9dfc524d45be12fdc144a717b1f799fca8c69a1c
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Jan 24 00:48:45 2021 -0500
gnu: python-multidict: Do not set PYTHONPATH.
* gnu/packages/python-xyz.scm (python-multidict)
[phases]{check}: Do not set PYTHONPATH.
---
gnu/packages/python-xyz.scm | 18 +++---------------
1 file changed, 3 insertions(+), 15 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c6b0e3c..287fdad 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -5412,24 +5412,12 @@ Python code against some of the style conventions in
"07ikq2c72kd263hpldw55y0px2l3g34hjk66ml9lryh1jv287qmf"))))
(build-system python-build-system)
(arguments
- '(#:modules ((ice-9 ftw)
- (srfi srfi-1)
- (srfi srfi-26)
- (guix build utils)
- (guix build python-build-system))
- #:phases (modify-phases %standard-phases
+ '(#:phases (modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(if tests?
- (begin
- (let ((libdir (find (cut string-prefix? "lib." <>)
- (scandir "build"))))
- (setenv "PYTHONPATH"
- (string-append "./build/" libdir ":"
- (getenv "PYTHONPATH")))
- (invoke "pytest" "-vv")))
- (format #t "test suite not run~%"))
- #t)))))
+ (invoke "pytest" "-vv")
+ (format #t "test suite not run~%")))))))
(native-inputs
`(("python-pytest" ,python-pytest)
("python-pytest-cov" ,python-pytest-cov)))
- 47/163: gnu: ceph: Wrap with the new Guix PYTHONPATH., (continued)
- 47/163: gnu: ceph: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 74/163: gnu: intel-xed: Update to 12.0.1., guix-commits, 2021/01/25
- 78/163: gnu: meson-0.55: Update to 0.55.3., guix-commits, 2021/01/25
- 102/163: gnu: asymptote: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 116/163: gnu: passwordsafe: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 83/163: gnu: gimp: Use the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 117/163: gnu: terminator: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 76/163: gnu: fifengine: Do not alter PYTHONPATH., guix-commits, 2021/01/25
- 124/163: gnu: python-colorlog: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 118/163: gnu: setzer: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 135/163: gnu: python-multidict: Do not set PYTHONPATH.,
guix-commits <=
- 134/163: gnu: python-matplotlib-documentation: Do not read PYTHONPATH., guix-commits, 2021/01/25
- 136/163: gnu: python2-backports-shutil-get-terminal-size: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 144/163: gnu: python-odfpy: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 145/163: gnu: python-natsort: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 146/163: gnu: python-validictory: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 151/163: gnu: python-apispec: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 152/163: gnu: python-flasgger: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 153/163: gnu: python2-send2trash: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 155/163: gnu: python-asgiref: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 156/163: gnu: python-aws-xray-sdk: Do not set PYTHONPATH., guix-commits, 2021/01/25