6677f40214
Changelog since 1.5.24:
* Enhance "ccp_util.CiscoRange()" to parse a wider variety of string inputs
* Remove slow code from "ccp_util.CiscoRange()"
* Make "ccp_util.L4Object().__repr__()" more friendly
* Use "unittest.mock" for tests if available
* Fix the issue with the "L4Object_asa_{lt01,lt02,range}" tests
* Fix multiple unreported bugs in "ccp_util.L4Object()"
29 lines
770 B
Makefile
29 lines
770 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= ciscoconfparse
|
|
DISTVERSION= 1.5.28
|
|
CATEGORIES= net-mgmt python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= kai@FreeBSD.org
|
|
COMMENT= Parse, audit, query, build and modify Cisco IOS-style configurations
|
|
|
|
LICENSE= GPLv3+
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}colorama>0:devel/py-colorama@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}dnspython>0:dns/py-dnspython@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}passlib>0:security/py-passlib@${PY_FLAVOR}
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
|
|
|
|
USES= python:3.6+
|
|
USE_PYTHON= distutils autoplist
|
|
|
|
NO_ARCH= yes
|
|
|
|
do-test:
|
|
@cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs
|
|
|
|
.include <bsd.port.mk>
|