1
0

13 Commits

Author SHA256 Message Date
d0c51a6a20 Accepting request 1300718 from devel:languages:python
- Convert to libalternatives on SLE-16-based and newer systems only

OBS-URL: https://build.opensuse.org/request/show/1300718
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypercorn?expand=0&rev=7
2025-08-22 15:46:51 +00:00
5c1e110005 - Convert to libalternatives on SLE-16-based and newer systems only
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypercorn?expand=0&rev=13
2025-08-21 08:31:43 +00:00
e61c798dae Accepting request 1291696 from devel:languages:python
- Convert to libalternatives

OBS-URL: https://build.opensuse.org/request/show/1291696
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypercorn?expand=0&rev=6
2025-07-10 21:15:03 +00:00
253d48fe68 - Convert to libalternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypercorn?expand=0&rev=11
2025-07-10 13:13:17 +00:00
ae961c604a Accepting request 1249672 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1249672
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypercorn?expand=0&rev=5
2025-03-05 12:39:12 +00:00
6359f3005b - Add %{?sle15_python_module_pythons}
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypercorn?expand=0&rev=9
2025-03-03 10:30:28 +00:00
b25d1545a5 Accepting request 1231775 from devel:languages:python
- Enable Python 3.10 builds.

OBS-URL: https://build.opensuse.org/request/show/1231775
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypercorn?expand=0&rev=4
2024-12-18 19:09:07 +00:00
4a3a66fd74 - Enable Python 3.10 builds.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypercorn?expand=0&rev=7
2024-12-18 04:39:27 +00:00
2e4e8a6978 Accepting request 1190921 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1190921
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypercorn?expand=0&rev=3
2024-08-01 20:05:39 +00:00
de1ff07cc8 Accepting request 1164000 from devel:languages:python
- Reflow spec file.
- Skip a test broken by new trio.

OBS-URL: https://build.opensuse.org/request/show/1164000
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypercorn?expand=0&rev=2
2024-04-02 14:43:47 +00:00
95e6383548 - Reflow spec file.
- Skip a test broken by new trio.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypercorn?expand=0&rev=3
2024-04-02 02:08:05 +00:00
e3ff8cc966 Accepting request 1148370 from devel:languages:python
New package see https://lists.opensuse.org/archives/list/factory@lists.opensuse.org/thread/RCBCUEVNJNU5VKXU4JHHQSPTVZQFJMBS/

OBS-URL: https://build.opensuse.org/request/show/1148370
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypercorn?expand=0&rev=1
2024-02-21 16:57:36 +00:00
5f5403681f Accepting request 1141658 from home:absolutely-vivid
I want to maintain python-hypercorn in Factory and would like to use devel:languages:python as the devel project.

OBS-URL: https://build.opensuse.org/request/show/1141658
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypercorn?expand=0&rev=1
2024-01-30 12:29:23 +00:00
3 changed files with 45 additions and 7 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7fc8578cde36f3b5a08845c2ef37ff2aafb5efcbb40be561f58405fe0b8f88de
size 159038

View File

@@ -1,3 +1,23 @@
-------------------------------------------------------------------
Thu Aug 21 08:31:04 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives on SLE-16-based and newer systems only
-------------------------------------------------------------------
Thu Jul 10 13:13:00 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives
-------------------------------------------------------------------
Thu Feb 27 11:55:41 UTC 2025 - ecsos <ecsos@opensuse.org>
- Add %{?sle15_python_module_pythons}
-------------------------------------------------------------------
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>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-hypercorn
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,8 +16,12 @@
#
# avoid taskgroup backports
%define skip_python310 1
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
%else
%bcond_with libalternatives
%endif
%{?sle15_python_module_pythons}
Name: python-hypercorn
Version: 0.17.3
Release: 0
@@ -36,6 +40,7 @@ BuildRequires: %{python_module priority}
BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module pytest-trio}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module taskgroup if %python-base < 3.11}
BuildRequires: %{python_module trio >= 0.22.0}
BuildRequires: %{python_module wsproto >= 0.14.0}
BuildRequires: fdupes
@@ -44,9 +49,20 @@ Requires: python-h11
Requires: python-h2 >= 3.1.0
Requires: python-priority
Requires: python-wsproto >= 0.14.0
BuildArch: noarch
%if %{with libalternatives}
BuildRequires: alts
Requires: alts
%else
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
%endif
%if %{python_version_nodots} < 311
Requires: python-exceptiongroup >= 1.1
Requires: python-taskgroup
Requires: python-tomli
Requires: python-typing-extensions
%endif
%python_subpackages
%description
@@ -80,7 +96,12 @@ sed -i 's/--no-cov-on-fail//' pyproject.toml
%postun
%python_uninstall_alternative hypercorn
%pre
%python_libalternatives_reset_alternative hypercorn
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/hypercorn
%{python_sitelib}/hypercorn-%{version}.dist-info
%python_alternative %{_bindir}/hypercorn