Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Feb 2019 14:32:17 +0000 (UTC)
From:      Kai Knoblich <kai@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r494152 - head/security/py-netmiko
Message-ID:  <201902281432.x1SEWHTj083607@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kai
Date: Thu Feb 28 14:32:17 2019
New Revision: 494152
URL: https://svnweb.freebsd.org/changeset/ports/494152

Log:
  security/py-netmiko: Update to 2.3.0
  
  * Pacify portlint [1]
  * Switch to GitHub to enable test target [2]
  
  Notable changes since 2.1.1:
  
  * Add support for new platforms:
    - Apresia Systems AEOS
    - Citrix Netscaler
    - Dell EMC Isilon, Dell OS10 and DNOS6
    - IP Infusion OcNOS
    - RAD ETX
  * Add fast_cli mode to improve performance
  * Add support for a session_log
  * Add Paramiko pkey, auth_timeout and passphrase support
  
  Changelog:
  
  https://github.com/ktbyers/netmiko/releases/tag/v2.3.0
  
  PR:		236036
  Submitted by:	John W. O'Brien <john@saltant.com> [1]
  Reviewed by:	koobs [2]
  Approved by:	miwi (mentor)
  Differential Revision:	https://reviews.freebsd.org/D19361

Modified:
  head/security/py-netmiko/Makefile
  head/security/py-netmiko/distinfo

Modified: head/security/py-netmiko/Makefile
==============================================================================
--- head/security/py-netmiko/Makefile	Thu Feb 28 13:51:55 2019	(r494151)
+++ head/security/py-netmiko/Makefile	Thu Feb 28 14:32:17 2019	(r494152)
@@ -1,9 +1,9 @@
 # $FreeBSD$
 
 PORTNAME=	netmiko
-DISTVERSION=	2.1.1
+DISTVERSIONPREFIX=	v
+DISTVERSION=	2.3.0
 CATEGORIES=	security python
-MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	kai@FreeBSD.org
@@ -12,14 +12,23 @@ COMMENT=	Multi-vendor library to simplify SSH connecti
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}paramiko>=2.0.0:security/py-paramiko@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}paramiko>=2.4.1:security/py-paramiko@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}serial>0:comms/py-serial@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}scp>=0.10.0:security/py-scp@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}textfsm>0:textproc/py-textfsm@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} \
+		${PY_IPADDRESS} \
+		${PY_ENUM34}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
 
 USES=		python
 USE_PYTHON=	distutils autoplist
+USE_GITHUB=	yes
+GH_ACCOUNT=	ktbyers
+
 NO_ARCH=	yes
+
+do-test:
+	cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -s tests/test_import_netmiko.py
 
 .include <bsd.port.mk>

Modified: head/security/py-netmiko/distinfo
==============================================================================
--- head/security/py-netmiko/distinfo	Thu Feb 28 13:51:55 2019	(r494151)
+++ head/security/py-netmiko/distinfo	Thu Feb 28 14:32:17 2019	(r494152)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1522350835
-SHA256 (netmiko-2.1.1.tar.gz) = f9051df1895e27b7f245e8a350d9116ae476bec811776a9fe63e827b8dedcf9b
-SIZE (netmiko-2.1.1.tar.gz) = 71410
+TIMESTAMP = 1551174300
+SHA256 (ktbyers-netmiko-v2.3.0_GH0.tar.gz) = f9e062044b6ee4ed980560c0356961c6c0fc0e486a9c3b1d806f68cd680e3893
+SIZE (ktbyers-netmiko-v2.3.0_GH0.tar.gz) = 971985



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