From 9e0181814c9a155d0fd2468785afe8f8db3f6bd0c2614b1e96842e6ecf950757 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Tue, 13 May 2025 16:58:10 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main python-scp revision 204e3ee37ea38aeed403044bd4260967 --- .gitattributes | 23 +++++++++++++++++ python-scp.changes | 48 ++++++++++++++++++++++++++++++++++++ python-scp.spec | 61 ++++++++++++++++++++++++++++++++++++++++++++++ scp-0.13.2.tar.gz | 3 +++ 4 files changed, 135 insertions(+) create mode 100644 .gitattributes create mode 100644 python-scp.changes create mode 100644 python-scp.spec create mode 100644 scp-0.13.2.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/python-scp.changes b/python-scp.changes new file mode 100644 index 0000000..f0e1c03 --- /dev/null +++ b/python-scp.changes @@ -0,0 +1,48 @@ +------------------------------------------------------------------- +Mon Dec 14 17:47:26 UTC 2020 - John Paul Adrian Glaubitz + +- Update in SLE-15 (bsc#1176785, jsc#ECO-3105, jsc#PM-2352) + +------------------------------------------------------------------- +Mon Mar 25 13:59:28 UTC 2019 - pgajdos@suse.com + +- version update to 0.13.2 + * Fix AssertionError in recursive get() when `_rename` is set and + server sends a POPD at the end (`_depth > 0`) + +------------------------------------------------------------------- +Wed Mar 13 13:52:24 UTC 2019 - Tomáš Chvátal + +- 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 + +- Remove superfluous devel dependency for noarch package + +------------------------------------------------------------------- +Sun Aug 6 18:01:13 UTC 2017 - mardnh@gmx.de + +- Convert to singlespec + +------------------------------------------------------------------- +Mon Aug 15 09:21:22 UTC 2016 - mardnh@gmx.de + +- use python-setuptools instead of python-distribute + +------------------------------------------------------------------- +Fri Jan 22 11:26:51 UTC 2016 - mardnh@gmx.de + +- initial package + diff --git a/python-scp.spec b/python-scp.spec new file mode 100644 index 0000000..bf6129c --- /dev/null +++ b/python-scp.spec @@ -0,0 +1,61 @@ +# +# spec file for package python-scp +# +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017, Martin Hauke +# +# 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-%{**}} +Name: python-scp +Version: 0.13.2 +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 +%python_subpackages + +%description +The scp.py module uses a paramiko transport to send and receive files via the +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} + +%build +%python_build + +%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 +%doc README.rst +%{python_sitelib}/* + +%changelog diff --git a/scp-0.13.2.tar.gz b/scp-0.13.2.tar.gz new file mode 100644 index 0000000..cd9142a --- /dev/null +++ b/scp-0.13.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ef9d6e67c0331485d3db146bf9ee9baff8a48f3eb0e6c08276a8584b13bf34b3 +size 11517