[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
193/361: gnu: python-apprise: Improve package style.
From: |
guix-commits |
Subject: |
193/361: gnu: python-apprise: Improve package style. |
Date: |
Fri, 22 Nov 2024 06:00:39 -0500 (EST) |
andreas pushed a commit to branch python-team
in repository guix.
commit 3b525580cc46c04a9c4eef2cafdc619f35722a5b
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 691553664d..0d20e076f7 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")
- 153/361: gnu: python-apiron: Move to pyproject-build-system., (continued)
- 153/361: gnu: python-apiron: Move to pyproject-build-system., guix-commits, 2024/11/22
- 171/361: gnu: python-cucumber-tag-expressions: Move to pyproject-build-system., guix-commits, 2024/11/22
- 164/361: gnu: python-nbval: Move to pyproject-build-system., guix-commits, 2024/11/22
- 168/361: gnu: python-cbor2: Move to pyproject-build-system., guix-commits, 2024/11/22
- 166/361: gnu: gunicorn: Update to 21.2.0., guix-commits, 2024/11/22
- 173/361: gnu: python-parse-type: Move to pyproject-build-system., guix-commits, 2024/11/22
- 179/361: gnu: python-pytest-remotedata: Ignore failing test., guix-commits, 2024/11/22
- 178/361: gnu: abjad-ext-nauert: Update to 3.19., guix-commits, 2024/11/22
- 187/361: gnu: python-jaraco-test: Move to pyproject-build-system., guix-commits, 2024/11/22
- 190/361: gnu: python-sparse: Move to pyproject-build-system., guix-commits, 2024/11/22
- 193/361: gnu: python-apprise: Improve package style.,
guix-commits <=
- 194/361: gnu: python-autoflake: Update to 2.3.1., guix-commits, 2024/11/22
- 203/361: gnu: python-uqbar: Update to 0.6.9., guix-commits, 2024/11/22
- 204/361: gnu: python-typeguard-4: Ignore failing tests., guix-commits, 2024/11/22
- 206/361: gnu: python-funsor: Ignore flaky test., guix-commits, 2024/11/22
- 207/361: gnu: borgmatic: Move to pyproject-build-system., guix-commits, 2024/11/22
- 210/361: gnu: python-pyan3: Move to pyproject-build-system., guix-commits, 2024/11/22
- 212/361: gnu: python-multidict: Move to pyproject-build-system., guix-commits, 2024/11/22
- 214/361: gnu: python-certauth: Move to pyproject-build-system., guix-commits, 2024/11/22
- 216/361: gnu: python-qemu-qmp: Improve package style., guix-commits, 2024/11/22
- 223/361: gnu: Remove python-mistune-next., guix-commits, 2024/11/22