forked from pool/python-paramiko
Accepting request 542196 from home:mimi_vx:branches:devel:languages:python
- update to 2.4.0
+ new pytest based testsuite
* dd a new passphrase kwarg to SSHClient.connect so users may disambiguate
key-decryption passphrases from password-auth passwords.
* Drop Python 2.6 and Python 3.3 support
OBS-URL: https://build.opensuse.org/request/show/542196
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=68
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-paramiko
|
||||
Version: 2.3.1
|
||||
Version: 2.4.0
|
||||
Release: 0
|
||||
Url: http://www.paramiko.org/
|
||||
Summary: SSH2 protocol library
|
||||
@@ -38,6 +38,11 @@ BuildRequires: %{python_module pyasn1 >= 0.1.7}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
%if %{with test}
|
||||
|
||||
BuildRequires: %{python_module pytest-relaxed}
|
||||
BuildRequires: %{python_module pytest}
|
||||
%endif
|
||||
Requires: python-PyNaCl >= 1.0.1
|
||||
Requires: python-bcrypt >= 3.1.3
|
||||
Requires: python-cryptography >= 1.5
|
||||
@@ -81,7 +86,7 @@ tar xvzf %{SOURCE1} -C tests/
|
||||
%if %{with test}
|
||||
%check
|
||||
export LANG=en_US.UTF-8
|
||||
%python_exec test.py
|
||||
%python_expand pytest-%{$python_bin_suffix}
|
||||
%endif
|
||||
|
||||
%files %{python_files}
|
||||
|
||||
Reference in New Issue
Block a user