mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: python-stem: Update to 1.6.0.
* gnu/packages/python.scm (python-stem): Update to 1.6.0. [arguments]: Add ‘fix-test-environment’ phase.
This commit is contained in:
parent
68e7632db0
commit
a9c0a133c0
1 changed files with 9 additions and 2 deletions
|
@ -9352,18 +9352,25 @@ (define-public ptpython-2
|
|||
(define-public python-stem
|
||||
(package
|
||||
(name "python-stem")
|
||||
(version "1.5.4")
|
||||
(version "1.6.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "stem" version))
|
||||
(sha256
|
||||
(base32
|
||||
"1j7pnblrn0yr6jmxvsq6y0ihmxmj5x50jl2n2606w67f6wq16j9n"))))
|
||||
"1va9p3ij7lxg6ixfsvaql06dn11l3fgpxmss1dhlvafm7sqizznp"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#: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
|
||||
(lambda _
|
||||
(invoke "./run_tests.py" "--unit")
|
||||
|
|
Loading…
Reference in a new issue