summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2022-07-13 20:06:23 +0000
committeradam <adam@pkgsrc.org>2022-07-13 20:06:23 +0000
commitb509dc98feb69ee378e4c67cbd6d9549fa0fd3e7 (patch)
treef4f3e86a0095db166081c8ee67d599a3fbca9f08
parent87c81a58551ed33fbca310f47e964085bc3c50dc (diff)
downloadpkgsrc-b509dc98feb69ee378e4c67cbd6d9549fa0fd3e7.tar.gz
py-paramiko: updated to 2.11.0
2.11.0 2022-05-16 [Feature]: Add SSH config token expansion (eg %h, %p) when parsing ProxyJump directives. Patch courtesy of Bruno Inec. [Support]: Apply unittest skipIf to tests currently using SHA1 in their critical path, to avoid failures on systems starting to disable SHA1 outright in their crypto backends (eg RHEL 9). Report & patch via Paul Howarth. [Support]: Update camelCase method calls against the threading module to be snake_case; this and related tweaks should fix some deprecation warnings under Python 3.10. Thanks to Karthikeyan Singaravelan for the report, @Narendra-Neerukonda for the patch, and to Thomas Grainger and Jun Omae for patch workshopping. [Support]: Recent versions of Cryptography have deprecated Blowfish algorithm support; in lieu of an easy method for users to remove it from the list of algorithms Paramiko tries to import and use, we’ve decided to remove it from our “preferred algorithms” list. This will both discourage use of a weak algorithm, and avoid warnings. Credit for report/patch goes to Mike Roest.
-rw-r--r--security/py-paramiko/Makefile17
-rw-r--r--security/py-paramiko/distinfo8
2 files changed, 13 insertions, 12 deletions
diff --git a/security/py-paramiko/Makefile b/security/py-paramiko/Makefile
index dbfaeb1d636..77ef6e810da 100644
--- a/security/py-paramiko/Makefile
+++ b/security/py-paramiko/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.45 2022/05/05 17:59:35 adam Exp $
+# $NetBSD: Makefile,v 1.46 2022/07/13 20:06:23 adam Exp $
-DISTNAME= paramiko-2.10.4
+DISTNAME= paramiko-2.11.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= security python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/paramiko/}
@@ -11,17 +11,18 @@ COMMENT= SSH2 protocol library
LICENSE= gnu-lgpl-v2.1
DEPENDS+= ${PYPKGPREFIX}-bcrypt>=3.1.3:../../security/py-bcrypt
+DEPENDS+= ${PYPKGPREFIX}-cryptography>=2.5:../../security/py-cryptography
DEPENDS+= ${PYPKGPREFIX}-nacl>=1.0.1:../../security/py-nacl
-DEPENDS+= ${PYPKGPREFIX}-six>0:../../lang/py-six
-#TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-relaxed-[0-9]*:../../devel/py-test-relaxed
+DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
+TEST_DEPENDS+= ${PYPKGPREFIX}-mock>=2.0.0:../../devel/py-mock
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>=4.4.2:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-relaxed>=1.1.5:../../devel/py-test-relaxed
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist>=1.28.0:../../devel/py-test-xdist
-PYTHON_VERSIONED_DEPENDENCIES+= test:test
-PYTHON_VERSIONED_DEPENDENCIES+= cryptography
+PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-bcrypt
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
.include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/security/py-paramiko/distinfo b/security/py-paramiko/distinfo
index 00dfde82536..dee2a5c5bb1 100644
--- a/security/py-paramiko/distinfo
+++ b/security/py-paramiko/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.29 2022/05/05 17:59:35 adam Exp $
+$NetBSD: distinfo,v 1.30 2022/07/13 20:06:23 adam Exp $
-BLAKE2s (paramiko-2.10.4.tar.gz) = 5273f92df30dc34c939c13aedc3d232735adeb923218656a21da4f3fc24ec587
-SHA512 (paramiko-2.10.4.tar.gz) = bd467e5115f9abc9dac09c4de7a2d57173caf42b01585ee71846b8634df39048fb27bf549fa8cdf46a5c3bae781e43287f57ff3eb67ee5f37732d02cccd947a7
-Size (paramiko-2.10.4.tar.gz) = 1068156 bytes
+BLAKE2s (paramiko-2.11.0.tar.gz) = ac690ea57ab6402d6f0ef86d723de30b53e1a4196e86b622ae7b3d5c274c8c0a
+SHA512 (paramiko-2.11.0.tar.gz) = e174e704867f00e5eabae0e9d01ba4c0d1743f85a4bf5b135b31737eee51a7f25df1aedf71c106eabc0d1c3d15ec25b7417d3b3aa74ee672667c3cd30978aa91
+Size (paramiko-2.11.0.tar.gz) = 1075390 bytes