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>
This commit is contained in:
parent
abb259b1bf
commit
33898cd5b7
1 changed files with 24 additions and 18 deletions
|
@ -23424,34 +23424,40 @@ (define-public python-ifaddr
|
||||||
(define-public python-zeroconf
|
(define-public python-zeroconf
|
||||||
(package
|
(package
|
||||||
(name "python-zeroconf")
|
(name "python-zeroconf")
|
||||||
(version "0.28.8")
|
(version "0.38.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method git-fetch) ; no tests in PyPI release
|
||||||
(uri (pypi-uri "zeroconf" version))
|
(uri (git-reference
|
||||||
|
(url "https://github.com/jstasiak/python-zeroconf")
|
||||||
|
(commit version)))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "1p1a0ywlg5sq0ilcphmz9h4kayscz0q1lyfk57j7mwxyx4gl9cpi"))))
|
||||||
"0narq8haa3b375vfblbyil77n8bw0wxqnanl91pl0wwwm884mqjb"))))
|
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(native-inputs
|
|
||||||
(list python-nose))
|
|
||||||
(propagated-inputs
|
|
||||||
(list python-ifaddr))
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda _ ;; Networking isn't available for these tests.
|
(lambda* (#:key inputs outputs tests? #:allow-other-keys)
|
||||||
(invoke "nosetests" "-v"
|
(when tests?
|
||||||
"--exclude" "test_integration_with_listener_ipv6"
|
(add-installed-pythonpath inputs outputs)
|
||||||
"--exclude" "test_launch_and_close_v6_only"
|
(invoke "python" "-m" "pytest" "-k"
|
||||||
"--exclude" "test_launch_and_close_v4_v6"
|
(string-append
|
||||||
"--exclude" "test_launch_and_close"))))))
|
;; 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")
|
(home-page "https://github.com/jstasiak/python-zeroconf")
|
||||||
(synopsis "Pure Python mDNS service discovery")
|
(synopsis "Pure Python mDNS service discovery")
|
||||||
(description
|
(description "Pure Python multicast DNS (mDNS) service discovery library
|
||||||
"Pure Python multicast DNS (mDNS) service discovery library (Bonjour/Avahi
|
(Bonjour/Avahi compatible).")
|
||||||
compatible).")
|
|
||||||
(license license:lgpl2.1+)))
|
(license license:lgpl2.1+)))
|
||||||
|
|
||||||
(define-public python2-zeroconf
|
(define-public python2-zeroconf
|
||||||
|
|
Loading…
Reference in a new issue