[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: |
Fri, 29 Jan 2021 09:21:54 -0500 (EST) |
apteryx pushed a commit to branch cu/farewell-to-pythonpath
in repository guix.
commit a3c709d8f4f52ac5704e576cb22142a03d24d990
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
- 37/131: gnu: tensorflow: Do not alter PYTHONPATH., (continued)
- 37/131: gnu: tensorflow: Do not alter PYTHONPATH., guix-commits, 2021/01/29
- 38/131: gnu: ghmm: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 32/131: gnu: linkchecker: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 34/131: gnu: behave: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 39/131: gnu: python-rpy2: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 35/131: gnu: python-pyhamcrest: Update to 2.0.2., guix-commits, 2021/01/29
- 42/131: gnu: python-django-contact-form: Do not alter PYTHONPATH., guix-commits, 2021/01/29
- 45/131: gnu: python-django-appconf: Do not alter PYTHONPATH., guix-commits, 2021/01/29
- 46/131: gnu: python-django-statici18n: Do not read PYTHONPATH., guix-commits, 2021/01/29
- 49/131: gnu: python-hyperkitty: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 43/131: gnu: python-django-pipeline: Do not alter PYTHONPATH.,
guix-commits <=
- 57/131: gnu: python-fenics-fiat: Do not alter PYTHONPATH., guix-commits, 2021/01/29
- 50/131: gnu: intel-xed: Update to 12.0.1., guix-commits, 2021/01/29
- 59/131: gnu: python-fenics-ffc: Do not alter PYTHONPATH., guix-commits, 2021/01/29
- 65/131: gnu: python-attrs: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 60/131: gnu: fenics: Do not alter PYTHONPATH., guix-commits, 2021/01/29
- 74/131: gnu: python-jsonschema: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 36/131: gnu: python-libtmux: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 51/131: gnu: fifengine: Do not alter PYTHONPATH., guix-commits, 2021/01/29
- 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