Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Mar 2019 16:19:04 +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: r494513 - in head/net-mgmt: . py-nxapi-plumbing
Message-ID:  <201903031619.x23GJ40i026800@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kai
Date: Sun Mar  3 16:19:04 2019
New Revision: 494513
URL: https://svnweb.freebsd.org/changeset/ports/494513

Log:
  New port: net-mgmt/py-nxapi-plumbing: Low-level library for managing Cisco
            devices through NX-API
  
  Low-level library for managing Cisco devices through NX-API using JSON-RPC
  and XML.
  
  It's the successor of net-mgmt/py-pynxos with a more open license. Thus this
  port has been repocopied from net-mgmt/py-pynxos .
  
  WWW: https://github.com/ktbyers/nxapi-plumbing
  
  Approved by:	miwi (mentor)
  Differential Revision:	https://reviews.freebsd.org/D19288

Added:
  head/net-mgmt/py-nxapi-plumbing/
     - copied from r494512, head/net-mgmt/py-pynxos/
Modified:
  head/net-mgmt/Makefile
  head/net-mgmt/py-nxapi-plumbing/Makefile
  head/net-mgmt/py-nxapi-plumbing/distinfo
  head/net-mgmt/py-nxapi-plumbing/pkg-descr

Modified: head/net-mgmt/Makefile
==============================================================================
--- head/net-mgmt/Makefile	Sun Mar  3 15:04:55 2019	(r494512)
+++ head/net-mgmt/Makefile	Sun Mar  3 16:19:04 2019	(r494513)
@@ -309,6 +309,7 @@
     SUBDIR += py-napalm
     SUBDIR += py-napalm-logs
     SUBDIR += py-ncclient
+    SUBDIR += py-nxapi-plumbing
     SUBDIR += py-pdagent
     SUBDIR += py-prometheus-client
     SUBDIR += py-pyIOSXR

Modified: head/net-mgmt/py-nxapi-plumbing/Makefile
==============================================================================
--- head/net-mgmt/py-pynxos/Makefile	Sun Mar  3 15:04:55 2019	(r494512)
+++ head/net-mgmt/py-nxapi-plumbing/Makefile	Sun Mar  3 16:19:04 2019	(r494513)
@@ -1,27 +1,27 @@
 # $FreeBSD$
 
-PORTNAME=	pynxos
-DISTVERSION=	0.0.4
+PORTNAME=	nxapi-plumbing
+DISTVERSION=	0.5.2
 CATEGORIES=	net-mgmt python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	${PORTNAME:C/-/_/}-${DISTVERSION}
 
 MAINTAINER=	kai@FreeBSD.org
-COMMENT=	Python client for managing Cisco NX-OS devices through NX-API
+COMMENT=	Manage Cisco devices through NX-API using XML/JSON-RPC
 
-LICENSE=	UNKNOWN
-LICENSE_NAME=	unknown
-LICENSE_TEXT=	This program is NOT in public domain.\
-		It can be freely distributed for non-commercial purposes only,\
-		and THERE IS NO WARRANTY FOR THIS PROGRAM.
-LICENSE_PERMS=	dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}future>0:devel/py-future@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}requests>=2.7.0:www/py-requests@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}scp>0:security/py-scp@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}future>=0:devel/py-future@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}scp>=0:security/py-scp@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}requests>=2.7.0:www/py-requests@${PY_FLAVOR}
 
 USES=		python
 USE_PYTHON=	distutils autoplist
+
 NO_ARCH=	yes
 
 .include <bsd.port.mk>

Modified: head/net-mgmt/py-nxapi-plumbing/distinfo
==============================================================================
--- head/net-mgmt/py-pynxos/distinfo	Sun Mar  3 15:04:55 2019	(r494512)
+++ head/net-mgmt/py-nxapi-plumbing/distinfo	Sun Mar  3 16:19:04 2019	(r494513)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1530956816
-SHA256 (pynxos-0.0.4.tar.gz) = b39737e0fa3ebdfd5db5e08d8d2dcc6ad5edf32e39ee9f02a06a2a888afe2127
-SIZE (pynxos-0.0.4.tar.gz) = 7783
+TIMESTAMP = 1550785809
+SHA256 (nxapi_plumbing-0.5.2.tar.gz) = 6f54f9983f023bd75b60acd907ff47f559541cc2b98f4fa638b8585ca0de0fb5
+SIZE (nxapi_plumbing-0.5.2.tar.gz) = 11540

Modified: head/net-mgmt/py-nxapi-plumbing/pkg-descr
==============================================================================
--- head/net-mgmt/py-pynxos/pkg-descr	Sun Mar  3 15:04:55 2019	(r494512)
+++ head/net-mgmt/py-nxapi-plumbing/pkg-descr	Sun Mar  3 16:19:04 2019	(r494513)
@@ -1,3 +1,6 @@
-Python client for managing Cisco NX-OS devices through NX-API.
+Low-level library for managing Cisco devices through NX-API using JSON-RPC and
+XML.
 
-WWW: https://github.com/networktocode/pynxos
+It's the successor of net-mgmt/py-pynxos with a more open license.
+
+WWW: https://github.com/ktbyers/nxapi-plumbing



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