[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
68/131: gnu: python-typed-ast: Do not set PYTHONPATH.
From: |
guix-commits |
Subject: |
68/131: gnu: python-typed-ast: Do not set PYTHONPATH. |
Date: |
Fri, 29 Jan 2021 09:22:01 -0500 (EST) |
apteryx pushed a commit to branch cu/farewell-to-pythonpath
in repository guix.
commit 5244ef42702cba2a76581819465f321e76aabd44
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Jan 24 00:28:18 2021 -0500
gnu: python-typed-ast: Do not set PYTHONPATH.
* gnu/packages/python-xyz.scm (python-typed-ast)
[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 6c8db37..109a343 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -18082,24 +18082,11 @@ source bytes using the UTF-8 encoding and then
rewrites Python 3.6 style
(file-name (git-file-name name version))))
(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")
- #t)))))
+ (invoke "pytest"))))))
(native-inputs `(("python-pytest" ,python-pytest)))
(home-page "https://github.com/python/typed_ast")
(synopsis "Fork of Python @code{ast} modules with type comment support")
- 52/131: gnu: meson: Update to 0.56.2., (continued)
- 52/131: gnu: meson: Update to 0.56.2., guix-commits, 2021/01/29
- 53/131: gnu: meson-0.55: Update to 0.55.3., guix-commits, 2021/01/29
- 69/131: gnu: python-colorlog: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 72/131: gnu: python-aenum: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 41/131: gnu: python-pytest-django: Do not alter PYTHONPATH., guix-commits, 2021/01/29
- 47/131: gnu: python-django-url-filter: Do not alter PYTHONPATH., guix-commits, 2021/01/29
- 48/131: gnu: graphite2: Do not alter PYTHONPATH., guix-commits, 2021/01/29
- 54/131: gnu: gdk-pixbuf: Update to 2.42.2., guix-commits, 2021/01/29
- 55/131: gnu: python-fenics-dijitso: Do not alter PYTHONPATH., guix-commits, 2021/01/29
- 67/131: gnu: python-stone: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 68/131: gnu: python-typed-ast: Do not set PYTHONPATH.,
guix-commits <=
- 71/131: gnu: python-hdf4: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 64/131: gnu: python-pynacl: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 66/131: gnu: python-pathos: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 63/131: gnu: python-pytest-isort: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 62/131: gnu: pagekit: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 75/131: gnu: python-text-unidecode: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 76/131: gnu: python-markupsafe: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 77/131: gnu: python-jinja2: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 79/131: gnu: python-matplotlib-documentation: Do not read PYTHONPATH., guix-commits, 2021/01/29
- 40/131: gnu: python-django: Do not alter PYTHONPATH., guix-commits, 2021/01/29