git: 40337e02b519 - main - security/py-netmiko: Update to 4.4.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 13 Jul 2024 07:26:29 UTC
The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=40337e02b519a200b85b8b675d54d0ca8bfbce8a commit 40337e02b519a200b85b8b675d54d0ca8bfbce8a Author: Kai Knoblich <kai@FreeBSD.org> AuthorDate: 2024-07-13 07:20:17 +0000 Commit: Kai Knoblich <kai@FreeBSD.org> CommitDate: 2024-07-13 07:25:36 +0000 security/py-netmiko: Update to 4.4.0 Changelog: https://github.com/ktbyers/netmiko/releases/tag/v4.4.0 --- security/py-netmiko/Makefile | 10 +++++----- security/py-netmiko/distinfo | 6 +++--- security/py-netmiko/files/patch-pyproject.toml | 23 ++++++++++++++++++++--- 3 files changed, 28 insertions(+), 11 deletions(-) diff --git a/security/py-netmiko/Makefile b/security/py-netmiko/Makefile index 91176b4ad1c6..74990f75d2d1 100644 --- a/security/py-netmiko/Makefile +++ b/security/py-netmiko/Makefile @@ -1,7 +1,6 @@ PORTNAME= netmiko DISTVERSIONPREFIX= v -DISTVERSION= 4.3.0 -PORTREVISION= 2 +DISTVERSION= 4.4.0 CATEGORIES= security net-mgmt python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,13 +11,14 @@ WWW= https://github.com/ktbyers/netmiko LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.3.2:devel/py-poetry-core@${PY_FLAVOR} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ntc-templates>=2.0.0:textproc/py-ntc-templates@${PY_FLAVOR} \ +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.6.1:devel/py-poetry-core@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}cffi>=1.16.0:devel/py-cffi@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ntc-templates>=3.1.0:textproc/py-ntc-templates@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}paramiko>=2.9.5:security/py-paramiko@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyserial>=3.3:comms/py-pyserial@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scp>=0.13.6:security/py-scp@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}textfsm>=1.1.3:textproc/py-textfsm@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pyyaml>=6.0.1:devel/py-pyyaml@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}pyyaml>=5.3:devel/py-pyyaml@${PY_FLAVOR} USES= python shebangfix USE_PYTHON= autoplist concurrent pep517 pytest diff --git a/security/py-netmiko/distinfo b/security/py-netmiko/distinfo index 0119d8d6b5e8..ab6fb945e776 100644 --- a/security/py-netmiko/distinfo +++ b/security/py-netmiko/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1700407948 -SHA256 (ktbyers-netmiko-v4.3.0_GH0.tar.gz) = e80e2fea7cf24c0b28c59affeef0efc86facc03b08c9c319d10cb586db95f36a -SIZE (ktbyers-netmiko-v4.3.0_GH0.tar.gz) = 1939889 +TIMESTAMP = 1720806657 +SHA256 (ktbyers-netmiko-v4.4.0_GH0.tar.gz) = 5209872ab35c5fec058097b37a31f36bd8a1e10367877dc9d77544edc3d01bed +SIZE (ktbyers-netmiko-v4.4.0_GH0.tar.gz) = 1963708 diff --git a/security/py-netmiko/files/patch-pyproject.toml b/security/py-netmiko/files/patch-pyproject.toml index 0281c285e8ad..7b6fa31e870e 100644 --- a/security/py-netmiko/files/patch-pyproject.toml +++ b/security/py-netmiko/files/patch-pyproject.toml @@ -1,13 +1,30 @@ Use the more lightweight py-poetry-core instead py-poetry and relax version requirements. ---- pyproject.toml.orig 2023-05-13 19:02:47 UTC +--- pyproject.toml.orig 2024-07-08 22:08:10 UTC +++ pyproject.toml @@ -1,6 +1,6 @@ [build-system] --requires = ["poetry==1.3.2"] +-requires = ["poetry>=1.6.1"] -build-backend = "poetry.masonry.api" -+requires = ["poetry-core>=1.3.2"] ++requires = ["poetry-core>=1.6.1"] +build-backend = "poetry.core.masonry.api" [tool.poetry] name = "netmiko" +@@ -22,14 +22,14 @@ python = ">=3.8,<4.0" + + [tool.poetry.dependencies] + python = ">=3.8,<4.0" +-setuptools = ">=65.0.0" ++setuptools = ">=63.0.0" + paramiko = ">=2.9.5" + scp = ">=0.13.6" + pyyaml = ">=5.3" + textfsm = ">=1.1.3" + ntc-templates = ">=3.1.0" + pyserial = ">=3.3" +-cffi = ">=1.17.0rc1" ++cffi = ">=1.16.0" + + [tool.poetry.group.dev.dependencies] + black = "24.4.2"