[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
80/131: gnu: python-multidict: Do not set PYTHONPATH.
From: |
guix-commits |
Subject: |
80/131: gnu: python-multidict: Do not set PYTHONPATH. |
Date: |
Fri, 29 Jan 2021 09:22:06 -0500 (EST) |
apteryx pushed a commit to branch cu/farewell-to-pythonpath
in repository guix.
commit 44684b3d74806b3b18830179a54c6cb9e735febe
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 a3cb6f4..2b05d6b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -5419,24 +5419,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)))
- 61/131: gnu: python-pure-protobuf: Do not alter PYTHONPATH., (continued)
- 61/131: gnu: python-pure-protobuf: Do not alter PYTHONPATH., guix-commits, 2021/01/29
- 85/131: gnu: python-tblib: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 81/131: gnu: python2-backports-shutil-get-terminal-size: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 88/131: gnu: python-binwalk: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 98/131: gnu: python2-send2trash: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 100/131: gnu: python-asgiref: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 120/131: gnu: hplip: Adjust to use GUIX_PYTHONPATH., guix-commits, 2021/01/29
- 114/131: gnu: gpodder: Do not alter PYTHONPATH., guix-commits, 2021/01/29
- 126/131: gnu: kaldi-gstreamer-server: Wrap with GUIX_PYTHONPATH., guix-commits, 2021/01/29
- 127/131: gnu: manuskript: Wrap with GUIX_PYTHONPATH., guix-commits, 2021/01/29
- 80/131: gnu: python-multidict: Do not set PYTHONPATH.,
guix-commits <=
- 84/131: gnu: python-moto: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 108/131: gnu: python-gunicorn: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 112/131: gnu: Adjust package collection to Wrap using GUIX_PYTHONPATH., guix-commits, 2021/01/29
- 115/131: gnu: assword: Do not alter PYTHONPATH., guix-commits, 2021/01/29
- 91/131: gnu: python-validictory: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 95/131: gnu: python-rfc3986: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 123/131: gnu: roguebox-adventures: Wrap with GUIX_PYTHONPATH., guix-commits, 2021/01/29
- 121/131: gnu: freecad: Wrap with GUIX_PYTHONPATH., guix-commits, 2021/01/29
- 113/131: gnu: enjarify: Do not alter PYTHONPATH., guix-commits, 2021/01/29
- 131/131: gnu: python-attrs: Update to 20.3.0., guix-commits, 2021/01/29