blob: ff1a5a56387a614283fedc9f27976206258c2808 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
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 <bsd.port.mk>
|