3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: python-libtmux: Update to 0.8.5.

* gnu/packages/tmux.scm (python-libtmux): Update to 0.8.5.
[arguments]: Set LANG to make the test suite pass.
This commit is contained in:
Tobias Geerinckx-Rice 2020-11-11 18:14:23 +01:00
parent 9e06166da2
commit c07c8892ee
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -145,7 +145,7 @@ windows.")
(define-public python-libtmux (define-public python-libtmux
(package (package
(name "python-libtmux") (name "python-libtmux")
(version "0.8.3") (version "0.8.5")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -155,7 +155,7 @@ windows.")
(commit (string-append "v" version)))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "18dqqd3jmgq3jb1l3xpgywlh4x82mzjxch61gwnlhfaqx5mzvjph")))) (base32 "1vrd99kl2gsk49mvbp6k7l1k7r96vf1fczsqclb62yd4hdpp7zaa"))))
(build-system python-build-system) (build-system python-build-system)
(propagated-inputs (propagated-inputs
`(("procps" ,procps))) ;tests need top `(("procps" ,procps))) ;tests need top
@ -171,6 +171,8 @@ windows.")
(setenv "PYTHONPATH" (setenv "PYTHONPATH"
(string-append (getcwd) "/build/lib:" (string-append (getcwd) "/build/lib:"
(getenv "PYTHONPATH"))) (getenv "PYTHONPATH")))
;; Fix <https://github.com/tmux-python/libtmux/issues/265>.
(setenv "LANG" "en_US.utf8")
;; Skip tests that I suspect fail because of a change ;; Skip tests that I suspect fail because of a change
;; in behavior in tmux 3 from tmux 2 ;; in behavior in tmux 3 from tmux 2
;; https://github.com/tmux-python/libtmux/issues/281 ;; https://github.com/tmux-python/libtmux/issues/281