- remove test depending on trio, which depends on Python 3.7 if python >= 3.7 is not available.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dnspython?expand=0&rev=50
This commit is contained in:
Sebastian Wagner 2020-07-18 11:09:48 +00:00 committed by Git OBS Bridge
parent fb99f93dac
commit 0883a800f7
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Jul 18 10:53:18 UTC 2020 - Sebastian Wagner <sebix+novell.com@sebix.at>
- remove test depending on trio, which depends on Python 3.7 if python >= 3.7 is not available.
-------------------------------------------------------------------
Sat Jul 18 10:30:15 UTC 2020 - Sebastian Wagner <sebix+novell.com@sebix.at>

View File

@ -27,6 +27,7 @@ Group: Development/Languages/Python
URL: https://github.com/rthalley/dnspython
Source: https://files.pythonhosted.org/packages/source/d/dnspython/dnspython-%{version}.zip
BuildRequires: %{python_module setuptools}
BuildRequires: python3-base >= 3.6
# SECTION tests
BuildRequires: %{python_module ecdsa}
BuildRequires: %{python_module idna}
@ -70,6 +71,9 @@ chmod -x examples/*
%python_expand %fdupes %{buildroot}%{$python_sitelib}/
%check
%if %python3_version_nodots < 37
rm tests/nanonameserver.py
%endif
%python_exec setup.py test
%files %{python_files}