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:
@@ -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>
|
Sat Jul 17 13:37:23 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -19,16 +19,18 @@
|
|||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-scp
|
Name: python-scp
|
||||||
Version: 0.13.6
|
Version: 0.14.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: SSH scp module for paramiko
|
Summary: SSH scp module for paramiko
|
||||||
License: LGPL-2.1-or-later
|
License: LGPL-2.1-or-later
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/jbardin/scp.py
|
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 paramiko}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: openssh-clients
|
||||||
|
BuildRequires: openssh-server
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-paramiko
|
Requires: python-paramiko
|
||||||
BuildArch: noarch
|
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.
|
and has only been tested with this implementation.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n scp-%{version}
|
%setup -q -n scp.py-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
@@ -50,8 +52,9 @@ and has only been tested with this implementation.
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# tests require running ssh server
|
export SCPPY_PORT=10022
|
||||||
#%%python_exec -m unittest discover
|
./.ci/setup_ssh.sh
|
||||||
|
%pyunittest -v
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
|
@@ -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
3
scp-0.14.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:bb70933f61b83f0e99ba772f04fed71e5b96520106433c26224356b1fe9c017c
|
||||||
|
size 11858
|
Reference in New Issue
Block a user