Accepting request 824695 from home:jayvdb:dnspython-master

- Disable four tests which fail on openssl 1.1.0i and lower
- Add missing dependency requests-toolkit, and recommend
  cryptography

OBS-URL: https://build.opensuse.org/request/show/824695
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dnspython?expand=0&rev=51
This commit is contained in:
Tomáš Chvátal 2020-08-07 05:09:57 +00:00 committed by Git OBS Bridge
parent 0883a800f7
commit e1f4dde5cb
2 changed files with 14 additions and 2 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Aug 6 13:46:23 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
- Disable four tests which fail on openssl 1.1.0i and lower
- Add missing dependency requests-toolkit, and recommend
cryptography
-------------------------------------------------------------------
Sat Jul 18 10:53:18 UTC 2020 - Sebastian Wagner <sebix+novell.com@sebix.at>

View File

@ -29,10 +29,13 @@ Source: https://files.pythonhosted.org/packages/source/d/dnspython/dnspy
BuildRequires: %{python_module setuptools}
BuildRequires: python3-base >= 3.6
# SECTION tests
BuildRequires: %{python_module cryptography}
BuildRequires: %{python_module ecdsa}
BuildRequires: %{python_module idna}
BuildRequires: %{python_module pycryptodome}
BuildRequires: %{python_module requests-toolbelt}
BuildRequires: %{python_module trio >= 0.14.0}
BuildRequires: %{python_module typing}
# /SECTION tests
BuildRequires: fdupes
BuildRequires: netcfg
@ -40,10 +43,10 @@ BuildRequires: python-rpm-macros
BuildRequires: unzip
Requires: python-ecdsa
Requires: python-pycryptodome
Requires: python-requests-toolbelt
BuildArch: noarch
Recommends: python-cryptography
Recommends: python-idna >= 2.1
Recommends: python-requests
Recommends: python-requests-toolbelt
Recommends: python-trio >= 0.14.0
Recommends: python-sniffio >= 1.1
@ -62,6 +65,8 @@ manipulation of DNS zones, messages, names, and records.
%prep
%setup -q -n dnspython-%{version}
chmod -x examples/*
# Two sets of fail which fail on openssl 1.1.0i and lower
sed -Ei 's/def (testAbsoluteED)(448|25519)/def _\1\2/' tests/test_dnssec.py
%build
%python_build