forked from pool/python-zeroconf
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
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -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
|
||||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.osc
|
||||||
22
python-zeroconf-0.17.4-enum34-instead-of-enum-compat.patch
Normal file
22
python-zeroconf-0.17.4-enum34-instead-of-enum-compat.patch
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
From eaa2a8ed38eaa8e15036974101f11cb95eec8db1 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Ruben Undheim <ruben.undheim@gmail.com>
|
||||||
|
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',
|
||||||
|
],
|
||||||
18
python-zeroconf.changes
Normal file
18
python-zeroconf.changes
Normal file
@@ -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.
|
||||||
65
python-zeroconf.spec
Normal file
65
python-zeroconf.spec
Normal file
@@ -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
|
||||||
3
zeroconf-0.17.5.tar.gz
Normal file
3
zeroconf-0.17.5.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:51ea8affc3512259d5e702a46031139c2eaefe2a0891990e5866d0b5a436112e
|
||||||
|
size 18428
|
||||||
Reference in New Issue
Block a user