commit 054b7184d5e8bc7d1c48fd517e759ab35aefbee5210933fb4f27a903e9f6b448 Author: Tomáš Chvátal Date: Mon Feb 26 08:32:51 2018 +0000 Accepting request 579952 from home:alois:branches:devel:languages:python - Initial package (0.11.0) OBS-URL: https://build.opensuse.org/request/show/579952 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wsproto?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-wsproto.changes b/python-wsproto.changes new file mode 100644 index 0000000..6954e53 --- /dev/null +++ b/python-wsproto.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Sun Feb 25 16:36:25 UTC 2018 - aloisio@gmx.com + +- Initial package (0.11.0) diff --git a/python-wsproto.spec b/python-wsproto.spec new file mode 100644 index 0000000..f4a4312 --- /dev/null +++ b/python-wsproto.spec @@ -0,0 +1,64 @@ +# +# spec file for package python-wsproto +# +# 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/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-wsproto +Version: 0.11.0 +Release: 0 +Summary: WebSockets state-machine based protocol implementation +License: MIT +Group: Development/Languages/Python +URL: https://pypi.python.org/pypi/wsproto +Source: https://files.pythonhosted.org/packages/source/w/wsproto/wsproto-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildArch: noarch +%python_subpackages + +%description +This module contains a pure-Python implementation of a WebSocket +protocol stack. It's written from the ground up to be embeddable in +whatever program you choose to use, ensuring that you can +communicate via WebSockets, as defined in RFC6455 +, regardless of your +programming paradigm. + +This module does not provide a parsing layer, a network layer, or +any rules about concurrency. Instead, it's a purely in-memory +solution, defined in terms of data actions and WebSocket frames. +RFC6455 and Compression Extensions for WebSocket via RFC7692 + are fully supported. + +%prep +%setup -q -n wsproto-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%files %{python_files} +%doc README.rst +%license LICENSE +%{python_sitelib}/* + +%changelog diff --git a/wsproto-0.11.0.tar.gz b/wsproto-0.11.0.tar.gz new file mode 100644 index 0000000..41c15ed --- /dev/null +++ b/wsproto-0.11.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:02f214f6bb43cda62a511e2e8f1d5fa4703ed83d376d18d042bd2bbf2e995824 +size 41179