forked from pool/python-gunicorn
Accepting request 1252310 from home:dgarcia:branches:devel:languages:python
- Add missing dependency python-packaging, bsc#1239443 OBS-URL: https://build.opensuse.org/request/show/1252310 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gunicorn?expand=0&rev=63
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 12 07:43:22 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
- Add missing dependency python-packaging, bsc#1239443
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 24 08:29:17 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-gunicorn
|
||||
#
|
||||
# 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
|
||||
@@ -40,6 +40,8 @@ BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
Requires: python-packaging
|
||||
Requires: (python-importlib_metadata if python-base < 3.8)
|
||||
Suggests: python-evenlet
|
||||
Suggests: python-gevent
|
||||
Suggests: python-gthread
|
||||
@@ -56,6 +58,8 @@ BuildRequires: python3-Sphinx
|
||||
BuildRequires: %{python_module eventlet}
|
||||
BuildRequires: %{python_module gevent >= 1.4}
|
||||
BuildRequires: %{python_module gunicorn}
|
||||
BuildRequires: %{python_module importlib_metadata if %python-base < 3.8}
|
||||
BuildRequires: %{python_module packaging}
|
||||
BuildRequires: %{python_module pytest-cov}
|
||||
BuildRequires: %{python_module pytest}
|
||||
%endif
|
||||
@@ -81,13 +85,12 @@ This package contains the documentation.
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%setup -q -n gunicorn-%{version}
|
||||
%autosetup -p1 -n gunicorn-%{version}
|
||||
# remove version pinning for test requirements
|
||||
sed -i 's/==.*//' requirements_test.txt
|
||||
sed -i -e '/cover/d' requirements_test.txt
|
||||
# do not check coverage
|
||||
sed -i -e 's/--cov[^ ]*//' -e 's/--cov-report[^ ]*//' setup.cfg
|
||||
%autopatch -p1
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
|
Reference in New Issue
Block a user