[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
15/15: gnu: python-zeroconf: Update to 0.38.1.
From: |
guix-commits |
Subject: |
15/15: gnu: python-zeroconf: Update to 0.38.1. |
Date: |
Tue, 11 Jan 2022 12:14:21 -0500 (EST) |
ngz pushed a commit to branch master
in repository guix.
commit 33898cd5b7fa5cd3c5e5af17d72ee84a95b6a5ba
Author: Vinicius Monego <monego@posteo.net>
AuthorDate: Mon Dec 27 23:30:38 2021 +0000
gnu: python-zeroconf: Update to 0.38.1.
* 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.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
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 845523c5bb..8adab7ba57 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23424,34 +23424,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
- 03/15: gnu: Add python-pyscss., (continued)
- 03/15: gnu: Add python-pyscss., guix-commits, 2022/01/11
- 10/15: gnu: python-netifaces: Update to 0.11.0., guix-commits, 2022/01/11
- 12/15: gnu: python-pkginfo: Update to 1.8.2., guix-commits, 2022/01/11
- 14/15: gnu: python-colorlog: Update to 6.6.0., guix-commits, 2022/01/11
- 05/15: gnu: Add python-zipstream-new., guix-commits, 2022/01/11
- 06/15: gnu: Add python-executing., guix-commits, 2022/01/11
- 09/15: gnu: python-feedparser: Enable tests., guix-commits, 2022/01/11
- 08/15: gnu: Add python-pytest-doctest-custom., guix-commits, 2022/01/11
- 11/15: gnu: python-websocket-client: Update to 0.59.0., guix-commits, 2022/01/11
- 13/15: gnu: python-watchdog: Update to 2.1.6., guix-commits, 2022/01/11
- 15/15: gnu: python-zeroconf: Update to 0.38.1.,
guix-commits <=
- 07/15: gnu: Add python-sentry-sdk., guix-commits, 2022/01/11