gnu: python-pygithub: Do not set PYTHONPATH.
* gnu/packages/python-xyz.scm (python-pygithub): Delete trailing #t. [phases]{check}: Do not set PYTHONPATH.master
parent
4237342646
commit
5271099e82
|
@ -3616,17 +3616,14 @@ to deprecate classes, functions or methods.")
|
||||||
(add-after 'unpack 'disable-failing-tests
|
(add-after 'unpack 'disable-failing-tests
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "tests/Issue142.py"
|
(substitute* "tests/Issue142.py"
|
||||||
(("testDecodeJson") "disabled_testDecodeJson"))
|
(("testDecodeJson")
|
||||||
#t))
|
"disabled_testDecodeJson"))))
|
||||||
(add-before 'check 'prepare-for-tests
|
(add-before 'check 'prepare-for-tests
|
||||||
(lambda _
|
(lambda _
|
||||||
(for-each (lambda (f)
|
(for-each (lambda (f)
|
||||||
(chmod f #o666))
|
(chmod f #o666))
|
||||||
(find-files "./tests"))
|
(find-files "./tests"))
|
||||||
(system* "python" "-m" "lib2to3" "-w" "-n" "tests")
|
(system* "python" "-m" "lib2to3" "-w" "-n" "tests"))))))
|
||||||
(setenv "PYTHONPATH"
|
|
||||||
(string-append "./tests:" (getenv "PYTHONPATH")))
|
|
||||||
#t)))))
|
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("python-deprecated" ,python-deprecated)
|
`(("python-deprecated" ,python-deprecated)
|
||||||
("python-pyjwt" ,python-pyjwt)
|
("python-pyjwt" ,python-pyjwt)
|
||||||
|
|
Reference in New Issue