[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
150/163: gnu: python-rfc3986: Do not set PYTHONPATH.
From: |
guix-commits |
Subject: |
150/163: gnu: python-rfc3986: Do not set PYTHONPATH. |
Date: |
Mon, 25 Jan 2021 02:02:01 -0500 (EST) |
apteryx pushed a commit to branch cu/farewell-to-pythonpath
in repository guix.
commit d41dc650c5193ad568b6f587cd4e8bb8029e11b7
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Jan 24 10:08:01 2021 -0500
gnu: python-rfc3986: Do not set PYTHONPATH.
* gnu/packages/python-xyz.scm (python-rfc3986)
[arguments]: Remove the '#:modules' argument.
[phases]{check}: Do not set PYTHONPATH.
---
gnu/packages/python-xyz.scm | 16 ++--------------
1 file changed, 2 insertions(+), 14 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index acb1a4a..ea7ad17 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -16101,23 +16101,11 @@ applying JSON Patches according to RFC 6902.")
"17dvx15m3r49bmif5zlli8kzjd6bys6psixzbp14sd5367d9h8qi"))))
(build-system python-build-system)
(arguments
- `(#:modules ((guix build utils)
- (guix build python-build-system)
- (ice-9 ftw)
- (srfi srfi-1)
- (srfi srfi-26))
- #:phases
+ `(#:phases
(modify-phases %standard-phases
(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-pytest" ,python-pytest)))
(home-page "https://rfc3986.readthedocs.io/")
- 93/163: gnu: byobu: Wrap with the new Guix PYTHONPATH., (continued)
- 93/163: gnu: byobu: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 99/163: gnu: pagekit: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 98/163: gnu: blueman: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 91/163: gnu: python-fenics-ffc: Do not alter PYTHONPATH., guix-commits, 2021/01/25
- 95/163: gnu: rapid-photo-downloader: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 129/163: gnu: python-jsonschema: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 128/163: gnu: python-click: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 139/163: gnu: python-moto: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 148/163: gnu: python-cheetah: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 149/163: gnu: python-pbkdf2: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 150/163: gnu: python-rfc3986: Do not set PYTHONPATH.,
guix-commits <=