pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/py-paramiko py-paramiko: updated to 2.4.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/572c6a8fb8ec
branches:  trunk
changeset: 371544:572c6a8fb8ec
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Nov 15 09:24:14 2017 +0000

description:
py-paramiko: updated to 2.4.0

2.4.0:

[Feature]: Add a new passphrase kwarg to SSHClient.connect so users may disambiguate key-decryption passphrases from password-auth passwords. (This is a backwards compatible change; password will 
still pull double duty as a passphrase when passphrase is not given.)
[Support]: Drop Python 2.6 and Python 3.3 support; now only 2.7 and 3.4+ are supported. If you?re unable to upgrade from 2.6 or 3.3, please stick to the Paramiko 2.3.x (or below) release lines.
[Support]: Include LICENSE file in wheel archives.
[Support]: Updated the test suite & related docs/metadata/config to be compatible with pytest instead of using the old, custom, crufty unittest-based test.py.

This includes marking known-slow tests (mostly the SFTP ones) so they can be filtered out by inv test?s default behavior; as well as other minor tweaks to test collection and/or display (for example, 
GSSAPI tests are collected, but skipped, instead of not even being collected by default as in test.py.)

[Support]: Update tearDown of client test suite to avoid hangs due to eternally blocking accept() calls on the internal server thread (which can occur when test code raises an exception before 
actually connecting to the server.)

diffstat:

 security/py-paramiko/Makefile |   8 +++++---
 security/py-paramiko/distinfo |  11 ++++++-----
 2 files changed, 11 insertions(+), 8 deletions(-)

diffs (41 lines):

diff -r f20ee5337046 -r 572c6a8fb8ec security/py-paramiko/Makefile
--- a/security/py-paramiko/Makefile     Wed Nov 15 09:23:17 2017 +0000
+++ b/security/py-paramiko/Makefile     Wed Nov 15 09:24:14 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.30 2017/10/25 06:38:53 adam Exp $
+# $NetBSD: Makefile,v 1.31 2017/11/15 09:24:14 adam Exp $
 
-DISTNAME=      paramiko-2.3.1
+DISTNAME=      paramiko-2.4.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    security python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/paramiko/}
@@ -14,9 +14,11 @@
 DEPENDS+=      ${PYPKGPREFIX}-bcrypt>=3.1.3:../../security/py-bcrypt
 DEPENDS+=      ${PYPKGPREFIX}-cryptography>=1.5:../../security/py-cryptography
 DEPENDS+=      ${PYPKGPREFIX}-nacl>=1.0.1:../../security/py-nacl
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-relaxed-[0-9]*:../../devel/py-test-relaxed
 
 do-test:
-       cd ${WRKSRC} && ${PYTHONBIN} test.py
+       cd ${WRKSRC} && py.test-${PYVERSSUFFIX} tests
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r f20ee5337046 -r 572c6a8fb8ec security/py-paramiko/distinfo
--- a/security/py-paramiko/distinfo     Wed Nov 15 09:23:17 2017 +0000
+++ b/security/py-paramiko/distinfo     Wed Nov 15 09:24:14 2017 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.17 2017/10/12 12:42:26 adam Exp $
+$NetBSD: distinfo,v 1.18 2017/11/15 09:24:14 adam Exp $
 
-SHA1 (paramiko-2.3.1.tar.gz) = e9ba3379dc79d49adb2f754e3c2eb49f3675ae40
-RMD160 (paramiko-2.3.1.tar.gz) = 2cfde831d73b708050969b5c0aedae9f3629f4e4
-SHA512 (paramiko-2.3.1.tar.gz) = 6635f704bb26ccda10633df2b67366ed6c1647b9cbed2eb7a9fbd1c53f019e635231b3d35be63f84668871f2ff083461791a505f7a80cd5cc238d836a64804d4
-Size (paramiko-2.3.1.tar.gz) = 1244407 bytes
+SHA1 (paramiko-2.4.0.tar.gz) = 3456f941117c72f08609b52264877573394ef687
+RMD160 (paramiko-2.4.0.tar.gz) = 9e01fd112f25fc4d5c7f36a0866bbaa0ce7d1732
+SHA512 (paramiko-2.4.0.tar.gz) = 70395df3c5729e7665521451b8f48a0e04c514d109c982e33a64ac7b40a1f89d730104dcc9608cb02df46d1bdd92499ec785941bd09eb0ecfa866f2d2fd898f5
+Size (paramiko-2.4.0.tar.gz) = 1324783 bytes
+SHA1 (patch-paramiko_ssh__gss.py) = 836bfbd753d7543811f9d0319c6d61054dfefd5e



Home | Main Index | Thread Index | Old Index