mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
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.
This commit is contained in:
parent
1df75a20b0
commit
3d9e8062bf
1 changed files with 1 additions and 5 deletions
|
@ -1236,15 +1236,11 @@ (define-public python-django-url-filter
|
|||
;; 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"
|
||||
|
|
Loading…
Reference in a new issue