mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-apprise: Improve package style.
* gnu/packages/python-xyz.scm (python-apprise): [arguments]: Convert <#:phases> check replacement into <#:test-flags>. Change-Id: I85c2ebadf65a4f1a7735042e784e56313c3de539 Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
parent
cf1ea97b69
commit
c816bf4916
1 changed files with 7 additions and 12 deletions
|
@ -320,6 +320,13 @@
|
|||
(sha256
|
||||
(base32 "0wvs1k71fipn617y9wsdcvwcgg2pd0nvriarlwl4438la4086ppg"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:test-flags
|
||||
#~(list "--numprocesses" "auto"
|
||||
"--ignore=test/test_plugin_macosx.py"
|
||||
"-k" (string-append "not test_plugin_mqtt_tls_connect_success"
|
||||
" and not test_plugin_mqtt_tls_no_verify_success"))))
|
||||
(propagated-inputs (list python-certifi
|
||||
python-click
|
||||
python-dataclasses
|
||||
|
@ -336,18 +343,6 @@
|
|||
python-pytest-mock
|
||||
python-pytest-xdist
|
||||
python-wheel))
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? inputs outputs #:allow-other-keys)
|
||||
(when tests?
|
||||
(delete-file "test/test_plugin_macosx.py")
|
||||
(invoke "pytest" "-vv" "-k"
|
||||
(string-append
|
||||
"not test_plugin_mqtt_tls_connect_success"
|
||||
" and not test_plugin_mqtt_tls_no_verify_success"))))))))
|
||||
(home-page "https://github.com/caronc/apprise")
|
||||
(synopsis
|
||||
"Push notification Python library that works with many platforms")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue