[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: |
Mon, 1 Feb 2021 11:56:50 -0500 (EST) |
apteryx pushed a commit to branch core-updates
in repository guix.
commit 141a90ea2cf948a4eb25eab6d30b61b16045eaae
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 5e4b477..71809dd 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")
- 47/131: gnu: python-django-url-filter: Do not alter PYTHONPATH., (continued)
- 47/131: gnu: python-django-url-filter: Do not alter PYTHONPATH., guix-commits, 2021/02/01
- 54/131: gnu: gdk-pixbuf: Update to 2.42.2., guix-commits, 2021/02/01
- 52/131: gnu: meson: Update to 0.56.2., guix-commits, 2021/02/01
- 55/131: gnu: python-fenics-dijitso: Do not alter PYTHONPATH., guix-commits, 2021/02/01
- 60/131: gnu: fenics: Do not alter PYTHONPATH., guix-commits, 2021/02/01
- 58/131: gnu: python-fenics-ffc: Do not alter PYTHONPATH., guix-commits, 2021/02/01
- 59/131: gnu: python-fenics-ffc: Do not alter PYTHONPATH., guix-commits, 2021/02/01
- 61/131: gnu: python-pure-protobuf: Do not alter PYTHONPATH., guix-commits, 2021/02/01
- 62/131: gnu: pagekit: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 66/131: gnu: python-pathos: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 68/131: gnu: python-typed-ast: Do not set PYTHONPATH.,
guix-commits <=
- 69/131: gnu: python-colorlog: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 70/131: gnu: python-pymediainfo: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 71/131: gnu: python-hdf4: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 45/131: gnu: python-django-appconf: Do not alter PYTHONPATH., guix-commits, 2021/02/01
- 57/131: gnu: python-fenics-fiat: Do not alter PYTHONPATH., guix-commits, 2021/02/01
- 46/131: gnu: python-django-statici18n: Do not read PYTHONPATH., guix-commits, 2021/02/01
- 48/131: gnu: graphite2: Do not alter PYTHONPATH., guix-commits, 2021/02/01
- 63/131: gnu: python-pytest-isort: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 64/131: gnu: python-pynacl: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 65/131: gnu: python-attrs: Do not set PYTHONPATH., guix-commits, 2021/02/01