5523d14909
* Make USES block separate from non-related variables (as it should be done for every block according to the PHB). * Add "do-test" target to make future QA easier. Changelog: * Support eapi command revision syntax * Add ability to use pyeapi with certificates * Added check for 'match' statement to be valid before parsing regex ACL
26 lines
569 B
Makefile
26 lines
569 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= pyeapi
|
|
DISTVERSION= 0.8.3
|
|
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
|
|
USE_PYTHON= distutils autoplist
|
|
|
|
NO_ARCH= yes
|
|
|
|
do-test:
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} -m unittest discover test/unit -v
|
|
|
|
.include <bsd.port.mk>
|