15
0

Accepting request 1114462 from home:mimi_vx:branches:devel:languages:python

- refresh remove-icecream-dep.patch
- update to 3.3.1
 detailed changelog: https://www.paramiko.org/changelog.html#

OBS-URL: https://build.opensuse.org/request/show/1114462
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=114
This commit is contained in:
2023-09-30 13:02:20 +00:00
committed by Git OBS Bridge
parent 7318e098f5
commit e3b2b75bda
5 changed files with 31 additions and 22 deletions

View File

@@ -16,10 +16,9 @@
#
%define skip_python2 1
%{?sle15_python_module_pythons}
Name: python-paramiko
Version: 3.1.0
Version: 3.3.1
Release: 0
Summary: SSH2 protocol library
License: LGPL-2.1-or-later
@@ -27,20 +26,17 @@ Group: Documentation/Other
URL: https://www.paramiko.org/
Source0: https://files.pythonhosted.org/packages/source/p/paramiko/paramiko-%{version}.tar.gz
Patch0: paramiko-test_extend_timeout.patch
# PATCH-FIX-OPENSUSE remove-icecream-dep.patch to do not depend on python-icecream
# PATCH-FIX-OPENSUSE remove-icecream-dep.patch to do not depend on python-icecream and unvendor lexicon
Patch1: remove-icecream-dep.patch
BuildRequires: %{python_module PyNaCl >= 1.0.1}
%if 0%{?suse_version} > 1500
BuildRequires: python3-Sphinx
%else
BuildRequires: %{python_module Sphinx}
%endif
BuildRequires: %{python_module bcrypt >= 3.2}
BuildRequires: %{python_module cryptography >= 3.3}
BuildRequires: %{python_module gssapi}
BuildRequires: %{python_module invocations}
BuildRequires: %{python_module invoke >= 2.0}
BuildRequires: %{python_module pyasn1 >= 0.1.7}
BuildRequires: %{python_module lexicon}
BuildRequires: %{python_module pyasn1}
BuildRequires: %{python_module pytest-relaxed}
BuildRequires: %{python_module pytest-xdist}
BuildRequires: %{python_module pytest}
@@ -49,10 +45,10 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros
Recommends: python-gssapi
Recommends: python-invoke
Recommends: python-pyasn1 >= 0.1.7
Requires: python-PyNaCl >= 1.5
Requires: python-bcrypt >= 3.2
Requires: python-cryptography >= 3.3
Requires: python-pyasn1 >= 0.1.7
BuildArch: noarch
%python_subpackages
@@ -62,7 +58,6 @@ Emphasis is on using SSH2 as an alternative to SSL for making secure
connections between python scripts. All major ciphers and hash methods
are supported. SFTP client and server mode are both supported too.
%if 0%{?suse_version} > 1500
%package -n python-paramiko-doc
Summary: Documentation for %{name}
Group: Documentation/Other
@@ -75,7 +70,6 @@ connections between python scripts. All major ciphers and hash methods
are supported. SFTP client and server mode are both supported too.
This package contains the documentation.
%endif
%prep
%autosetup -p1 -n paramiko-%{version}
@@ -101,10 +95,8 @@ donttest="k5shell"
%{python_sitelib}/paramiko
%{python_sitelib}/paramiko-%{version}*-info
%if 0%{?suse_version} > 1500
%files -n python-paramiko-doc
%license LICENSE
%endif
%doc demos/
%changelog