From 4383f0ecfca54e353e110ffb5f5b3250634c881ff1d8d3a3f3d9a4ef020a9826 Mon Sep 17 00:00:00 2001 From: Alberto Planas Dominguez Date: Fri, 11 Aug 2017 14:34:08 +0000 Subject: [PATCH] Accepting request 515893 from home:tbechtold:branches:devel:languages:python - update to 2.2.1: * Missed a spot * Update .travis.yml * Whitespace * Having this in a mini-toctree made the nav look funny and is also just unintuitive * Changelog re #471, re #65 * these are bytes * changelog: update for #990 and #993 * ecdh kex support * flake8/whitespace * Trailing comma * Add test for posix-rename@openssh.com extension for SFTP client * Changelog re #921 * Add a note about new Python-level deps to changelog re: Ed25519 support * Add method for "posix-rename@openssh.com" extension for SFTP client. * Add IOError in posix-rename@openssh.com test for python 2 support. * this isnt bytes * Added a auth_timeout to handle situations where SSH server stops responding during auth. * small cleanups * More changelog flimflammery * Added changelog entry * python 3 compatibility * Incorrect comparison, should be <= * DDD re #857 * Improve __hash__ functions * Hrm that should always have been an h1 * No idea how this got past all the earlier flake8 work... * comments * Fixed test to support python 2.6 * Note ecdh-sha2 preferred-kex placement in changelog entry for #951, re #983 OBS-URL: https://build.opensuse.org/request/show/515893 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=64 --- paramiko-2.1.3.tar.gz | 3 -- paramiko-2.2.1.tar.gz | 3 ++ python-paramiko.changes | 73 +++++++++++++++++++++++++++++++++++++++++ python-paramiko.spec | 26 +++++++++++++-- 4 files changed, 100 insertions(+), 5 deletions(-) delete mode 100644 paramiko-2.1.3.tar.gz create mode 100644 paramiko-2.2.1.tar.gz diff --git a/paramiko-2.1.3.tar.gz b/paramiko-2.1.3.tar.gz deleted file mode 100644 index 6359fba..0000000 --- a/paramiko-2.1.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:aac8214feacbf54a9f2c5643dbed4a80f804c6e7dfe01db598c17e845395bd8e -size 1195766 diff --git a/paramiko-2.2.1.tar.gz b/paramiko-2.2.1.tar.gz new file mode 100644 index 0000000..6877526 --- /dev/null +++ b/paramiko-2.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ff94ae65379914ec3c960de731381f49092057b6dd1d24d18842ead5a2eb2277 +size 1205818 diff --git a/python-paramiko.changes b/python-paramiko.changes index 3750052..62a969b 100644 --- a/python-paramiko.changes +++ b/python-paramiko.changes @@ -1,3 +1,76 @@ +------------------------------------------------------------------- +Thu Aug 10 08:11:25 UTC 2017 - tbechtold@suse.com + +- update to 2.2.1: + * Missed a spot + * Update .travis.yml + * Whitespace + * Having this in a mini-toctree made the nav look funny and is also just unintuitive + * Changelog re #471, re #65 + * these are bytes + * changelog: update for #990 and #993 + * ecdh kex support + * flake8/whitespace + * Trailing comma + * Add test for posix-rename@openssh.com extension for SFTP client + * Changelog re #921 + * Add a note about new Python-level deps to changelog re: Ed25519 support + * Add method for "posix-rename@openssh.com" extension for SFTP client. + * Add IOError in posix-rename@openssh.com test for python 2 support. + * this isnt bytes + * Added a auth_timeout to handle situations where SSH server stops responding during auth. + * small cleanups + * More changelog flimflammery + * Added changelog entry + * python 3 compatibility + * Incorrect comparison, should be <= + * DDD re #857 + * Improve __hash__ functions + * Hrm that should always have been an h1 + * No idea how this got past all the earlier flake8 work... + * comments + * Fixed test to support python 2.6 + * Note ecdh-sha2 preferred-kex placement in changelog entry for #951, re #983 + * Changelog language tweaks + * Reorder cipher and key preferences to make more sense + * Added a test to check that the auth_timeout argument is passed through and applied. + * Changelog tweak + * Cut 2.2.1 + * transport: change order of preferred kex and hmac algorithms + * need bcrypt >= 3.1.3 for kdf() ignore_few_rounds kwarg + * Changelog re #972, re #325, closes #325 + * cleanup/simplify auth_timeout tests + * Missed a merge conflict lolol + * flake8 + * Changelog re #951 + * Perplexed at why flake8 did not report this earlier + * Add Python 3.6 to classifiers + * Add support for posix-rename@openssh.com for the SFTP server side and fix tests accordingly. + * sphinx nitpick fixes + * Fixed encoding/decoding of the public key on the wire + * Added test for authentication timeout from a non-responsive server + * refactor files + * fixed comment + consistency + * Changelog re #857 + * Cut 2.2.0 + * integration test, with ourselves + * TODO + * That was easy. Closes #857 + * Add sanity note to changelog re #869 + * Unit tests + * Fixes #325 -- add support for Ed25519 keys + * Happy New Year + * implement __hash__() method for Ed25519Key + * pep8 + * Increased auth_timeout to 30 seconds + * py3k + * fixed long line + * Link to the spec + * set a minimum version + * Support decrypting keys + * Failing test proving need for #857 +- move demos/ to extra -doc package + ------------------------------------------------------------------- Sun Jun 11 16:32:09 UTC 2017 - mimi.vx@gmail.com diff --git a/python-paramiko.spec b/python-paramiko.spec index 32c4faa..fd87d99 100644 --- a/python-paramiko.spec +++ b/python-paramiko.spec @@ -20,7 +20,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-paramiko -Version: 2.1.3 +Version: 2.2.1 Release: 0 Url: http://www.paramiko.org/ Summary: SSH2 protocol library @@ -28,15 +28,20 @@ License: LGPL-2.1+ Group: Development/Languages/Python Source: https://files.pythonhosted.org/packages/source/p/paramiko/paramiko-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: %{python_module PyNaCl >= 1.0.1} +BuildRequires: %{python_module bcrypt >= 3.1.3} BuildRequires: %{python_module cryptography >= 1.1} BuildRequires: %{python_module devel} BuildRequires: %{python_module pyasn1 >= 0.1.7} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-PyNaCl >= 1.0.1 +Requires: python-bcrypt >= 3.1.3 Requires: python-cryptography >= 1.1 Requires: python-pyasn1 >= 0.1.7 BuildArch: noarch + %python_subpackages %description @@ -45,8 +50,23 @@ 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. +%package -n python-paramiko-doc +Summary: Documentation for %{name} +Group: Documentation/Other +Provides: %{python_module paramiko-doc = %{version}} + +%description -n python-paramiko-doc +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. + +This package contains the documentation. + %prep %setup -q -n paramiko-%{version} +# Fix non-executable script rpmlint issue: +find demos -name "*.py" -exec sed -i "/#\!\/usr\/bin\/.*/d" {} \; %build %python_build @@ -64,7 +84,9 @@ export LANG=en_US.UTF-8 %files %{python_files} %defattr(-,root,root) %doc LICENSE README.rst -%doc demos/ %{python_sitelib}/* +%files -n python-paramiko-doc +%doc LICENSE demos/ + %changelog