forked from pool/python-hypercorn
- Enable Python 3.10 builds.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypercorn?expand=0&rev=7
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 18 04:38:54 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Enable Python 3.10 builds.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jul 31 14:12:37 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
Wed Jul 31 14:12:37 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
@@ -16,8 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# avoid taskgroup backports
|
|
||||||
%define skip_python310 1
|
|
||||||
Name: python-hypercorn
|
Name: python-hypercorn
|
||||||
Version: 0.17.3
|
Version: 0.17.3
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -36,6 +34,7 @@ BuildRequires: %{python_module priority}
|
|||||||
BuildRequires: %{python_module pytest-asyncio}
|
BuildRequires: %{python_module pytest-asyncio}
|
||||||
BuildRequires: %{python_module pytest-trio}
|
BuildRequires: %{python_module pytest-trio}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
|
BuildRequires: %{python_module taskgroup if %python-base < 3.11}
|
||||||
BuildRequires: %{python_module trio >= 0.22.0}
|
BuildRequires: %{python_module trio >= 0.22.0}
|
||||||
BuildRequires: %{python_module wsproto >= 0.14.0}
|
BuildRequires: %{python_module wsproto >= 0.14.0}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
@@ -44,6 +43,12 @@ Requires: python-h11
|
|||||||
Requires: python-h2 >= 3.1.0
|
Requires: python-h2 >= 3.1.0
|
||||||
Requires: python-priority
|
Requires: python-priority
|
||||||
Requires: python-wsproto >= 0.14.0
|
Requires: python-wsproto >= 0.14.0
|
||||||
|
%if %{python_version_nodots} < 311
|
||||||
|
Requires: python-exceptiongroup >= 1.1
|
||||||
|
Requires: python-taskgroup
|
||||||
|
Requires: python-tomli
|
||||||
|
Requires: python-typing-extensions
|
||||||
|
%endif
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@@ -81,6 +86,8 @@ sed -i 's/--no-cov-on-fail//' pyproject.toml
|
|||||||
%python_uninstall_alternative hypercorn
|
%python_uninstall_alternative hypercorn
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
|
%doc README.rst
|
||||||
|
%license LICENSE
|
||||||
%{python_sitelib}/hypercorn
|
%{python_sitelib}/hypercorn
|
||||||
%{python_sitelib}/hypercorn-%{version}.dist-info
|
%{python_sitelib}/hypercorn-%{version}.dist-info
|
||||||
%python_alternative %{_bindir}/hypercorn
|
%python_alternative %{_bindir}/hypercorn
|
||||||
|
Reference in New Issue
Block a user