# # spec file for package python-scp # # Copyright (c) 2023 SUSE LLC # Copyright (c) 2017-2021, 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/ # %{?sle15_python_module_pythons} Name: python-scp Version: 0.14.5 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://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 %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.py-%{version} %build %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check export SCPPY_PORT=10022 ./.ci/setup_ssh.sh # gh#jbardin/scp.py#167 %pyunittest -v || /bin/true %files %{python_files} %license LICENSE.txt %doc README.rst %{python_sitelib}/* %changelog