14
0
forked from pool/python-pycurl

- Add upstream patch test-bottle-flask.patch to use Flask instead of

bottle for tests.
  gh#pycurl/pycurl#838

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=108
This commit is contained in:
2024-09-24 10:48:42 +00:00
committed by Git OBS Bridge
parent 70e1d94b9d
commit 3ea19cb85b
3 changed files with 240 additions and 1 deletions

View File

@@ -41,6 +41,8 @@ Patch2: disable_randomly_failing_tests.patch
# PATCH-FIX-OPENSUSE make-leap15-compat.patch mcepl@suse.com
# Make tests passing with Leap 15.2
Patch3: make-leap15-compat.patch
# PATCH-FIX-UPSTREAM test-bottle-flask.patch gh#pycurl/pycurl#838
Patch4: test-bottle-flask.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
@@ -49,7 +51,7 @@ BuildRequires: python-rpm-macros
BuildRequires: pkgconfig(libcurl) >= 7.19.0
BuildRequires: pkgconfig(openssl)
%if %{with test}
BuildRequires: %{python_module bottle}
BuildRequires: %{python_module Flask}
BuildRequires: %{python_module flaky}
BuildRequires: %{python_module pytest}
%endif