aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Knoblich <kai@FreeBSD.org>2021-07-07 11:06:14 +0000
committerKai Knoblich <kai@FreeBSD.org>2021-07-07 11:09:00 +0000
commit3c88c6ce28ef494cb233caddacb4a229e2e03379 (patch)
tree0a62b64fc56d0dfbd7e280b5cd51af71d0eb4471
parent99b31805dd51fa6835196c65c0fef49b869dc761 (diff)
downloadports-3c88c6ce28ef494cb233caddacb4a229e2e03379.tar.gz
ports-3c88c6ce28ef494cb233caddacb4a229e2e03379.zip
net-mgmt/py-napalm: Update to 3.3.1
* Modernize "do-test" target while I'm here. Changelogs since 3.2.0: https://github.com/napalm-automation/napalm/releases/tag/3.3.1 https://github.com/napalm-automation/napalm/releases/tag/3.3.0 MFH: 2021Q3
-rw-r--r--net-mgmt/py-napalm/Makefile5
-rw-r--r--net-mgmt/py-napalm/distinfo6
2 files changed, 6 insertions, 5 deletions
diff --git a/net-mgmt/py-napalm/Makefile b/net-mgmt/py-napalm/Makefile
index 2390c0c16843..0932a1e555a3 100644
--- a/net-mgmt/py-napalm/Makefile
+++ b/net-mgmt/py-napalm/Makefile
@@ -1,5 +1,5 @@
PORTNAME= napalm
-DISTVERSION= 3.2.0
+DISTVERSION= 3.3.1
CATEGORIES= net-mgmt python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -14,6 +14,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}future>0:devel/py-future@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}lxml>=4.3.0:devel/py-lxml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}textfsm>0:textproc/py-textfsm@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}junos-eznc>=2.2.1:net-mgmt/py-junos-eznc@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}ncclient>0:net-mgmt/py-ncclient@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}netaddr>0:net/py-netaddr@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}netmiko>=3.1.0:security/py-netmiko@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}paramiko>=2.6.0:security/py-paramiko@${PY_FLAVOR} \
@@ -35,6 +36,6 @@ GH_ACCOUNT= napalm-automation
NO_ARCH= yes
do-test:
- @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs
+ @cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs
.include <bsd.port.mk>
diff --git a/net-mgmt/py-napalm/distinfo b/net-mgmt/py-napalm/distinfo
index 1bc2ccac9621..fc57ab873fa1 100644
--- a/net-mgmt/py-napalm/distinfo
+++ b/net-mgmt/py-napalm/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1604489603
-SHA256 (napalm-automation-napalm-3.2.0_GH0.tar.gz) = 7901fe3a1dfba710f90f7d979dc7f3b02d1e5a9ea5d419495cc5a89daafd3e23
-SIZE (napalm-automation-napalm-3.2.0_GH0.tar.gz) = 1216428
+TIMESTAMP = 1625493562
+SHA256 (napalm-automation-napalm-3.3.1_GH0.tar.gz) = 6e1f5897e2007b27c0c137e93be822c8193357fe7f5416d64eb751175a9ffdb9
+SIZE (napalm-automation-napalm-3.3.1_GH0.tar.gz) = 1535740