# $FreeBSD: head/net-mgmt/py-pyeapi/Makefile 559531 2020-12-28 23:02:12Z antoine $ PORTNAME= pyeapi DISTVERSION= 0.8.4 CATEGORIES= net-mgmt python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= kai@FreeBSD.org COMMENT= Python client for Arista eAPI LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}netaddr>0:net/py-netaddr@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= distutils autoplist NO_ARCH= yes do-test: @cd ${WRKSRC} && ${PYTHON_CMD} -m unittest discover test/unit -v .include