[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
90/131: gnu: python-natsort: Do not set PYTHONPATH.
From: |
guix-commits |
Subject: |
90/131: gnu: python-natsort: Do not set PYTHONPATH. |
Date: |
Mon, 1 Feb 2021 11:56:57 -0500 (EST) |
apteryx pushed a commit to branch core-updates
in repository guix.
commit 3533016ae3ed3a5a876a801b35b428ef2f005d14
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 fa23e09..294a1aa 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -13867,27 +13867,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)
- 75/131: gnu: python-text-unidecode: Do not set PYTHONPATH., (continued)
- 75/131: gnu: python-text-unidecode: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 77/131: gnu: python-jinja2: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 81/131: gnu: python2-backports-shutil-get-terminal-size: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 83/131: gnu: python-msgpack: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 88/131: gnu: python-binwalk: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 43/131: gnu: python-django-pipeline: Do not alter PYTHONPATH., guix-commits, 2021/02/01
- 72/131: gnu: python-aenum: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 73/131: gnu: python-click: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 76/131: gnu: python-markupsafe: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 85/131: gnu: python-tblib: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 90/131: gnu: python-natsort: Do not set PYTHONPATH.,
guix-commits <=
- 95/131: gnu: python-rfc3986: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 97/131: gnu: python-flasgger: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 109/131: doc: Update references to PYTHONPATH and some examples., guix-commits, 2021/02/01
- 115/131: gnu: assword: Do not alter PYTHONPATH., guix-commits, 2021/02/01
- 103/131: gnu: python-jsonpickle: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 119/131: gnu: python-cloudpickle: Do not alter PYTHONPATH., guix-commits, 2021/02/01
- 116/131: gnu: pypy3: Do not alter PYTHONPATH., guix-commits, 2021/02/01
- 126/131: gnu: kaldi-gstreamer-server: Wrap with GUIX_PYTHONPATH., guix-commits, 2021/02/01
- 130/131: gnu: meson-for-build: Remove package., guix-commits, 2021/02/01
- 78/131: gnu: python-pygithub: Do not set PYTHONPATH., guix-commits, 2021/02/01