[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#51314] [PATCH v3 15/21] gnu: python-zeroconf: Update to 0.38.1.
From: |
Vinicius Monego |
Subject: |
[bug#51314] [PATCH v3 15/21] gnu: python-zeroconf: Update to 0.38.1. |
Date: |
Mon, 27 Dec 2021 23:30:38 +0000 |
* gnu/packages/python-xyz.scm (python-zeroconf): Update to 0.38.1.
[source]: Fetch from GitHub.
[native-inputs]: Remove python-nose. Add python-pytest.
[arguments]<#:phases>: Adjust custom 'check phase to use Pytest.
[description]: Don't break line.
---
gnu/packages/python-xyz.scm | 42 +++++++++++++++++++++----------------
1 file changed, 24 insertions(+), 18 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e0a61329b2..b7f1e54aca 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23300,34 +23300,40 @@ enumeration library in Python.")
(define-public python-zeroconf
(package
(name "python-zeroconf")
- (version "0.28.8")
+ (version "0.38.1")
(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 "1p1a0ywlg5sq0ilcphmz9h4kayscz0q1lyfk57j7mwxyx4gl9cpi"))))
(build-system python-build-system)
- (native-inputs
- (list python-nose))
- (propagated-inputs
- (list 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"))))))))
+ (native-inputs
+ (list python-pytest))
+ (propagated-inputs
+ (list python-ifaddr))
(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 v3 03/21] gnu: Add python-pyscss., (continued)
- [bug#51314] [PATCH v3 03/21] gnu: Add python-pyscss., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 06/21] gnu: Add python-executing., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 05/21] gnu: Add python-zipstream-new., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 02/21] gnu: Add python-pylru., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 07/21] gnu: Add python-sentry-sdk., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 08/21] gnu: Add python-pytest-doctest-custom., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 09/21] gnu: python-feedparser: Enable tests., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 11/21] gnu: python-websocket-client: Update to 0.59.0., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 10/21] gnu: python-netifaces: Update to 0.11.0., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 13/21] gnu: python-watchdog: Update to 2.1.6., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 15/21] gnu: python-zeroconf: Update to 0.38.1.,
Vinicius Monego <=
- [bug#51314] [PATCH v3 19/21] gnu: Add octoprint-firmwarecheck., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 12/21] gnu: python-pkginfo: Update to 1.8.2., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 14/21] gnu: python-colorlog: Update to 6.6.0., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 18/21] gnu: Add octoprint-pisupport., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 17/21] gnu: python-wrapt: Enable tests., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 16/21] gnu: python-wrapt: Update to 1.13.3., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 20/21] gnu: Add octoprint-filecheck., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 21/21] gnu: Add octoprint., Vinicius Monego, 2021/12/27