pkgsrc/security/py-paramiko/Makefile

27 lines
882 B
Makefile
Raw Normal View History

py-paramiko: updated to 2.8.0 2.8.0 2021-10-09 [Feature] Add a prefetch keyword argument to SFTPClient.get/SFTPClient.getfo so users who need to skip SFTP prefetching are able to conditionally turn it off. Thanks to Github user @h3ll0r for the PR. [Bug] Newer server-side key exchange algorithms not intended to use SHA1 (diffie-hellman-group14-sha256, diffie-hellman-group16-sha512) were incorrectly using SHA1 after all, due to a bug causing them to ignore the hash_algo class attribute. This has been corrected. Big thanks to @miverson for the report and to Benno Rice for the patch. [Support] Remove leading whitespace from OpenSSH RSA test suite static key fixture, to conform better to spec. Credit: Alex Gaynor. [Support] Add missing test suite fixtures directory to MANIFEST.in, reinstating the ability to run Paramiko’s tests from an sdist tarball. Thanks to Sandro Tosi for reporting the issue and to Blazej Michalik for the PR. [Support]: Update our CI to catch issues with sdist generation, installation and testing. [Support]: Administrivia overhaul, including but not limited to: Migrate CI to CircleCI Primary dev branch is now main (renamed) Many README edits for clarity, modernization etc; including a bunch more (and consistent) status badges & unification with main project site index PyPI page much more fleshed out (long_description is now filled in with the README; sidebar links expanded; etc) flake8, pytest configs split out of setup.cfg into their own files Invoke/invocations (used by maintainers/contributors) upgraded to modern versions
2021-10-11 11:34:52 +02:00
# $NetBSD: Makefile,v 1.41 2021/10/11 09:34:52 adam Exp $
py-paramiko: updated to 2.8.0 2.8.0 2021-10-09 [Feature] Add a prefetch keyword argument to SFTPClient.get/SFTPClient.getfo so users who need to skip SFTP prefetching are able to conditionally turn it off. Thanks to Github user @h3ll0r for the PR. [Bug] Newer server-side key exchange algorithms not intended to use SHA1 (diffie-hellman-group14-sha256, diffie-hellman-group16-sha512) were incorrectly using SHA1 after all, due to a bug causing them to ignore the hash_algo class attribute. This has been corrected. Big thanks to @miverson for the report and to Benno Rice for the patch. [Support] Remove leading whitespace from OpenSSH RSA test suite static key fixture, to conform better to spec. Credit: Alex Gaynor. [Support] Add missing test suite fixtures directory to MANIFEST.in, reinstating the ability to run Paramiko’s tests from an sdist tarball. Thanks to Sandro Tosi for reporting the issue and to Blazej Michalik for the PR. [Support]: Update our CI to catch issues with sdist generation, installation and testing. [Support]: Administrivia overhaul, including but not limited to: Migrate CI to CircleCI Primary dev branch is now main (renamed) Many README edits for clarity, modernization etc; including a bunch more (and consistent) status badges & unification with main project site index PyPI page much more fleshed out (long_description is now filled in with the README; sidebar links expanded; etc) flake8, pytest configs split out of setup.cfg into their own files Invoke/invocations (used by maintainers/contributors) upgraded to modern versions
2021-10-11 11:34:52 +02:00
DISTNAME= paramiko-2.8.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= security python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/paramiko/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.paramiko.org/
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
py-paramiko: updated to 2.5.0 2.5.0: [Feature] Updated SSHConfig.lookup so it returns a new, type-casting-friendly dict subclass (SSHConfigDict) in lieu of dict literals. This ought to be backwards compatible, and allows an easier way to check boolean or int type ssh_config values. [Feature] Add support for Curve25519 key exchange (aka curve25519-sha256@libssh.org). [Feature] Add support for encrypt-then-MAC (ETM) schemes (hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com) and two newer Diffie-Hellman group key exchange algorithms (group14, using SHA256; and group16, using SHA512). Patch courtesy of Edgar Sousa. [Support] Update our install docs with (somewhat) recently added additional dependencies; we previously only required Cryptography, but the docs never got updated after we incurred bcrypt and pynacl requirements for Ed25519 key support. Additionally, pyasn1 was never actually hard-required; it was necessary during a development branch, and is used by the optional GSSAPI support, but is not required for regular installation. Thus, it has been removed from our setup.py and its imports in the GSSAPI code made optional. [Support] Add *.pub files to the MANIFEST so distributed source packages contain some necessary test assets. Credit: Alexander Kapshuna. [Support] Add support for the modern (as of Python 3.3) import location of MutableMapping (used in host key management) to avoid the old location becoming deprecated in Python 3.8. [Support] Raise Cryptography dependency requirement to version 2.5 (from 1.5) and update some deprecated uses of its API.
2019-06-10 10:42:57 +02:00
TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
TEST_DEPENDS+= ${PYPKGPREFIX}-test-relaxed-[0-9]*:../../devel/py-test-relaxed
2020-05-17 21:34:12 +02:00
PYTHON_VERSIONED_DEPENDENCIES= test:test
do-test:
cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests
.include "../../lang/python/egg.mk"
2020-05-17 21:34:12 +02:00
.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"