gnu: python-pytest-shutil: Adjust to use python-path.
* gnu/packages/python-check.scm (python-pytest-shutil) [phases]{use-path-instead-of-path.py}: New phase. [propagated-inputs]: Replace python-path.py with python-path.master
parent
c6c2e3710b
commit
f2be0c5b2b
|
@ -1080,6 +1080,12 @@ isort.")
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'use-path-instead-of-path.py
|
||||||
|
;; path.py is obsolete.
|
||||||
|
(lambda _
|
||||||
|
(substitute* "setup.py"
|
||||||
|
(("'path.py'")
|
||||||
|
"'path'"))))
|
||||||
(add-after 'unpack 'patch-tests
|
(add-after 'unpack 'patch-tests
|
||||||
(lambda _
|
(lambda _
|
||||||
(mkdir "/tmp/bin")
|
(mkdir "/tmp/bin")
|
||||||
|
@ -1087,11 +1093,9 @@ isort.")
|
||||||
(("dirname = '/bin'")
|
(("dirname = '/bin'")
|
||||||
"dirname = '/tmp/bin'")
|
"dirname = '/tmp/bin'")
|
||||||
(("bindir = os.path.realpath\\('/bin'\\)")
|
(("bindir = os.path.realpath\\('/bin'\\)")
|
||||||
"bindir = os.path.realpath('/tmp/bin')"))
|
"bindir = os.path.realpath('/tmp/bin')")))))))
|
||||||
#t)))))
|
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-contextlib2 python-execnet python-pathpy
|
(list python-contextlib2 python-execnet python-path python-termcolor))
|
||||||
python-termcolor))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-mock python-pytest python-setuptools-git))
|
(list python-mock python-pytest python-setuptools-git))
|
||||||
(home-page "https://github.com/manahl/pytest-plugins")
|
(home-page "https://github.com/manahl/pytest-plugins")
|
||||||
|
|
Reference in New Issue