Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Nov 2023 11:26:02 GMT
From:      Kai Knoblich <kai@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 97522cc755be - main - security/py-netmiko: Update to 4.3.0
Message-ID:  <202311201126.3AKBQ2EY021833@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kai:

URL: https://cgit.FreeBSD.org/ports/commit/?id=97522cc755bef203bb7a8cdb0de58a28eb389154

commit 97522cc755bef203bb7a8cdb0de58a28eb389154
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2023-11-20 11:17:59 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2023-11-20 11:25:43 +0000

    security/py-netmiko: Update to 4.3.0
    
    * Convert test suite to USE_PYTHON=pytest while I'm here.
    
    Changelog:
    
    https://github.com/ktbyers/netmiko/releases/tag/v4.3.0
---
 security/py-netmiko/Makefile | 12 +++++-------
 security/py-netmiko/distinfo |  6 +++---
 2 files changed, 8 insertions(+), 10 deletions(-)

diff --git a/security/py-netmiko/Makefile b/security/py-netmiko/Makefile
index 24edfaed2332..0e2f0c59dc24 100644
--- a/security/py-netmiko/Makefile
+++ b/security/py-netmiko/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	netmiko
 DISTVERSIONPREFIX=	v
-DISTVERSION=	4.2.0
+DISTVERSION=	4.3.0
 CATEGORIES=	security net-mgmt python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -17,20 +17,18 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ntc-templates>=2.0.0:textproc/py-ntc-templat
 		${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}yaml>=5.3:devel/py-yaml@${PY_FLAVOR}
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}yaml>=6.0.1:devel/py-yaml@${PY_FLAVOR}
 
 USES=		python shebangfix
-USE_PYTHON=	autoplist concurrent pep517
+USE_PYTHON=	autoplist concurrent pep517 pytest
 USE_GITHUB=	yes
 GH_ACCOUNT=	ktbyers
 SHEBANG_FILES=	netmiko/cli_tools/netmiko_cfg.py \
 		netmiko/cli_tools/netmiko_grep.py \
 		netmiko/cli_tools/netmiko_show.py
 
-NO_ARCH=	yes
+TEST_ARGS=	tests/test_import_netmiko.py
 
-do-test:
-	cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -s tests/test_import_netmiko.py
+NO_ARCH=	yes
 
 .include <bsd.port.mk>
diff --git a/security/py-netmiko/distinfo b/security/py-netmiko/distinfo
index 7ed43321b888..0119d8d6b5e8 100644
--- a/security/py-netmiko/distinfo
+++ b/security/py-netmiko/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1684003982
-SHA256 (ktbyers-netmiko-v4.2.0_GH0.tar.gz) = ed7057bbee8f16494a5176155871247c477cc26228b81982e3552ed4d0e11b7f
-SIZE (ktbyers-netmiko-v4.2.0_GH0.tar.gz) = 1282749
+TIMESTAMP = 1700407948
+SHA256 (ktbyers-netmiko-v4.3.0_GH0.tar.gz) = e80e2fea7cf24c0b28c59affeef0efc86facc03b08c9c319d10cb586db95f36a
+SIZE (ktbyers-netmiko-v4.3.0_GH0.tar.gz) = 1939889



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202311201126.3AKBQ2EY021833>