[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#51314] [PATCH v2 18/24] gnu: python-zeroconf: Update to 0.36.13.
From: |
Vinicius Monego |
Subject: |
[bug#51314] [PATCH v2 18/24] gnu: python-zeroconf: Update to 0.36.13. |
Date: |
Sat, 13 Nov 2021 20:02:24 +0000 |
* gnu/packages/python-xyz.scm (python-zeroconf): Update to 0.36.13.
[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 | 36 +++++++++++++++++++++---------------
1 file changed, 21 insertions(+), 15 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 63325dfc90..b3990a6115 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23449,34 +23449,40 @@ enumeration library in Python.")
(define-public python-zeroconf
(package
(name "python-zeroconf")
- (version "0.28.8")
+ (version "0.36.13")
(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 "1isz6jb14lmmqvzfgwkc8avyvib7pxpq92r2v283vjqjn7mmp0v9"))))
(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
- "Pure Python multicast DNS (mDNS) service discovery library (Bonjour/Avahi
-compatible).")
+ (description "Pure Python multicast DNS (mDNS) service discovery library
+(Bonjour/Avahi compatible).")
(license license:lgpl2.1+)))
(define-public python2-zeroconf
--
2.30.2
- [bug#51314] [PATCH v2 10/24] gnu: Add python-pytest-doctest-custom., (continued)
- [bug#51314] [PATCH v2 10/24] gnu: Add python-pytest-doctest-custom., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 12/24] gnu: python-feedparser: Enable tests., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 11/24] gnu: python-feedparser: Update to 6.0.8., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 09/24] gnu: Add python-sentry-sdk., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 15/24] gnu: python-pkginfo: Update to 1.7.1., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 14/24] gnu: python-websocket-client: Update to 0.59.0., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 13/24] gnu: python-netifaces: Update to 0.11.0., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 16/24] gnu: python-watchdog: Update to 2.1.6., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 17/24] gnu: python-colorlog: Update to 6.6.0., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 19/24] gnu: python-wrapt: Update to 1.13.3., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 18/24] gnu: python-zeroconf: Update to 0.36.13.,
Vinicius Monego <=
- [bug#51314] [PATCH v2 24/24] gnu: Add octoprint., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 21/24] gnu: Add octoprint-pisupport., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 20/24] gnu: python-wrapt: Enable tests., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 23/24] gnu: Add octoprint-filecheck., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 22/24] gnu: Add octoprint-firmwarecheck., Vinicius Monego, 2021/11/13