forked from pool/python-cryptography
Accepting request 1098044 from home:mcepl:branches:devel:languages:python
- Add no-pytest_benchmark.patch, which remove dependency on pytest-benchmark and coveralls (We don't need no benchmarking and coverage measurement; bsc#1213005). OBS-URL: https://build.opensuse.org/request/show/1098044 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=188
This commit is contained in:
@@ -40,9 +40,9 @@ Source2: vendor.tar.zst
|
||||
Source3: cargo_config
|
||||
Source4: python-cryptography.keyring
|
||||
Patch2: skip_openssl_memleak_test.patch
|
||||
%if 0%{?sle_version} && 0%{?sle_version} <= 150400
|
||||
Patch3: remove_python_3_6_deprecation_warning.patch
|
||||
%endif
|
||||
# PATCH-FEATURE-OPENSUSE no-pytest_benchmark.patch mcepl@suse.com
|
||||
# We don't need no benchmarking and coverage measurement
|
||||
Patch4: no-pytest_benchmark.patch
|
||||
BuildRequires: %{python_module cffi >= 1.12}
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module exceptiongroup}
|
||||
@@ -59,6 +59,9 @@ BuildRequires: pkgconfig(libffi)
|
||||
# python-base is not enough, we need the _ssl module
|
||||
Requires: python
|
||||
%requires_eq python-cffi
|
||||
%if 0%{?sle_version} && 0%{?sle_version} <= 150400
|
||||
Patch3: remove_python_3_6_deprecation_warning.patch
|
||||
%endif
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module cryptography >= %{version}}
|
||||
BuildRequires: %{python_module cryptography-vectors = %{version}}
|
||||
@@ -66,7 +69,6 @@ BuildRequires: %{python_module hypothesis >= 1.11.4}
|
||||
BuildRequires: %{python_module iso8601}
|
||||
BuildRequires: %{python_module pretend}
|
||||
BuildRequires: %{python_module pytest > 6.0}
|
||||
BuildRequires: %{python_module pytest-benchmark}
|
||||
BuildRequires: %{python_module pytest-subtests}
|
||||
BuildRequires: %{python_module pytest-xdist}
|
||||
BuildRequires: %{python_module pytz}
|
||||
|
Reference in New Issue
Block a user