git: 442b9055b114 - main - security/py-netmiko: Update to 4.1.2

From: Kai Knoblich <kai_at_FreeBSD.org>
Date: Sun, 04 Sep 2022 12:22:29 UTC
The branch main has been updated by kai:

URL: https://cgit.FreeBSD.org/ports/commit/?id=442b9055b1149db5018da61be9dd94a445211dfe

commit 442b9055b1149db5018da61be9dd94a445211dfe
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2022-09-04 12:10:55 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2022-09-04 12:20:14 +0000

    security/py-netmiko: Update to 4.1.2
    
    * Update pkg-descr to match reality.
    
    Changelog: https://github.com/ktbyers/netmiko/releases/tag/v4.1.2
    
    MFH:            No (py-netmiko 4.x not present in 2022Q3)
---
 security/py-netmiko/Makefile             |  2 +-
 security/py-netmiko/distinfo             |  6 +++---
 security/py-netmiko/files/patch-setup.py | 14 ++++++++++++++
 security/py-netmiko/pkg-descr            | 26 ++++++--------------------
 4 files changed, 24 insertions(+), 24 deletions(-)

diff --git a/security/py-netmiko/Makefile b/security/py-netmiko/Makefile
index c2412c91c0d5..2e86bddd27e9 100644
--- a/security/py-netmiko/Makefile
+++ b/security/py-netmiko/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	netmiko
 DISTVERSIONPREFIX=	v
-DISTVERSION=	4.1.1
+DISTVERSION=	4.1.2
 CATEGORIES=	security net-mgmt python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
diff --git a/security/py-netmiko/distinfo b/security/py-netmiko/distinfo
index fd31a75ed5af..04c6dc6c1c47 100644
--- a/security/py-netmiko/distinfo
+++ b/security/py-netmiko/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1658062172
-SHA256 (ktbyers-netmiko-v4.1.1_GH0.tar.gz) = a0580fff4a7ab1a0c0bd6370c63d838f0c4e74f5c318ca2d3a667ded5eb951cb
-SIZE (ktbyers-netmiko-v4.1.1_GH0.tar.gz) = 1076050
+TIMESTAMP = 1662217057
+SHA256 (ktbyers-netmiko-v4.1.2_GH0.tar.gz) = cecba2893dbf2f03037d917b3497d096e18ccfa66a568fbec934d45e47fe859c
+SIZE (ktbyers-netmiko-v4.1.2_GH0.tar.gz) = 1101941
diff --git a/security/py-netmiko/files/patch-setup.py b/security/py-netmiko/files/patch-setup.py
new file mode 100644
index 000000000000..7fb677857419
--- /dev/null
+++ b/security/py-netmiko/files/patch-setup.py
@@ -0,0 +1,14 @@
+Relax requirements for textproc/py-textfsm as it works with newer versions
+of TextFSM.
+
+--- setup.py.orig	2022-09-03 15:00:57 UTC
++++ setup.py
+@@ -52,7 +52,7 @@ setup(
+         "scp>=0.13.3",
+         "tenacity",
+         "pyyaml>=5.3",
+-        "textfsm==1.1.2",
++        "textfsm>=1.1.2",
+         "ntc-templates>=2.0.0",
+         "pyserial",
+     ],
diff --git a/security/py-netmiko/pkg-descr b/security/py-netmiko/pkg-descr
index d80db3ea213d..7ec7c3d5c10c 100644
--- a/security/py-netmiko/pkg-descr
+++ b/security/py-netmiko/pkg-descr
@@ -1,23 +1,9 @@
-Multi-vendor library to simplify Paramiko SSH connections to network devices.
+Network automation to screen-scraping devices is primarily concerned with
+gathering output from show commands and with making configuration changes.
 
-Supports following platforms:
-
-- Arista vEOS
-- Cisco ASA/IOS/IOS-XE/IOS-XR/NX-OS/SG300/WLC
-- HP Comware7/ProCurve
-- Juniper JunOS
-- Linux
-
-Following platforms are also supported:
-
-- Alcatel AOS6/AOS8
-- Avaya ERS/VSP
-- Brocade VDX/MLX/NetIron
-- Calix B6
-- Dell-Force10 and Dell PowerConnect
-- Huawei, Mellanox, NetApp cDOT, Palo Alto PAN-OS
-- Pluribus, Ruckus ICX/FastIron, Ubiquiti EdgeSwitch, Vyatta VyOS
-
-There is also experimental support for more platforms not listed here.
+Netmiko aims to accomplish both of these operations and to do it across
+a very broad set of platforms. It seeks to do this while abstracting away
+low-level state control (i.e. eliminate low-level regex pattern matching
+to the extent practical).
 
 WWW: https://github.com/ktbyers/netmiko