commit d51f6dd70c4aa10cff8478052a7e7037f1f92f70cffea87b14fd732a8ac2055a Author: Thomas Bechtold Date: Thu Mar 9 06:26:34 2017 +0000 Accepting request 477342 from home:alois:branches:devel:languages:python OBS-URL: https://build.opensuse.org/request/show/477342 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hyperframe?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/hyperframe-4.0.2.tar.gz b/hyperframe-4.0.2.tar.gz new file mode 100644 index 0000000..d15ad7e --- /dev/null +++ b/hyperframe-4.0.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:12e0336997f564135ff5e1a3c667fad6fa2e8faa3ba7397352dabb2fc1871033 +size 16831 diff --git a/python-hyperframe.changes b/python-hyperframe.changes new file mode 100644 index 0000000..9ee8818 --- /dev/null +++ b/python-hyperframe.changes @@ -0,0 +1,21 @@ +------------------------------------------------------------------- +Mon Mar 6 19:04:06 UTC 2017 - aloisio@gmx.com + +- Update to version 4.0.2 + * Fixed AltSvc stream association, which was incorrectly set + to ``'both'``: should have been ``'either'``. + * Fixed a bug where stream IDs on received frames were + allowed to be 32-bit, instead of 31-bit. + * Fixed a bug with frames that had the ``PADDING`` flag set + but zero-length padding, whose flow-controlled length was + calculated wrongly. + * Miscellaneous performance improvements to serialization + and parsing logic. + +- Converted to single-spec + +------------------------------------------------------------------- +Thu Feb 2 23:14:46 UTC 2017 - aloisio@gmx.com + +- Initial package (4.0.1) + diff --git a/python-hyperframe.spec b/python-hyperframe.spec new file mode 100644 index 0000000..0e89ee5 --- /dev/null +++ b/python-hyperframe.spec @@ -0,0 +1,56 @@ +# +# spec file for package python-hyperframe +# +# Copyright (c) 2017 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-hyperframe +Version: 4.0.2 +Release: 0 +Summary: HTTP/2 framing layer for Python +License: MIT +Group: Development/Languages/Python +Url: http://hyper.rtfd.org +Source0: https://pypi.io/packages/source/h/hyperframe/hyperframe-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%python_subpackages + +%description +This library contains the HTTP/2 framing code used in the hyper project. +It provides a pure-Python codebase that is capable of decoding a binary +stream into HTTP/2 frames. + +%prep +%setup -q -n hyperframe-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes -s %{buildroot}%{$python_sitelib} + +%files %{python_files} +%defattr(-,root,root,-) +%doc LICENSE README.rst CONTRIBUTORS.rst HISTORY.rst +%{python_sitelib}/hyperframe +%{python_sitelib}/hyperframe-%{version}-py%{py_ver}.egg-info + +%changelog