[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
193/420: gnu: python-apprise: Improve package style.
From: |
guix-commits |
Subject: |
193/420: gnu: python-apprise: Improve package style. |
Date: |
Tue, 26 Nov 2024 16:28:59 -0500 (EST) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit dc0a7885adb6203b397b8a74e4032d1b521b8e09
Author: Nicolas Graves <ngraves@ngraves.fr>
AuthorDate: Fri May 10 00:53:58 2024 +0200
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>
---
gnu/packages/python-xyz.scm | 19 +++++++------------
1 file changed, 7 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7992779b6b..45d9df38ad 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -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")
- 412/420: gnu: python-poetry-core: Update to 1.9.1., (continued)
- 412/420: gnu: python-poetry-core: Update to 1.9.1., guix-commits, 2024/11/26
- 162/420: gnu: python-pypujs: Improve package style., guix-commits, 2024/11/26
- 167/420: gnu: python-unidecode: Update to 1.3.8., guix-commits, 2024/11/26
- 173/420: gnu: python-parse-type: Move to pyproject-build-system., guix-commits, 2024/11/26
- 175/420: gnu: python-sphinx-autodoc-typehints: Move to pyproject-build-system., guix-commits, 2024/11/26
- 178/420: gnu: abjad-ext-nauert: Update to 3.19., guix-commits, 2024/11/26
- 181/420: gnu: python-cairosvg: Move to pyproject-build-system., guix-commits, 2024/11/26
- 183/420: gnu: python-jaraco-classes: Move to pyproject-build-system., guix-commits, 2024/11/26
- 185/420: gnu: python-jaraco-functools: Move to pyproject-build-system., guix-commits, 2024/11/26
- 191/420: gnu: python-pytest-enabler: Break dependency cycle., guix-commits, 2024/11/26
- 193/420: gnu: python-apprise: Improve package style.,
guix-commits <=
- 195/420: gnu: python-orderedmultidict: Move to pyproject-build-system., guix-commits, 2024/11/26
- 194/420: gnu: python-autoflake: Update to 2.3.1., guix-commits, 2024/11/26
- 200/420: gnu: Add python-sphinx-autodoc-typehints-5., guix-commits, 2024/11/26
- 210/420: gnu: python-pyan3: Move to pyproject-build-system., guix-commits, 2024/11/26
- 212/420: gnu: python-multidict: Move to pyproject-build-system., guix-commits, 2024/11/26
- 203/420: gnu: python-uqbar: Update to 0.6.9., guix-commits, 2024/11/26
- 221/420: gnu: python-websockets: Adjust inputs., guix-commits, 2024/11/26
- 223/420: gnu: Remove python-mistune-next., guix-commits, 2024/11/26
- 213/420: gnu: python-warcio: Move to pyproject-build-system., guix-commits, 2024/11/26
- 218/420: gnu: python-cssselect2: Move to pyproject-build-system., guix-commits, 2024/11/26