svn commit: r562569 - head/net-mgmt/py-ciscoconfparse
Kai Knoblich
kai at FreeBSD.org
Mon Jan 25 15:48:26 UTC 2021
Author: kai
Date: Mon Jan 25 15:48:25 2021
New Revision: 562569
URL: https://svnweb.freebsd.org/changeset/ports/562569
Log:
net-mgmt/py-ciscoconfparse: Update to 1.5.28
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()"
Modified:
head/net-mgmt/py-ciscoconfparse/Makefile
head/net-mgmt/py-ciscoconfparse/distinfo
Modified: head/net-mgmt/py-ciscoconfparse/Makefile
==============================================================================
--- head/net-mgmt/py-ciscoconfparse/Makefile Mon Jan 25 14:56:38 2021 (r562568)
+++ head/net-mgmt/py-ciscoconfparse/Makefile Mon Jan 25 15:48:25 2021 (r562569)
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= ciscoconfparse
-DISTVERSION= 1.5.24
+DISTVERSION= 1.5.28
CATEGORIES= net-mgmt python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -15,8 +15,7 @@ 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} \
- ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= distutils autoplist
@@ -24,9 +23,6 @@ USE_PYTHON= distutils autoplist
NO_ARCH= yes
do-test:
- # Skip the L4Object_asa_{lt01,lt02,range} tests as "models_asa" is broken in
- # Python 3
- # See also: https://github.com/mpenning/ciscoconfparse/issues/14
- @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs -k 'not _asa_lt and not _asa_range'
+ @cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs
.include <bsd.port.mk>
Modified: head/net-mgmt/py-ciscoconfparse/distinfo
==============================================================================
--- head/net-mgmt/py-ciscoconfparse/distinfo Mon Jan 25 14:56:38 2021 (r562568)
+++ head/net-mgmt/py-ciscoconfparse/distinfo Mon Jan 25 15:48:25 2021 (r562569)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1610317022
-SHA256 (ciscoconfparse-1.5.24.tar.gz) = 55ece212945a67c257bfa77e14f128c8d57e289695559caf809a35dd40c56176
-SIZE (ciscoconfparse-1.5.24.tar.gz) = 138368
+TIMESTAMP = 1611576321
+SHA256 (ciscoconfparse-1.5.28.tar.gz) = 050aacb53122ac90317e3a15b33fa4d915c22adc943aa463e7142537e8e97bf1
+SIZE (ciscoconfparse-1.5.28.tar.gz) = 139537
More information about the svn-ports-head
mailing list