gnu: python-stem: Update to 1.7.0.
* gnu/packages/python.scm (python-stem): Update to 1.7.0. [arguments]: Remove obsolete phase. [native-inputs]: Change PYTHON-PEP8 to PYTHON-PYCODESTYLE.
This commit is contained in:
parent
3a23036a0a
commit
4cdbffdc2f
|
@ -9763,32 +9763,25 @@ etc.")
|
||||||
(define-public python-stem
|
(define-public python-stem
|
||||||
(package
|
(package
|
||||||
(name "python-stem")
|
(name "python-stem")
|
||||||
(version "1.6.0")
|
(version "1.7.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "stem" version))
|
(uri (pypi-uri "stem" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1va9p3ij7lxg6ixfsvaql06dn11l3fgpxmss1dhlvafm7sqizznp"))))
|
"1awiglfiajnx2hva9aqpj3fmdvdb4qg7cwnlfyih827m68y3cq8v"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-before 'check 'fix-test-environment
|
|
||||||
(lambda _
|
|
||||||
;; Fixes: FileNotFoundError: [Errno 2] No such file or directory:
|
|
||||||
;; '/tmp/guix-build-python-stem-1.6.0.drv-0/stem-1.6.0/.gitignore'.
|
|
||||||
(with-output-to-file ".gitignore"
|
|
||||||
(lambda _ (format #t "%")))
|
|
||||||
#t))
|
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda _
|
(lambda _
|
||||||
(invoke "./run_tests.py" "--unit")
|
(invoke "./run_tests.py" "--unit")
|
||||||
#t)))))
|
#t)))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("python-mock" ,python-mock)
|
`(("python-mock" ,python-mock)
|
||||||
("python-pep8" ,python-pep8)
|
("python-pycodestyle" ,python-pycodestyle)
|
||||||
("python-pyflakes" ,python-pyflakes)))
|
("python-pyflakes" ,python-pyflakes)))
|
||||||
(home-page "https://stem.torproject.org/")
|
(home-page "https://stem.torproject.org/")
|
||||||
(synopsis
|
(synopsis
|
||||||
|
|
Loading…
Reference in New Issue