commit 41dbff42823f225f539e97ee108d8d1634996ec09cb8edf7818d937d8fe25a8e Author: Todd R Date: Wed Mar 16 19:09:57 2016 +0000 Accepting request 373941 from home:1Antoine1 OBS-URL: https://build.opensuse.org/request/show/373941 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-zeroconf-0.17.4-enum34-instead-of-enum-compat.patch b/python-zeroconf-0.17.4-enum34-instead-of-enum-compat.patch new file mode 100644 index 0000000..88b3682 --- /dev/null +++ b/python-zeroconf-0.17.4-enum34-instead-of-enum-compat.patch @@ -0,0 +1,22 @@ +From eaa2a8ed38eaa8e15036974101f11cb95eec8db1 Mon Sep 17 00:00:00 2001 +From: Ruben Undheim +Date: Sun, 6 Mar 2016 10:26:23 +0100 +Subject: Set install_requires to enum34 instead of enum-compat + +--- + setup.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/setup.py b/setup.py +index 54e05e1..653d963 100755 +--- a/setup.py ++++ b/setup.py +@@ -51,7 +51,7 @@ setup( + 'mDNS', + ], + install_requires=[ +- 'enum-compat', ++ 'enum34', + 'netifaces', + 'six', + ], diff --git a/python-zeroconf.changes b/python-zeroconf.changes new file mode 100644 index 0000000..ba2d575 --- /dev/null +++ b/python-zeroconf.changes @@ -0,0 +1,18 @@ +------------------------------------------------------------------- +Wed Mar 16 17:41:13 UTC 2016 - antoine.belvire@laposte.net + +- Update to 0.17.5: + * Fix OpenBSD compatibility, thanks to Alessio Sergi + * Fix race condition on ServiceBrowser startup, thanks to + gbiddison + * Fix installation on some Python 3 systems, thanks to Per + Sandström + * Fixed "size change during iteration" bug on Python 3, thanks to + gbiddison + +------------------------------------------------------------------- +Thu Mar 10 18:57:49 UTC 2016 - antoine.belvire@laposte.net + +- New package: python-zeroconf-0.17.4 +- Add python-zeroconf-0.17.4-enum34-instead-of-enum-compat.patch: +there is no need for a virtual python-enum-compat package here. diff --git a/python-zeroconf.spec b/python-zeroconf.spec new file mode 100644 index 0000000..2ddb542 --- /dev/null +++ b/python-zeroconf.spec @@ -0,0 +1,65 @@ +# +# spec file for package python-zeroconf +# +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# +# 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. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +Name: python-zeroconf +Version: 0.17.5 +Release: 0 +Summary: Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible) +License: LGPL-2.0 +Group: Development/Languages/Python +Url: https://github.com/jstasiak/python-zeroconf +Source: https://pypi.python.org/packages/source/z/zeroconf/zeroconf-%{version}.tar.gz +# PATCH-FIX-OPENSUSE python-zeroconf-0.17.4-enum34-instead-of-enum-compat.patch -- replace enum-compat by enum34 (picked from Debian) +Patch: python-zeroconf-0.17.4-enum34-instead-of-enum-compat.patch +BuildRequires: python-devel +BuildRequires: python-setuptools +Requires: python-enum34 +Requires: python-netifaces +Requires: python-six +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch + +%description +This is fork of pyzeroconf, Multicast DNS Service Discovery for Python, +originally by Paul Scott-Murphy, modified by William McBrine. + +Compatible with: +* Bonjour +* Avahi + +Compared to some other Zeroconf/Bonjour/Avahi Python packages, python-zeroconf: +* isn't tied to Bonjour or Avahi +* doesn't use D-Bus +* doesn't force you to use particular event loop or Twisted + +%prep +%setup -q -n zeroconf-%{version} +%patch -p1 + +%build +python setup.py build + +%install +python setup.py install --prefix=%{_prefix} --root=%{buildroot} + +%files +%defattr(-,root,root,-) +%doc README.rst +%{python_sitelib}/* + +%changelog diff --git a/zeroconf-0.17.5.tar.gz b/zeroconf-0.17.5.tar.gz new file mode 100644 index 0000000..1c1efab --- /dev/null +++ b/zeroconf-0.17.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:51ea8affc3512259d5e702a46031139c2eaefe2a0891990e5866d0b5a436112e +size 18428