mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: python-2.7: Include /lib/python.../test/support.
Don't remove the support directory from the /lib/python.../test/ directory, as this is used from the test_support module. /gnu/store/...-python2-2.7.15/lib/python2.7/test/test_support.py:2: in <module> import test.support E ImportError: No module named support * gnu/packages/python.scm (python-2.7)[arguments]: Change the 'remove-tests phase to not remove the support directory.
This commit is contained in:
parent
4929ee9b19
commit
d453b0e11d
1 changed files with 1 additions and 4 deletions
|
@ -271,12 +271,9 @@ (define-public python-2.7
|
|||
(scandir testdir
|
||||
(match-lambda
|
||||
((or "." "..") #f)
|
||||
("support" #f)
|
||||
(file
|
||||
(not
|
||||
;; FIXME: Add the 'support' directory
|
||||
;; in the next rebuild cycle, since it
|
||||
;; moved in 2.7.14. See also
|
||||
;; python2-futures below.
|
||||
(string-prefix? "test_support."
|
||||
file))))))
|
||||
(call-with-output-file "__init__.py" (const #t))
|
||||
|
|
Loading…
Reference in a new issue