git: 1c96326d83c7 - main - security/py-netmiko: Update to 4.6.0

From: Kai Knoblich <kai_at_FreeBSD.org>
Date: Sun, 13 Jul 2025 06:01:21 UTC
The branch main has been updated by kai:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1c96326d83c76a514e7da31b94715360a460358f

commit 1c96326d83c76a514e7da31b94715360a460358f
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2025-07-13 05:57:32 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2025-07-13 06:00:00 +0000

    security/py-netmiko: Update to 4.6.0
    
    * Adjust USES=python accordingly, because Python 3.8 is no longer
      present in the ports tree after ca15850a2b13 while I'm here.
    
    Changelog:
    
    https://github.com/ktbyers/netmiko/releases/tag/v4.6.0
---
 security/py-netmiko/Makefile                   |  6 +++---
 security/py-netmiko/distinfo                   |  6 +++---
 security/py-netmiko/files/patch-pyproject.toml | 13 ++-----------
 3 files changed, 8 insertions(+), 17 deletions(-)

diff --git a/security/py-netmiko/Makefile b/security/py-netmiko/Makefile
index 2a8511d310bc..a8bf74c9a8a1 100644
--- a/security/py-netmiko/Makefile
+++ b/security/py-netmiko/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	netmiko
 DISTVERSIONPREFIX=	v
-DISTVERSION=	4.5.0
+DISTVERSION=	4.6.0
 CATEGORIES=	security net-mgmt python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -11,7 +11,7 @@ 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}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0: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} \
@@ -21,7 +21,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ntc-templates>=3.1.0:textproc/py-ntc-templat
 		${PYTHON_PKGNAMEPREFIX}textfsm>=1.1.3:textproc/py-textfsm@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pyyaml>=6.0.1:devel/py-pyyaml@${PY_FLAVOR}
 
-USES=		python:3.9+ shebangfix
+USES=		python shebangfix
 USE_PYTHON=	autoplist concurrent pep517 pytest
 USE_GITHUB=	yes
 GH_ACCOUNT=	ktbyers
diff --git a/security/py-netmiko/distinfo b/security/py-netmiko/distinfo
index 04d25f41b5ac..1eb4318fefc3 100644
--- a/security/py-netmiko/distinfo
+++ b/security/py-netmiko/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1733817518
-SHA256 (ktbyers-netmiko-v4.5.0_GH0.tar.gz) = a1dd444169647904d9b4bb56894fc36cad6a2c73dfcae3444a04cdbae95fc4d1
-SIZE (ktbyers-netmiko-v4.5.0_GH0.tar.gz) = 1803872
+TIMESTAMP = 1751266261
+SHA256 (ktbyers-netmiko-v4.6.0_GH0.tar.gz) = 6234d11f394377533ce3e40b0506b248c98cfd894ac95a639d1dea3133e1dedd
+SIZE (ktbyers-netmiko-v4.6.0_GH0.tar.gz) = 1954361
diff --git a/security/py-netmiko/files/patch-pyproject.toml b/security/py-netmiko/files/patch-pyproject.toml
index c238a371d1e7..175963f10281 100644
--- a/security/py-netmiko/files/patch-pyproject.toml
+++ b/security/py-netmiko/files/patch-pyproject.toml
@@ -1,16 +1,7 @@
-Use the more lightweight py-poetry-core instead py-poetry and relax version requirements.
+Relax some version requirements.
 
---- pyproject.toml.orig	2024-12-09 21:51:07 UTC
+--- pyproject.toml.orig	2025-06-26 19:00:25 UTC
 +++ pyproject.toml
-@@ -1,6 +1,6 @@
- [build-system]
--requires = ["poetry>=1.6.1"]
--build-backend = "poetry.masonry.api"
-+requires = ["poetry-core>=1.6.1"]
-+build-backend = "poetry.core.masonry.api"
- 
- [tool.poetry]
- name = "netmiko"
 @@ -23,7 +23,7 @@ scp = ">=0.13.6"
  python = ">=3.9,<4.0"
  paramiko = ">=2.9.5"