[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
145/163: gnu: python-natsort: Do not set PYTHONPATH.
From: |
guix-commits |
Subject: |
145/163: gnu: python-natsort: Do not set PYTHONPATH. |
Date: |
Mon, 25 Jan 2021 02:01:59 -0500 (EST) |
apteryx pushed a commit to branch cu/farewell-to-pythonpath
in repository guix.
commit 16fdf238b9cea82046dc26dbe683b90f683ebde8
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Jan 24 10:00:19 2021 -0500
gnu: python-natsort: Do not set PYTHONPATH.
* gnu/packages/python-xyz.scm (python-natsort)
[arguments]: Remove the '#:modules' argument.
[phases]{check}: Do not set PYTHONPATH.
---
gnu/packages/python-xyz.scm | 17 ++---------------
1 file changed, 2 insertions(+), 15 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 301b0ed..801a324 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -13851,27 +13851,14 @@ Python to manipulate OpenDocument 1.2 files.")
"1ksqfai72dbcfbwx43pxl658j59mx2rvqypjy1fk0ax2qd6lccx6"))))
(build-system python-build-system)
(arguments
- `(#:modules ((guix build utils)
- (guix build python-build-system)
- (srfi srfi-1)
- (srfi srfi-26)
- (ice-9 ftw))
- #:phases
+ `(#:phases
(modify-phases %standard-phases
(add-before 'check 'set-cachedir
;; Tests require write access to $HOME by default
(lambda _ (setenv "PYTHON_EGG_CACHE" "/tmp") #t))
(replace 'check
(lambda _
- (let ((cwd (getcwd)))
- (setenv "PYTHONPATH"
- (string-append
- cwd "/build/"
- (find (cut string-prefix? "lib" <>)
- (scandir (string-append cwd "/build")))
- ":"
- (getenv "PYTHONPATH")))
- (invoke "pytest" "-v")))))))
+ (invoke "pytest" "-v"))))))
(native-inputs
`(("python-hypothesis" ,python-hypothesis)
("python-pytest-cov" ,python-pytest-cov)
- 116/163: gnu: passwordsafe: Wrap with the new Guix PYTHONPATH., (continued)
- 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, 2021/01/25
- 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 <=
- 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
- 160/163: gnu: python-flask: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 162/163: gnu: python-webassets: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 147/163: gnu: python-pyelftools: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 115/163: gnu: orca: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25