forked from pool/python-pyOpenSSL
Accepting request 858225 from devel:languages:python
- Adjust metadata for skip-networked-test.patch and refer to the proper upstream ticket gh#pyca/pyopenssl#68. OBS-URL: https://build.opensuse.org/request/show/858225 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyOpenSSL?expand=0&rev=39
This commit is contained in:
commit
dfb0bd50ad
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 22 22:28:30 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
- Adjust metadata for skip-networked-test.patch and refer to the proper
|
||||||
|
upstream ticket gh#pyca/pyopenssl#68.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 11 13:21:19 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
Fri Dec 11 13:21:19 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
@ -25,7 +25,9 @@ Summary: Python wrapper module around the OpenSSL library
|
|||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: https://github.com/pyca/pyopenssl
|
URL: https://github.com/pyca/pyopenssl
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/pyOpenSSL/pyOpenSSL-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/pyOpenSSL/pyOpenSSL-%{version}.tar.gz
|
||||||
Patch1: skip-networked-test.patch
|
# PATCH-FIX-UPSTREAM skip-networked-test.patch gh#pyca/pyopenssl#68 mcepl@suse.com
|
||||||
|
# Mark tests requiring network access
|
||||||
|
Patch0: skip-networked-test.patch
|
||||||
BuildRequires: %{python_module cffi}
|
BuildRequires: %{python_module cffi}
|
||||||
BuildRequires: %{python_module cryptography >= 2.8}
|
BuildRequires: %{python_module cryptography >= 2.8}
|
||||||
BuildRequires: %{python_module flaky}
|
BuildRequires: %{python_module flaky}
|
||||||
@ -71,10 +73,10 @@ other things) a cffi-based interface to OpenSSL.
|
|||||||
%check
|
%check
|
||||||
SKIPPED_TESTS="network"
|
SKIPPED_TESTS="network"
|
||||||
%if %{__isa_bits} == 32
|
%if %{__isa_bits} == 32
|
||||||
SKIPPED_TESTS="$SKIPPED_TESTS or test_verify_with_time"
|
SKIPPED_TESTS="(network or test_verify_with_time)"
|
||||||
%endif
|
%endif
|
||||||
export LC_ALL=en_US.UTF-8
|
export LC_ALL=en_US.UTF-8
|
||||||
%pytest -k "not ($SKIPPED_TESTS)"
|
%pytest -k "not $SKIPPED_TESTS"
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user