aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Knoblich <kai@FreeBSD.org>2023-11-20 11:17:59 +0000
committerKai Knoblich <kai@FreeBSD.org>2023-11-20 11:25:43 +0000
commit97522cc755bef203bb7a8cdb0de58a28eb389154 (patch)
treeb0388d936f1b7c999bc678b649110bf87bb81656
parent0ddc775531e58305c887778130c2766632a2f02a (diff)
downloadports-97522cc755bef203bb7a8cdb0de58a28eb389154.tar.gz
ports-97522cc755bef203bb7a8cdb0de58a28eb389154.zip
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
-rw-r--r--security/py-netmiko/Makefile12
-rw-r--r--security/py-netmiko/distinfo6
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