me
/
guix
Archived
1
0
Fork 0

gnu: python-watchdog: Simplify package.

* gnu/packages/python-xyz.scm (python-watchdog) [build-system]: Swap to
pyproject-build-system.
[arguments] <#:test-flags>: Move skipped test here.
<#:phases>: Use standard 'check phase.

Change-Id: Id813dcfb567f9769fbb4408a159519004c67b85b
master
Sharlatan Hellseher 2024-02-17 22:36:30 +00:00
parent 18240ae446
commit ccbf143927
No known key found for this signature in database
GPG Key ID: 76D727BFF62CD2B5
1 changed files with 2 additions and 10 deletions

View File

@ -29215,17 +29215,9 @@ files. These files are used to translate strings in android apps.")
(uri (pypi-uri "watchdog" version)) (uri (pypi-uri "watchdog" version))
(sha256 (sha256
(base32 "1rx2nyl0cyj0v4ja795cl3gi26577c5wg48syr3byz3ndkgpavm3")))) (base32 "1rx2nyl0cyj0v4ja795cl3gi26577c5wg48syr3byz3ndkgpavm3"))))
(build-system python-build-system) (build-system pyproject-build-system)
(arguments (arguments
`(#:phases (list #:test-flags #~(list "-k" "not test_kill_auto_restart")))
(modify-phases %standard-phases
(replace 'check
(lambda* (#:key inputs outputs tests? #:allow-other-keys)
(when tests?
(add-installed-pythonpath inputs outputs)
(invoke "python" "-m" "pytest" "-k"
;; This test failed.
"not test_kill_auto_restart")))))))
(propagated-inputs (propagated-inputs
(list python-pathtools python-pyyaml)) (list python-pathtools python-pyyaml))
(native-inputs (native-inputs