Skip to content

Commit

Permalink
security/py-netmiko: Update to 4.3.0
Browse files Browse the repository at this point in the history
* Convert test suite to USE_PYTHON=pytest while I'm here.

Changelog:

https://github.com/ktbyers/netmiko/releases/tag/v4.3.0
  • Loading branch information
knobix committed Nov 20, 2023
1 parent 0ddc775 commit 97522cc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
12 changes: 5 additions & 7 deletions 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}

Expand All @@ -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>
6 changes: 3 additions & 3 deletions 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

0 comments on commit 97522cc

Please sign in to comment.