- 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:
parent
fb99f93dac
commit
0883a800f7
@ -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>
|
Sat Jul 18 10:30:15 UTC 2020 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
||||||
|
|
||||||
|
@ -27,6 +27,7 @@ Group: Development/Languages/Python
|
|||||||
URL: https://github.com/rthalley/dnspython
|
URL: https://github.com/rthalley/dnspython
|
||||||
Source: https://files.pythonhosted.org/packages/source/d/dnspython/dnspython-%{version}.zip
|
Source: https://files.pythonhosted.org/packages/source/d/dnspython/dnspython-%{version}.zip
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: python3-base >= 3.6
|
||||||
# SECTION tests
|
# SECTION tests
|
||||||
BuildRequires: %{python_module ecdsa}
|
BuildRequires: %{python_module ecdsa}
|
||||||
BuildRequires: %{python_module idna}
|
BuildRequires: %{python_module idna}
|
||||||
@ -70,6 +71,9 @@ chmod -x examples/*
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}/
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}/
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
%if %python3_version_nodots < 37
|
||||||
|
rm tests/nanonameserver.py
|
||||||
|
%endif
|
||||||
%python_exec setup.py test
|
%python_exec setup.py test
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
|
Loading…
Reference in New Issue
Block a user