mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-28 14:01:29 -05:00
gnu: thefuck: Update to 3.31.
* gnu/packages/admin.scm (thefuck): Update to 3.31. [arguments]: Don't call buggy settings.init() during test suite.
This commit is contained in:
parent
3848dafeb1
commit
26787a7034
1 changed files with 6 additions and 4 deletions
|
@ -3158,7 +3158,7 @@ (define-public dstat
|
||||||
(define-public thefuck
|
(define-public thefuck
|
||||||
(package
|
(package
|
||||||
(name "thefuck")
|
(name "thefuck")
|
||||||
(version "3.30")
|
(version "3.31")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
|
@ -3167,7 +3167,7 @@ (define-public thefuck
|
||||||
(commit version)))
|
(commit version)))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0fnf78956pwhb9cgv1jmgypnkma5xzflkivfrkfiadbgin848yfg"))
|
(base32 "05h60gxky57nalc2hdkpg8wqyg16432x9gcb9wnwblplk98998kq"))
|
||||||
(patches (search-patches "thefuck-test-environ.patch"))))
|
(patches (search-patches "thefuck-test-environ.patch"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
|
@ -3180,8 +3180,10 @@ (define-public thefuck
|
||||||
(add-installed-pythonpath inputs outputs)
|
(add-installed-pythonpath inputs outputs)
|
||||||
;; Some tests need write access to $HOME.
|
;; Some tests need write access to $HOME.
|
||||||
(setenv "HOME" "/tmp")
|
(setenv "HOME" "/tmp")
|
||||||
(invoke "py.test" "-v")
|
;; Even with that, this function tries to mkdir /.config.
|
||||||
#t)))))
|
(substitute* "tests/test_utils.py"
|
||||||
|
(("settings\\.init\\(\\)") ""))
|
||||||
|
(invoke "py.test" "-v"))))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("python-colorama" ,python-colorama)
|
`(("python-colorama" ,python-colorama)
|
||||||
("python-decorator" ,python-decorator)
|
("python-decorator" ,python-decorator)
|
||||||
|
|
Loading…
Reference in a new issue