77d68471ad
PR: 267994 Differential revision: D37518 Approved by: bapt
25 lines
602 B
Makefile
25 lines
602 B
Makefile
PORTNAME= pyeapi
|
|
DISTVERSION= 0.8.4
|
|
CATEGORIES= net-mgmt python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= kai@FreeBSD.org
|
|
COMMENT= Python client for Arista eAPI
|
|
WWW= https://github.com/arista-eosplus/pyeapi
|
|
|
|
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 <bsd.port.mk>
|