[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
98/131: gnu: python2-send2trash: Do not set PYTHONPATH.
From: |
guix-commits |
Subject: |
98/131: gnu: python2-send2trash: Do not set PYTHONPATH. |
Date: |
Fri, 29 Jan 2021 09:22:12 -0500 (EST) |
apteryx pushed a commit to branch cu/farewell-to-pythonpath
in repository guix.
commit e2f23d59cf6f3f200c6bd82e3a697a697d844d3c
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Jan 24 10:50:26 2021 -0500
gnu: python2-send2trash: Do not set PYTHONPATH.
* gnu/packages/python-xyz.scm (python2-send2trash): Do not override the
arguments field.
---
gnu/packages/python-xyz.scm | 12 +-----------
1 file changed, 1 insertion(+), 11 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index fa036a0..4f746cc 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -17565,17 +17565,7 @@ user's @file{~/Trash} directory.")
(license license:bsd-3)))
(define-public python2-send2trash
- (package
- (inherit (package-with-python2 (strip-python2-variant python-send2trash)))
- (arguments
- (substitute-keyword-arguments (package-arguments python-send2trash)
- ((#:phases phases)
- `(modify-phases ,phases
- (add-before 'check 'setenv
- (lambda _
- (setenv "PYTHONPATH"
- (string-append (getcwd) ":" (getenv "PYTHONPATH")))
- #t))))))))
+ (package-with-python2 (strip-python2-variant python-send2trash)))
(define-public python-pyfavicon
(package
- 99/131: gnu: python-aiohttp: Do not set PYTHONPATH., (continued)
- 99/131: gnu: python-aiohttp: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 102/131: gnu: python-cfn-lint: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 103/131: gnu: python-jsonpickle: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 111/131: gnu: redshift: Wrap with GUIX_PYTHONPATH., guix-commits, 2021/01/29
- 129/131: gnu: mpd: Update comment., guix-commits, 2021/01/29
- 58/131: gnu: python-fenics-ffc: Do not alter PYTHONPATH., guix-commits, 2021/01/29
- 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 <=
- 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, 2021/01/29
- 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