[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
43/131: gnu: python-django-pipeline: Do not alter PYTHONPATH.
From: |
guix-commits |
Subject: |
43/131: gnu: python-django-pipeline: Do not alter PYTHONPATH. |
Date: |
Mon, 1 Feb 2021 11:56:43 -0500 (EST) |
apteryx pushed a commit to branch core-updates
in repository guix.
commit de66b6fedbe61eca5199bdd445ed69491c025ccd
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sat Jan 23 00:25:24 2021 -0500
gnu: python-django-pipeline: Do not alter PYTHONPATH.
* gnu/packages/django.scm (python-django-pipeline): Remove trailing #t.
[phases]{check}: Do not alter PYTHONPATH.
---
gnu/packages/django.scm | 11 +++--------
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 1a21e17..6feca05 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -746,14 +746,9 @@ entries, photos, book chapters, or anything else.")
(which "env")))))
(replace 'check
(lambda*(#:key tests? #:allow-other-keys)
- (or
- (not tests?)
- (begin
- (setenv "PYTHONPATH"
- (string-append (getcwd) ":"
- (getenv "PYTHONPATH")))
- (setenv "DJANGO_SETTINGS_MODULE" "tests.settings")
- (invoke "django-admin" "test" "tests"))))))))
+ (when tests?
+ (setenv "DJANGO_SETTINGS_MODULE" "tests.settings")
+ (invoke "django-admin" "test" "tests")))))))
(native-inputs
`(("python-django" ,python-django)))
(propagated-inputs
- 82/131: gnu: python-flake8-polyfill: Do not set PYTHONPATH., (continued)
- 82/131: gnu: python-flake8-polyfill: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 87/131: gnu: python-libcst: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 89/131: gnu: python-odfpy: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 34/131: gnu: behave: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 74/131: gnu: python-jsonschema: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 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 <=
- 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, 2021/02/01
- 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