2008-09-30 02:50:30 +00:00
|
|
|
#
|
2011-09-21 09:12:24 +00:00
|
|
|
# spec file for package python-paramiko
|
2008-09-30 02:50:30 +00:00
|
|
|
#
|
2012-03-12 21:04:30 +00:00
|
|
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2008-09-30 02:50:30 +00:00
|
|
|
#
|
|
|
|
|
# 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 http://bugs.opensuse.org/
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: python-paramiko
|
- Update to version 1.9.0:
+ #97 (with a little #93): Improve config parsing of ProxyCommand directives
and provide a wrapper class to allow subprocess-driven proxy commands to be
used as sock= arguments for SSHClient.connect.
+ #77: Allow SSHClient.connect() to take an explicit sock parameter
overriding creation of an internal, implicit socket object.
- Changes from version 1.8.1:
+ #90: Ensure that callbacks handed to SFTPClient.get() always fire at least
once, even for zero-length files downloaded. Thanks to Github user @enB for
the catch.
+ #85: Paramiko's test suite overrides
unittest.TestCase.assertTrue/assertFalse to provide these modern assertions
to Python 2.2/2.3, which lacked them. However on newer Pythons such as 2.7,
this now causes deprecation warnings. The overrides have been patched to only
execute when necessary. Thanks to @Arfrever for catch & patch.
- Changes from version 1.8.0:
+ #17 ('ssh' 28): Fix spurious NoneType has no attribute 'error' and similar
exceptions that crop up on interpreter exit.
+ 'ssh' 32: Raise a more useful error explaining which known_hosts key line was
problematic, when encountering binascii issues decoding known host keys.
Thanks to @thomasvs for catch & patch.
+ 'ssh' 33: Bring ssh_config parsing more in line with OpenSSH spec, re: order of
setting overrides by Host specifiers. Specifically, the overrides now go by
file order instead of automatically sorting by Host value length. In
addition, the first value found per config key (e.g. Port, User etc)
wins, instead of the last. Thanks to Jan Brauer for the contribution.
+ 'ssh' 36: Support new server two-factor authentication option
(RequiredAuthentications2), at least re: combining key-based & password
auth. Thanks to Github user bninja.
+ 'ssh' 11: When raising an exception for hosts not listed in
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=24
2012-12-10 08:30:27 +00:00
|
|
|
Version: 1.9.0
|
2011-09-21 09:12:24 +00:00
|
|
|
Release: 0
|
2008-09-30 02:50:30 +00:00
|
|
|
Url: http://www.lag.net/paramiko/
|
2011-09-21 09:12:24 +00:00
|
|
|
Summary: SSH2 protocol library
|
|
|
|
|
License: LGPL-2.1+
|
|
|
|
|
Group: Development/Languages/Python
|
- Update to version 1.9.0:
+ #97 (with a little #93): Improve config parsing of ProxyCommand directives
and provide a wrapper class to allow subprocess-driven proxy commands to be
used as sock= arguments for SSHClient.connect.
+ #77: Allow SSHClient.connect() to take an explicit sock parameter
overriding creation of an internal, implicit socket object.
- Changes from version 1.8.1:
+ #90: Ensure that callbacks handed to SFTPClient.get() always fire at least
once, even for zero-length files downloaded. Thanks to Github user @enB for
the catch.
+ #85: Paramiko's test suite overrides
unittest.TestCase.assertTrue/assertFalse to provide these modern assertions
to Python 2.2/2.3, which lacked them. However on newer Pythons such as 2.7,
this now causes deprecation warnings. The overrides have been patched to only
execute when necessary. Thanks to @Arfrever for catch & patch.
- Changes from version 1.8.0:
+ #17 ('ssh' 28): Fix spurious NoneType has no attribute 'error' and similar
exceptions that crop up on interpreter exit.
+ 'ssh' 32: Raise a more useful error explaining which known_hosts key line was
problematic, when encountering binascii issues decoding known host keys.
Thanks to @thomasvs for catch & patch.
+ 'ssh' 33: Bring ssh_config parsing more in line with OpenSSH spec, re: order of
setting overrides by Host specifiers. Specifically, the overrides now go by
file order instead of automatically sorting by Host value length. In
addition, the first value found per config key (e.g. Port, User etc)
wins, instead of the last. Thanks to Jan Brauer for the contribution.
+ 'ssh' 36: Support new server two-factor authentication option
(RequiredAuthentications2), at least re: combining key-based & password
auth. Thanks to Github user bninja.
+ 'ssh' 11: When raising an exception for hosts not listed in
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=24
2012-12-10 08:30:27 +00:00
|
|
|
Source: http://pypi.python.org/packages/source/p/paramiko/paramiko-%{version}.tar.gz
|
2008-09-30 02:50:30 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
BuildRequires: python-devel
|
2012-06-25 10:11:05 +00:00
|
|
|
BuildRequires: python-pycrypto >= 2.1
|
2011-09-21 09:12:24 +00:00
|
|
|
BuildRequires: unzip
|
|
|
|
|
Requires: python-pycrypto >= 2.1
|
2012-03-12 21:04:30 +00:00
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
|
|
|
|
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
|
|
%else
|
2010-09-17 23:45:34 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
%endif
|
2008-09-30 02:50:30 +00:00
|
|
|
|
|
|
|
|
%description
|
2011-09-21 09:12:24 +00:00
|
|
|
This is a library for making SSH2 connections (client or server).
|
|
|
|
|
Emphasis is on using SSH2 as an alternative to SSL for making secure
|
|
|
|
|
connections between python scripts. All major ciphers and hash methods
|
|
|
|
|
are supported. SFTP client and server mode are both supported too.
|
2008-09-30 02:50:30 +00:00
|
|
|
|
|
|
|
|
%prep
|
2011-09-21 09:12:24 +00:00
|
|
|
%setup -q -n paramiko-%{version}
|
- Update to version 1.9.0:
+ #97 (with a little #93): Improve config parsing of ProxyCommand directives
and provide a wrapper class to allow subprocess-driven proxy commands to be
used as sock= arguments for SSHClient.connect.
+ #77: Allow SSHClient.connect() to take an explicit sock parameter
overriding creation of an internal, implicit socket object.
- Changes from version 1.8.1:
+ #90: Ensure that callbacks handed to SFTPClient.get() always fire at least
once, even for zero-length files downloaded. Thanks to Github user @enB for
the catch.
+ #85: Paramiko's test suite overrides
unittest.TestCase.assertTrue/assertFalse to provide these modern assertions
to Python 2.2/2.3, which lacked them. However on newer Pythons such as 2.7,
this now causes deprecation warnings. The overrides have been patched to only
execute when necessary. Thanks to @Arfrever for catch & patch.
- Changes from version 1.8.0:
+ #17 ('ssh' 28): Fix spurious NoneType has no attribute 'error' and similar
exceptions that crop up on interpreter exit.
+ 'ssh' 32: Raise a more useful error explaining which known_hosts key line was
problematic, when encountering binascii issues decoding known host keys.
Thanks to @thomasvs for catch & patch.
+ 'ssh' 33: Bring ssh_config parsing more in line with OpenSSH spec, re: order of
setting overrides by Host specifiers. Specifically, the overrides now go by
file order instead of automatically sorting by Host value length. In
addition, the first value found per config key (e.g. Port, User etc)
wins, instead of the last. Thanks to Jan Brauer for the contribution.
+ 'ssh' 36: Support new server two-factor authentication option
(RequiredAuthentications2), at least re: combining key-based & password
auth. Thanks to Github user bninja.
+ 'ssh' 11: When raising an exception for hosts not listed in
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=24
2012-12-10 08:30:27 +00:00
|
|
|
sed -i "/#!.*/d" demos/{demo_keygen,rforward,demo_simple,demo_sftp,demo}.py # Fix doc-file-dependency
|
2008-09-30 02:50:30 +00:00
|
|
|
|
|
|
|
|
%build
|
2011-09-21 09:12:24 +00:00
|
|
|
python setup.py build
|
2008-09-30 02:50:30 +00:00
|
|
|
|
|
|
|
|
%install
|
2011-09-21 09:12:24 +00:00
|
|
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
2008-09-30 02:50:30 +00:00
|
|
|
|
2012-06-25 10:11:05 +00:00
|
|
|
%check
|
|
|
|
|
python test.py
|
|
|
|
|
|
2011-09-21 09:12:24 +00:00
|
|
|
%files
|
2012-06-25 10:11:05 +00:00
|
|
|
%defattr(-,root,root)
|
2008-09-30 02:50:30 +00:00
|
|
|
%doc LICENSE README demos docs
|
2011-09-21 09:12:24 +00:00
|
|
|
%{python_sitelib}/*
|
2008-09-30 02:50:30 +00:00
|
|
|
|
|
|
|
|
%changelog
|