File python-socketIO-client.spec of Package python-socketIO-client

#
# spec file for package python-socketIO-client
#
# Copyright (c) 2018 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-socketIO-client
Version:        0.7.2
Release:        0
License:        MIT
Summary:        A socketio client library
Url:            https://github.com/invisibleroads/socketIO-client
Group:          Development/Languages/Python
Source:         https://files.pythonhosted.org/packages/source/s/socketIO-client/socketIO-client-%{version}.tar.gz
BuildRequires:  python-devel
BuildRequires:  python-setuptools
BuildRequires:  python-requests >= 2.7.0
BuildRequires:  python-six
BuildRequires:  python-websocket-client
# test requirements
BuildRequires:  python-coverage
BuildRequires:  python-nose
Requires:       python-requests >= 2.7.0
Requires:       python-six
Requires:       python-websocket-client
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
socket.io client library for Python.

%prep
%setup -q -n socketIO-client-%{version}

%build
python setup.py build

%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%check
python setup.py test

%files
%defattr(-,root,root,-)
%doc CHANGES.rst LICENSE README.rst
%{python_sitelib}/*

%changelog
openSUSE Build Service is sponsored by