2016-03-16 19:09:57 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package python-zeroconf
|
|
|
|
|
#
|
Accepting request 782904 from home:pgajdos:python
- version update to 0.24.5
* Fixed issues with shared records being used where they shouldn't be (TXT, SRV, A records are
unique now), thanks to Matt Saxon
* Stopped unnecessarily excluding host-only interfaces from InterfaceChoice.all as they don't
forbid multicast, thanks to Andreas Oberritter
* Fixed repr() of IPv6 DNSAddress, thanks to Aldo Hoeben
* Removed duplicate update messages sent to listeners, thanks to Matt Saxon
* Added support for cooperating responders, thanks to Matt Saxon
* Optimized handle_response cache check, thanks to J. Nick Koston
* Fixed memory leak in DNSCache, thanks to J. Nick Koston
* Fixed resetting TTL in DNSRecord.reset_ttl(), thanks to Matt Saxon
* Improved various DNS class' string representations, thanks to Jay Hogg
OBS-URL: https://build.opensuse.org/request/show/782904
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=28
2020-03-09 11:05:41 +00:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2016-03-16 19:09:57 +00:00
|
|
|
#
|
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
2019-03-11 11:59:24 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2016-03-16 19:09:57 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
2017-03-18 09:27:59 +00:00
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
2019-03-11 11:59:24 +00:00
|
|
|
%define skip_python2 1
|
2016-03-16 19:09:57 +00:00
|
|
|
Name: python-zeroconf
|
- update to 0.27.1
* Improved the logging situation
* Large multi-resource responses are now split into separate packets which fixes a bad
mdns-repeater/ChromeCast Audio interaction ending with ChromeCast Audio crash (and possibly
some others) and improves RFC 6762 compliance, thanks to Greg Badros
* Added a warning presented when the listener passed to ServiceBrowser lacks update_service()
callback
* Added support for finding all services available in the browser example, thanks to Perry Kunder
* Removed previously deprecated ServiceInfo address constructor parameter and property
* Improved readability of logged incoming data, thanks to Erik Montnemery
* Threads are given unique names now to aid debugging, thanks to Erik Montnemery
* Fixed a regression where get_service_info() called within a listener add_service method
would deadlock, timeout and incorrectly return None, fix thanks to Erik Montnemery, but
Matt Saxon and Hmmbob were also involved in debugging it.
* Added support for multiple types to ServiceBrowser, thanks to J. Nick Koston
* Fixed a race condition where a listener gets a message before the lock is created
* Fixed a performance regression introduced in 0.26.0, thanks to J. Nick Koston (this is close in
spirit to an optimization made in 0.24.5 by the same author)
* Fixed a regression where service update listener wasn't called on IP address change (it's called
on SRV/A/AAAA record changes now), thanks to Matt Saxon
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=32
2020-06-08 19:54:45 +00:00
|
|
|
Version: 0.27.1
|
2016-03-16 19:09:57 +00:00
|
|
|
Release: 0
|
|
|
|
|
Summary: Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)
|
2019-03-11 11:59:24 +00:00
|
|
|
License: LGPL-2.0-only
|
2016-03-16 19:09:57 +00:00
|
|
|
Group: Development/Languages/Python
|
2019-03-11 11:59:24 +00:00
|
|
|
URL: https://github.com/jstasiak/python-zeroconf
|
2019-12-28 22:49:47 +00:00
|
|
|
Source: https://github.com/jstasiak/python-zeroconf/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
2019-03-11 11:59:24 +00:00
|
|
|
BuildRequires: %{python_module ifaddr}
|
2020-04-16 09:13:20 +00:00
|
|
|
BuildRequires: %{python_module pytest}
|
2017-03-18 09:27:59 +00:00
|
|
|
BuildRequires: %{python_module setuptools}
|
2019-03-11 11:59:24 +00:00
|
|
|
BuildRequires: fdupes
|
2017-03-18 09:27:59 +00:00
|
|
|
BuildRequires: python-rpm-macros
|
2019-03-11 11:59:24 +00:00
|
|
|
Requires: python-ifaddr
|
2016-03-16 19:09:57 +00:00
|
|
|
BuildArch: noarch
|
2017-03-18 09:27:59 +00:00
|
|
|
%python_subpackages
|
2016-03-16 19:09:57 +00:00
|
|
|
|
|
|
|
|
%description
|
2016-12-28 17:56:30 +00:00
|
|
|
This is a fork of pyzeroconf, a Multicast DNS Service Discovery for Python.
|
|
|
|
|
It is compatible with Bonjour and Avahi.
|
|
|
|
|
Compared to some other Zeroconf/Bonjour/Avahi Python packages, python-zeroconf
|
|
|
|
|
is not tied to Bonjour or Avahi, does not use D-Bus and
|
|
|
|
|
does not force you to use a particular event loop or python-twisted.
|
2016-03-16 19:09:57 +00:00
|
|
|
|
|
|
|
|
%prep
|
2019-12-28 22:49:47 +00:00
|
|
|
%setup -q
|
2016-03-16 19:09:57 +00:00
|
|
|
|
|
|
|
|
%build
|
2017-03-18 09:27:59 +00:00
|
|
|
%python_build
|
2016-03-16 19:09:57 +00:00
|
|
|
|
|
|
|
|
%install
|
2017-03-18 09:27:59 +00:00
|
|
|
%python_install
|
2019-12-28 22:49:47 +00:00
|
|
|
%python_expand rm -f %{buildroot}%{$python_sitelib}/zeroconf/test.py
|
2019-03-11 11:59:24 +00:00
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
|
|
|
|
|
|
%check
|
2020-04-16 09:13:20 +00:00
|
|
|
%pytest zeroconf/test.py -k 'not (test_integration_with_listener_ipv6 or test_launch)'
|
2016-03-16 19:09:57 +00:00
|
|
|
|
2019-03-11 11:59:24 +00:00
|
|
|
%files %{python_files}
|
2016-03-16 19:09:57 +00:00
|
|
|
%doc README.rst
|
2019-03-11 11:59:24 +00:00
|
|
|
%license COPYING
|
2019-12-28 22:49:47 +00:00
|
|
|
%{python_sitelib}/zeroconf*
|
2016-03-16 19:09:57 +00:00
|
|
|
|
|
|
|
|
%changelog
|