From b95f3e07970d503df2979c2eb4175dd4c3773a52f7f8481cb105504a659026ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Wed, 24 Feb 2021 10:05:24 +0000 Subject: [PATCH] Accepting request 874645 from home:jayvdb:py-submit dep of pproxy, dep of httpcore/httpx OBS-URL: https://build.opensuse.org/request/show/874645 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aioquic?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++ .gitignore | 1 + aioquic-0.9.7.tar.gz | 3 ++ python-aioquic.changes | 9 ++++++ python-aioquic.spec | 72 ++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 108 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 aioquic-0.9.7.tar.gz create mode 100644 python-aioquic.changes create mode 100644 python-aioquic.spec 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/aioquic-0.9.7.tar.gz b/aioquic-0.9.7.tar.gz new file mode 100644 index 0000000..beff990 --- /dev/null +++ b/aioquic-0.9.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c73131f3a7c26bc93d10b07fdc5cb1db3d6293ee9e000c0908c44b7c0e7e6026 +size 142136 diff --git a/python-aioquic.changes b/python-aioquic.changes new file mode 100644 index 0000000..c2cd718 --- /dev/null +++ b/python-aioquic.changes @@ -0,0 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 23 14:39:20 UTC 2021 - John Vandenberg + +- Update to v0.9.7 + +------------------------------------------------------------------- +Tue Feb 18 07:00:02 PM UTC 2020 - John Vandenberg + +- Initial spec for v0.8.5 diff --git a/python-aioquic.spec b/python-aioquic.spec new file mode 100644 index 0000000..e11ec83 --- /dev/null +++ b/python-aioquic.spec @@ -0,0 +1,72 @@ +# +# spec file for package python-aioquic +# +# Copyright (c) 2021 SUSE LLC +# +# 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 https://bugs.opensuse.org/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 +Name: python-aioquic +Version: 0.9.7 +Release: 0 +Summary: Python implementation of QUIC and HTTP/3 +License: BSD-3-Clause +Group: Development/Languages/Python +URL: https://github.com/aiortc/aioquic +Source: https://files.pythonhosted.org/packages/source/a/aioquic/aioquic-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: pkgconfig +BuildRequires: python-rpm-macros +BuildRequires: pkgconfig(openssl) +Requires: python-certifi +Requires: python-cryptography >= 2.5 +Requires: python-pylsqpack >= 0.3.3 +Requires: (python-dataclasses if python-base < 3.8) +# SECTION test requirements +BuildRequires: %{python_module certifi} +BuildRequires: %{python_module cryptography >= 2.5} +BuildRequires: %{python_module pylsqpack >= 0.3.3} +BuildRequires: (python3-dataclasses if python3-base < 3.8) +BuildRequires: (python36-dataclasses if python36-base) +# /SECTION +%python_subpackages + +%description +An implementation of QUIC and HTTP/3. + +%prep +%setup -q -n aioquic-%{version} + +%build +export CFLAGS="%{optflags}" +%python_build + +%install +%python_install +%{python_expand rm %{buildroot}%{$python_sitearch}/aioquic/*.c +%fdupes %{buildroot}%{$python_sitearch} +} + +%check +%pyunittest_arch -v + +%files %{python_files} +%doc README.rst +%license LICENSE +%{python_sitearch}/* + +%changelog