14
0
forked from pool/python-scp

Accepting request 918478 from home:mnhauke

- Run unittests
- Get tarball from github.com instead pythonhosted.org

- Update to 0.14.1
  * Don't fail if 'pathlib' doesn't import (Python 2)
  * Accept 'unicode' objects as paths (Python 2)
- Update to 0.14.0
  * Accept iterables other than list and tuple in get() and put()
  * Accept pathlib.Path objects

OBS-URL: https://build.opensuse.org/request/show/918478
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-scp?expand=0&rev=16
This commit is contained in:
2021-09-12 13:57:22 +00:00
committed by Git OBS Bridge
parent 826458bd83
commit db8b953d29
4 changed files with 27 additions and 8 deletions

View File

@@ -1,3 +1,19 @@
-------------------------------------------------------------------
Sat Sep 11 22:23:23 UTC 2021 - Martin Hauke <mardnh@gmx.de>
- Run unittests
- Get tarball from github.com instead pythonhosted.org
-------------------------------------------------------------------
Sat Sep 11 12:35:33 UTC 2021 - Martin Hauke <mardnh@gmx.de>
- Update to 0.14.1
* Don't fail if 'pathlib' doesn't import (Python 2)
* Accept 'unicode' objects as paths (Python 2)
- Update to 0.14.0
* Accept iterables other than list and tuple in get() and put()
* Accept pathlib.Path objects
-------------------------------------------------------------------
Sat Jul 17 13:37:23 UTC 2021 - Dirk Müller <dmueller@suse.com>

View File

@@ -19,16 +19,18 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-scp
Version: 0.13.6
Version: 0.14.1
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
Source: https://github.com/jbardin/scp.py/archive/refs/tags/v%{version}.tar.gz#/scp-%{version}.tar.gz
BuildRequires: %{python_module paramiko}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: openssh-clients
BuildRequires: openssh-server
BuildRequires: python-rpm-macros
Requires: python-paramiko
BuildArch: noarch
@@ -40,7 +42,7 @@ scp protocol. This is the protocol as referenced from the openssh scp program,
and has only been tested with this implementation.
%prep
%setup -q -n scp-%{version}
%setup -q -n scp.py-%{version}
%build
%python_build
@@ -50,8 +52,9 @@ and has only been tested with this implementation.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# tests require running ssh server
#%%python_exec -m unittest discover
export SCPPY_PORT=10022
./.ci/setup_ssh.sh
%pyunittest -v
%files %{python_files}
%license LICENSE.txt

View File

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

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

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