15
0
Files
python-asyncssh/python-asyncssh.spec
Ondřej Súkup 60379d7bb6 Accepting request 670363 from home:mimi_vx:branches:devel:languages:python
- update to 1.15.1
 * Added callback-based host validation in SSHClient, allowing callers to decide
    programmatically whether to trust server host keys and certificates rather
    than having to provide a list of trusted values in advance.
 * Changed SSH client code to only load the default known hosts file if if exists.
    Previously an error was returned if a known_hosts value wasn't specified
    and the default known_hosts file didn't exist. For host validate to work in
    this case, verification callbacks must be implemented or other forms
    of validation such as X.509 trusted CAs or GSS-based key exchange must be used.
 * Fixed known hosts validation to completely disable certificate checks when
    known_hosts is set to None.
 * Switched curve25519 key exchange to use the PyCA implementation
 * Added get_fingerprint() method to return a fingerprint of an SSHKey.
 * Added the ability to pass keyword arguments provided in the scp() command
    through to asyncssh.connect() calls it makes, allowing things like custom
    credentials to be specified.
 * Added support for a reuse_port argument in create_server().
 * Added support for "soft" EOF when line editing in enabled
 * Added support for the Windows 10 OpenSSH ssh-agent.
 * Reworked scoped link-local IPv6 address normalization to work better on Linux systems.
 * Fixed a problem preserving directory structure in recursive scp().
 * Fixed SFTP chmod tests to avoid attempting to set the sticky bit on a plain file
 * Updated note in SSHClientChannel's send_signal() documentation to reflect
    that OpenSSH 7.9 and later should now support processing of signal messages.

OBS-URL: https://build.opensuse.org/request/show/670363
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asyncssh?expand=0&rev=3
2019-01-31 14:28:14 +00:00

75 lines
2.2 KiB
RPMSpec

#
# spec file for package python-asyncssh
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-asyncssh
Version: 1.15.1
Release: 0
Summary: AsyncSSH: Asynchronous SSHv2 client and server library
License: EPL-2.0 OR GPL-2.0-or-later
Group: Development/Languages/Python
Url: http://asyncssh.timeheart.net
Source: https://files.pythonhosted.org/packages/source/a/asyncssh/asyncssh-%{version}.tar.gz
BuildRequires: %{python_module bcrypt}
BuildRequires: %{python_module cryptography >= 1.5}
BuildRequires: %{python_module gssapi}
BuildRequires: %{python_module libnacl}
BuildRequires: %{python_module pyOpenSSL}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module uvloop}
BuildRequires: fdupes
BuildRequires: openssh
BuildRequires: openssl
BuildRequires: python-rpm-macros
Requires: python-bcrypt
Requires: python-cryptography >= 1.5
Requires: python-gssapi
Requires: python-libnacl
Requires: python-pyOpenSSL
Recommends: python-uvloop
BuildArch: noarch
%python_subpackages
%description
AsyncSSH is a Python package which provides an asynchronous client and
server implementation of the SSHv2 protocol on top of the Python 3.4+
asyncio framework.
%prep
%setup -q -n asyncssh-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec setup.py test
%files %{python_files}
%license LICENSE COPYRIGHT
%doc README.rst
%{python_sitelib}/*
%changelog