Accepting request 407224 from devel:languages:python

- fix build

- fix source url

- update to 2.0.0:
  * Add support for 384- and 512-bit elliptic curve groups in ECDSA
    key types (aka ecdsa-sha2-nistp384 / ecdsa-sha2-nistp521).
  * Due to an earlier bugfix, less-specific Host blocks' ProxyCommand
    values were overriding ProxyCommand none in more-specific Host
    blocks. This has been fixed in a backwards compatible manner (i.e.
    ProxyCommand none continues to appear as a total lack of any
    proxycommand key in parsed config structures).
  * Fix a backwards incompatibility issue that cropped up in 
    SFTPFile.prefetch <~paramiko.sftp_file.prefetch> re: the 
    erroneously non-optional file_size parameter. Should only affect 
    users who manually call prefetch. 
  * Replace PyCrypto with the Python Cryptographic Authority (PyCA)
    'Cryptography' library suite. This improves security,
    installability, and performance; adds PyPy support; and much more.
  * Fix stalled/hung SFTP downloads by cleaning up some threading lock
    issues.
  * Fix a Python 3 compatibility issue when handling two-factor
    authentication.
  * Clean up setup.py to always use setuptools, not doing so was a 
    historical artifact from bygone days.
  * Update the module in charge of handling SSH moduli so it's
    consistent with OpenSSH behavior re: prime number selection. 
  * Fix up ~paramiko.ssh_exception.NoValidConnectionsError so it 
    pickles correctly, and fix a related Python 3 compatibility issue.
  * Update to jaraco.windows 3.4.1 to fix some errors related to

OBS-URL: https://build.opensuse.org/request/show/407224
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-paramiko?expand=0&rev=28
This commit is contained in:
Dominique Leuenberger 2016-07-14 07:46:16 +00:00 committed by Git OBS Bridge
commit 1c055e7d07
4 changed files with 70 additions and 10 deletions

View File

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

3
paramiko-2.0.0.tar.gz Normal file
View File

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

View File

@ -1,3 +1,64 @@
-------------------------------------------------------------------
Fri Jul 8 08:50:08 UTC 2016 - dmueller@suse.com
- fix build
-------------------------------------------------------------------
Mon Jun 6 11:32:04 UTC 2016 - dmueller@suse.com
- fix source url
-------------------------------------------------------------------
Sun May 8 21:11:31 UTC 2016 - hpj@urpla.net
- update to 2.0.0:
* Add support for 384- and 512-bit elliptic curve groups in ECDSA
key types (aka ecdsa-sha2-nistp384 / ecdsa-sha2-nistp521).
* Due to an earlier bugfix, less-specific Host blocks' ProxyCommand
values were overriding ProxyCommand none in more-specific Host
blocks. This has been fixed in a backwards compatible manner (i.e.
ProxyCommand none continues to appear as a total lack of any
proxycommand key in parsed config structures).
* Fix a backwards incompatibility issue that cropped up in
SFTPFile.prefetch <~paramiko.sftp_file.prefetch> re: the
erroneously non-optional file_size parameter. Should only affect
users who manually call prefetch.
* Replace PyCrypto with the Python Cryptographic Authority (PyCA)
'Cryptography' library suite. This improves security,
installability, and performance; adds PyPy support; and much more.
* Fix stalled/hung SFTP downloads by cleaning up some threading lock
issues.
* Fix a Python 3 compatibility issue when handling two-factor
authentication.
* Clean up setup.py to always use setuptools, not doing so was a
historical artifact from bygone days.
* Update the module in charge of handling SSH moduli so it's
consistent with OpenSSH behavior re: prime number selection.
* Fix up ~paramiko.ssh_exception.NoValidConnectionsError so it
pickles correctly, and fix a related Python 3 compatibility issue.
* Update to jaraco.windows 3.4.1 to fix some errors related to
ctypes on Windows platforms.
* Annotate some public attributes on ~paramiko.channel.Channel such
as .closed.
* Fix logic bug in the SFTP client's callback-calling functionality;
previously there was a chance the given callback would fire twice
at the end of a transfer.
* Identify & work around a race condition in the test for handshake
timeouts, which was causing frequent test failures for a subset of
contributors as well as Travis-CI (usually, but not always,
limited to Python 3.5).
* Remove whitespace in our setup.py's install_requires as it
triggers occasional bugs in some versions of setuptools.
* Strip trailing/leading whitespace from lines when parsing SSH
config files - this brings things in line with OpenSSH behavior.
* Fix behavior of gssapi-with-mic auth requests so they fail
gracefully (allowing followup via other auth methods) instead of
raising an exception.
* Add missing file-like object methods for ~paramiko.file.BufferedFile
and ~paramiko.sftp_file.SFTPFile.
* Clean up and enhance the README (and rename it to README.rst from
just README).
-------------------------------------------------------------------
Mon Feb 1 11:26:44 UTC 2016 - toddrme2178@gmail.com

View File

@ -17,19 +17,18 @@
Name: python-paramiko
Version: 1.16.0
Version: 2.0.0
Release: 0
Url: https://github.com/paramiko/paramiko/
Summary: SSH2 protocol library
License: LGPL-2.1+
Group: Development/Languages/Python
Source: https://pypi.python.org/packages/source/p/paramiko/paramiko-%{version}.tar.gz
Source: https://pypi.io/packages/source/p/paramiko/paramiko-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-cryptography
BuildRequires: python-devel
BuildRequires: python-ecdsa
BuildRequires: python-pycrypto >= 2.1
Requires: python-ecdsa >= 0.11
Requires: python-pycrypto >= 2.1
BuildRequires: python-setuptools
Requires: python-cryptography
%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
@ -59,7 +58,7 @@ LANG=en_US.UTF-8 python test.py --no-transport
%files
%defattr(-,root,root)
%doc LICENSE README demos docs
%doc LICENSE README.rst demos
%{python_sitelib}/*
%changelog