Created attachment 202364 [details] [NEW PORT] net-mgmt/py-nxapi_plumbing: Manage Cisco Nexus via JSON-RPC and XML Description =========== A low-level library for Python to manage Cisco Nexus devices network electronics through NX-API using JSON-RPC and XML. QA == portlint: OK poudriere: OK -- testport on 11.2-RELEASE amd64 w/py27, py35, py36 (default), and py37
Thanks John, Review items: - Minor: Match a projects upstream description (setup.py:description) as closely as possible, with COMMENT (portlint) compliance changes where necessary. In this case "Library for managing Cisco devices through NX-API using XML or jsonrpc" - Projects setup.py:url is a 404, can you send an upstream issue/PR to correct it - sdist includes tests and a test command (in tox.ini not shipped in sdist). Add TEST_DEPENDS (pytest) and a do(test) target for QA. The following should work: do-test: @cd ${WRKSRC}} && ${PYTHON_CMD} -m pytest -v -s test Would be great to confirm those tests pass as well
based on upstream requirements-dev.txt, further (compulsory) TEST_DEPENDS probably include: mock pytest PyYAML Maybe pylama It would be nice to have compulsory test requirements in setup.py:tests_require
Came on this PR by coincidence. I had already started a review for that port on 21st February to upgrade net-mgmt/py-napalm afterwards: https://reviews.freebsd.org/D19288
(In reply to Kai Knoblich from comment #3) OK to close this as OBE.
Closing this as "Overcome by events" because the port appeared the first time as a review on Phabricator as outlined in comment #3. net-mgmt/py-nxapi-plumbing was committed then in ports r494513.