diff options
author | Kai Knoblich <kai@FreeBSD.org> | 2024-12-12 11:54:25 +0100 |
---|---|---|
committer | Kai Knoblich <kai@FreeBSD.org> | 2024-12-12 11:54:25 +0100 |
commit | 365b0c32fad29e2a511a3781f290642955cbdb8d (patch) | |
tree | 95bfe5fb2bd0396a591155d06ae92a7f43d20912 /security | |
parent | filesystems/davfs2: new port had been added (+) (diff) |
security/py-netmiko: Update to 4.5.0
* Support for Python 3.8 was dropped with this release, adjust
USES=python accordingly.
Changelog:
https://github.com/ktbyers/netmiko/releases/tag/v4.5.0
Diffstat (limited to 'security')
-rw-r--r-- | security/py-netmiko/Makefile | 15 | ||||
-rw-r--r-- | security/py-netmiko/distinfo | 6 | ||||
-rw-r--r-- | security/py-netmiko/files/patch-pyproject.toml | 18 |
3 files changed, 17 insertions, 22 deletions
diff --git a/security/py-netmiko/Makefile b/security/py-netmiko/Makefile index 74990f75d2d1..2a8511d310bc 100644 --- a/security/py-netmiko/Makefile +++ b/security/py-netmiko/Makefile @@ -1,6 +1,6 @@ PORTNAME= netmiko DISTVERSIONPREFIX= v -DISTVERSION= 4.4.0 +DISTVERSION= 4.5.0 CATEGORIES= security net-mgmt python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,20 +11,23 @@ WWW= https://github.com/ktbyers/netmiko LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -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} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.6.1:devel/py-poetry-core@${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}rich>=13.8:textproc/py-rich@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}ruamel.yaml>=0.17:devel/py-ruamel.yaml@${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>=5.3:devel/py-pyyaml@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}pyyaml>=6.0.1:devel/py-pyyaml@${PY_FLAVOR} -USES= python shebangfix +USES= python:3.9+ shebangfix USE_PYTHON= autoplist concurrent pep517 pytest USE_GITHUB= yes GH_ACCOUNT= ktbyers -SHEBANG_FILES= netmiko/cli_tools/netmiko_cfg.py \ +SHEBANG_FILES= netmiko/cli_tools/netmiko_bulk_encrypt.py \ + netmiko/cli_tools/netmiko_cfg.py \ + netmiko/cli_tools/netmiko_encrypt.py \ netmiko/cli_tools/netmiko_grep.py \ netmiko/cli_tools/netmiko_show.py diff --git a/security/py-netmiko/distinfo b/security/py-netmiko/distinfo index ab6fb945e776..04d25f41b5ac 100644 --- a/security/py-netmiko/distinfo +++ b/security/py-netmiko/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1720806657 -SHA256 (ktbyers-netmiko-v4.4.0_GH0.tar.gz) = 5209872ab35c5fec058097b37a31f36bd8a1e10367877dc9d77544edc3d01bed -SIZE (ktbyers-netmiko-v4.4.0_GH0.tar.gz) = 1963708 +TIMESTAMP = 1733817518 +SHA256 (ktbyers-netmiko-v4.5.0_GH0.tar.gz) = a1dd444169647904d9b4bb56894fc36cad6a2c73dfcae3444a04cdbae95fc4d1 +SIZE (ktbyers-netmiko-v4.5.0_GH0.tar.gz) = 1803872 diff --git a/security/py-netmiko/files/patch-pyproject.toml b/security/py-netmiko/files/patch-pyproject.toml index 7b6fa31e870e..c238a371d1e7 100644 --- a/security/py-netmiko/files/patch-pyproject.toml +++ b/security/py-netmiko/files/patch-pyproject.toml @@ -1,6 +1,6 @@ Use the more lightweight py-poetry-core instead py-poetry and relax version requirements. ---- pyproject.toml.orig 2024-07-08 22:08:10 UTC +--- pyproject.toml.orig 2024-12-09 21:51:07 UTC +++ pyproject.toml @@ -1,6 +1,6 @@ [build-system] @@ -11,20 +11,12 @@ Use the more lightweight py-poetry-core instead py-poetry and relax version requ [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" +@@ -23,7 +23,7 @@ scp = ">=0.13.6" + python = ">=3.9,<4.0" paramiko = ">=2.9.5" scp = ">=0.13.6" - pyyaml = ">=5.3" +-pyyaml = ">=6.0.2" ++pyyaml = ">=6.0.1" 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" |