aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-01-23 00:35:14 -0500
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-02-01 11:53:50 -0500
commit3d9e8062bf1a3ee78d1abe62fa7d9de232d38467 (patch)
treeaa376ffc9841533e4456a898de59e16ab51ac4e4 /gnu
parent1df75a20b0a5024709299cb85d6831ce202596dc (diff)
downloadguix-3d9e8062bf1a3ee78d1abe62fa7d9de232d38467.tar.gz
guix-3d9e8062bf1a3ee78d1abe62fa7d9de232d38467.zip
gnu: python-django-url-filter: Do not alter PYTHONPATH.
* gnu/packages/django.scm (python-django-url-filter) [phases]: Delete trailing #t. {check}: Do not alter PYTHONPATH.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/django.scm6
1 files changed, 1 insertions, 5 deletions
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 75a1121264..d4919ce7f1 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -1236,15 +1236,11 @@ to ElasticSearch.")
;; Do not depend on compatibility package for old
;; Python versions.
(substitute* "requirements.txt"
- (("enum-compat") ""))
- #t))
+ (("enum-compat") ""))))
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(if tests?
(begin
- (setenv "PYTHONPATH"
- (string-append "./build/lib:.:"
- (getenv "PYTHONPATH")))
(setenv "DJANGO_SETTINGS_MODULE"
"test_project.settings")
(invoke "pytest" "-vv" "--doctest-modules"