gnu: python-apprise: Fix build.

* gnu/packages/python-xyz.scm (python-apprise): Fix build failures.
[native-inputs]: Remove unused python-flake8.
[arguments]: turn off mqltt_tls tests that fail.

Change-Id: Ia1a5b3d6ff284dc57f083c4bdbd1f6356be7a700
Signed-off-by: jgart <jgart@dismail.de>
This commit is contained in:
Steve George 2024-09-05 15:31:54 +01:00 committed by jgart
parent 851da3ebbe
commit 721ba07e24
No known key found for this signature in database
GPG key ID: A52AA2B477B6DD35

View file

@ -326,7 +326,6 @@ (define-public python-apprise
(native-inputs (list python-babel
python-coverage
python-cryptography
python-flake8
python-paho-mqtt
python-pytest
python-pytest-cov
@ -335,12 +334,16 @@ (define-public python-apprise
python-wheel))
(arguments
(list
#:phases #~(modify-phases %standard-phases
#: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")))))))
(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")