mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-18 04:37:36 -05:00
gnu: python-watchdog: Update to 2.1.6.
* gnu/packages/python-xyz.scm (python-watchdog): Update to 2.1.6. [source]: Make some cosmetic changes. [arguments]<#:phases>: Remove 'remove-failing phase. Override 'check phase and skip a failing test. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
parent
07164966fe
commit
df1e2353df
1 changed files with 13 additions and 12 deletions
|
@ -24502,23 +24502,24 @@ (define-public python-android-stringslib
|
||||||
(define-public python-watchdog
|
(define-public python-watchdog
|
||||||
(package
|
(package
|
||||||
(name "python-watchdog")
|
(name "python-watchdog")
|
||||||
(version "0.9.0")
|
(version "2.1.6")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "watchdog" version))
|
(uri (pypi-uri "watchdog" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "1rx2nyl0cyj0v4ja795cl3gi26577c5wg48syr3byz3ndkgpavm3"))))
|
||||||
"07cnvvlpif7a6cg4rav39zq8fxa5pfqawchr46433pij0y6napwn"))))
|
|
||||||
(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 'remove-failing
|
(replace 'check
|
||||||
(lambda _
|
(lambda* (#:key inputs outputs tests? #:allow-other-keys)
|
||||||
(delete-file "tests/test_inotify_buffer.py")
|
(when tests?
|
||||||
(delete-file "tests/test_snapshot_diff.py")
|
(add-installed-pythonpath inputs outputs)
|
||||||
#t)))))
|
(invoke "python" "-m" "pytest" "-k"
|
||||||
|
;; This test failed.
|
||||||
|
"not test_kill_auto_restart")))))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-argh python-pathtools python-pyyaml))
|
(list python-argh python-pathtools python-pyyaml))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
|
|
Loading…
Reference in a new issue