File python3-websockets.spec of Package python3-websockets
#
# spec file for package python-websockets
#
# Copyright (c) 2015 SUSE LINUX Products 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: python3-websockets
Version: 2.6
Release: 0
License: BSD-3-Clause
Summary: An implementation of the WebSocket Protocol (RFC 6455)
Url: https://github.com/aaugustin/websockets
Group: Development/Languages/Python
Source: https://pypi.python.org/packages/source/w/websockets/websockets-%{version}.tar.gz
BuildRequires: python3-devel
BuildRequires: python3-setuptools
Requires: python-async
BuildArch: noarch
%description
python3-websockets is a library for developing WebSocket servers and clients in
Python. It implements RFC 6455 with a focus on correctness and simplicity.
It passes the Autobahn Testsuite.
Built on top of Python's asynchronous I/O support introduced in PEP 3156,
it provides an API based on coroutines, making it easy to write highly
concurrent applications.
Documentation is available at http://aaugustin.github.io/websockets/.
Bug reports, patches and suggestions welcome! Just open an issue or send a
pull request on GitHub: https://github.com/aaugustin/websockets
%prep
%setup -q -n websockets-%{version}
%build
python3 setup.py build
%install
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
%files
%defattr(-,root,root,-)
%doc LICENSE README
%{python3_sitelib}/*
%changelog