14
0
forked from pool/python-scp

- Update to 0.13.1:

* Guard against some malformed messages from the server
  * Remove all introspection logic for progress callback introduced in 0.12
  * progress callback only accept 3 arguments again
  * Introduce progress4 parameter which accepts the peername as 4th argument
  * Fix progress callback failing when it is an instance or class method
  * Fix README.rst for PyPI
  * Add possibility of getting the peer IP and port from the progress callback
  * Make putfo() work with file-like objects that don't provide getvalue()
  * Add putfo() method, allowing one to upload a file-like object
  * Add top-level get() and put() functions for convenience
  * Increase default socket time from 5 to 10 seconds

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-scp?expand=0&rev=8
This commit is contained in:
Tomáš Chvátal
2019-03-13 14:07:12 +00:00
committed by Git OBS Bridge
parent 110bc800d4
commit efff7b1845
4 changed files with 28 additions and 9 deletions

View File

@@ -1,3 +1,19 @@
-------------------------------------------------------------------
Wed Mar 13 13:52:24 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 0.13.1:
* Guard against some malformed messages from the server
* Remove all introspection logic for progress callback introduced in 0.12
* progress callback only accept 3 arguments again
* Introduce progress4 parameter which accepts the peername as 4th argument
* Fix progress callback failing when it is an instance or class method
* Fix README.rst for PyPI
* Add possibility of getting the peer IP and port from the progress callback
* Make putfo() work with file-like objects that don't provide getvalue()
* Add putfo() method, allowing one to upload a file-like object
* Add top-level get() and put() functions for convenience
* Increase default socket time from 5 to 10 seconds
-------------------------------------------------------------------
Tue Dec 4 12:54:01 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-scp
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017, Martin Hauke <mardnh@gmx.de>
#
# All modifications and additions to the file contributed by third parties
@@ -18,22 +18,20 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without test
Name: python-scp
Version: 0.10.2
Version: 0.13.0
Release: 0
Summary: SSH scp module for paramiko
License: LGPL-2.1-or-later
Group: Development/Languages/Python
URL: https://github.com/jbardin/scp.py
Source: https://files.pythonhosted.org/packages/source/s/scp/scp-%{version}.tar.gz
BuildRequires: %{python_module paramiko}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-paramiko
BuildArch: noarch
%if %{with test}
BuildRequires: %{python_module paramiko}
%endif
%python_subpackages
%description
@@ -49,6 +47,11 @@ and has only been tested with this implementation.
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# tests require running ssh server
#%%python_exec -m unittest discover
%files %{python_files}
%license LICENSE.txt

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:18f59e48df67fac0b069591609a0f4d50d781a101ddb8ec705f0c2e3501a8386
size 6230

3
scp-0.13.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cfcc275c249ae59480f88fa55c4bd7795ce8b48d3a9b8fd635d82958084b4124
size 11323