[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#51314] [PATCH 23/29] gnu: python-zeroconf: Update to 0.33.4.
From: |
Vinicius Monego |
Subject: |
[bug#51314] [PATCH 23/29] gnu: python-zeroconf: Update to 0.33.4. |
Date: |
Thu, 21 Oct 2021 04:01:54 +0000 |
* gnu/packages/python-xyz.scm (python-zeroconf): Update to 0.33.4.
[source]: Fetch from GitHub.
[native-inputs]: Remove python-nose. Add python-pytest.
[arguments]<#:phases>: Adjust custom 'check phase to use Pytest.
---
gnu/packages/python-xyz.scm | 31 +++++++++++++++++++------------
1 file changed, 19 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 115e013490..c81d8b306f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23399,29 +23399,36 @@ enumeration library in Python.")
(define-public python-zeroconf
(package
(name "python-zeroconf")
- (version "0.28.8")
+ (version "0.33.4")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "zeroconf" version))
+ (method git-fetch) ; no tests in PyPI release
+ (uri (git-reference
+ (url "https://github.com/jstasiak/python-zeroconf")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
- (base32
- "0narq8haa3b375vfblbyil77n8bw0wxqnanl91pl0wwwm884mqjb"))))
+ (base32 "01bv6xrhf5i7gckg3q53i249zxmhkkr65yib6par8z5risihrpwm"))))
(build-system python-build-system)
(native-inputs
- `(("python-nose" ,python-nose)))
+ `(("python-pytest" ,python-pytest)))
(propagated-inputs
`(("python-ifaddr" ,python-ifaddr)))
(arguments
`(#:phases
(modify-phases %standard-phases
(replace 'check
- (lambda _ ;; Networking isn't available for these tests.
- (invoke "nosetests" "-v"
- "--exclude" "test_integration_with_listener_ipv6"
- "--exclude" "test_launch_and_close_v6_only"
- "--exclude" "test_launch_and_close_v4_v6"
- "--exclude" "test_launch_and_close"))))))
+ (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+ (when tests?
+ (add-installed-pythonpath inputs outputs)
+ (invoke "python" "-m" "pytest" "-k"
+ (string-append
+ ;; Networking isn't available for these tests.
+ "not test_integration_with_listener_ipv6"
+ " and not test_launch_and_close_v4_v6"
+ " and not test_launch_and_close_context_manager"
+ " and not test_launch_and_close"
+ " and not test_close_multiple_times"))))))))
(home-page "https://github.com/jstasiak/python-zeroconf")
(synopsis "Pure Python mDNS service discovery")
(description
--
2.30.2
- [bug#51314] [PATCH 06/29] gnu: Add python-pylru., (continued)
- [bug#51314] [PATCH 06/29] gnu: Add python-pylru., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 09/29] gnu: Add python-pyscss., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 22/29] gnu: python-colorlog: Update to 5.0.1., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 21/29] gnu: python-watchdog: Update to 0.10.7., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 15/29] gnu: Add python-sgmllib3k., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 16/29] gnu: python-feedparser: Update to 6.0.8., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 08/29] gnu: python-flask: Respect #:tests?., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 18/29] gnu: python-netifaces: Update to 0.11.0., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 07/29] gnu: python-flask: Update to 1.1.4., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 11/29] gnu: Add python-zipstream-new., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 23/29] gnu: python-zeroconf: Update to 0.33.4.,
Vinicius Monego <=
- [bug#51314] [PATCH 24/29] gnu: python-wrapt: Update to 1.12.1., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 26/29] gnu: Add octoprint-pisupport., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 25/29] gnu: python-wrapt: Enable tests., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 29/29] gnu: Add octoprint., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 27/29] gnu: Add octoprint-firmwarecheck., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 28/29] gnu: Add octoprint-filecheck., Vinicius Monego, 2021/10/21