mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
net-mgmt/py-ciscoconfparse: Update to 1.5.24
* Remove now obsolete conditionals for Python 2.7 while I'm here. Changelog: * Prevent "find_object_branches()" method from using any branches with "None" in the value.
This commit is contained in:
parent
e7230b4c6f
commit
b074fff0ca
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=561210
@ -1,7 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= ciscoconfparse
|
||||
DISTVERSION= 1.5.22
|
||||
DISTVERSION= 1.5.24
|
||||
CATEGORIES= net-mgmt python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
@ -23,20 +23,10 @@ USE_PYTHON= distutils autoplist
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PYTHON_REL} < 3000
|
||||
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}ipaddr>=2.1.11:devel/py-ipaddr@${PY_FLAVOR}
|
||||
.endif
|
||||
|
||||
do-test:
|
||||
.if ${PYTHON_REL} < 3200
|
||||
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs
|
||||
.else
|
||||
# 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'
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1607423727
|
||||
SHA256 (ciscoconfparse-1.5.22.tar.gz) = df1d6d27918cd8229d341bfbb2a2389d5caf7523e71733bc89f7bf3251fbbaeb
|
||||
SIZE (ciscoconfparse-1.5.22.tar.gz) = 139507
|
||||
TIMESTAMP = 1610317022
|
||||
SHA256 (ciscoconfparse-1.5.24.tar.gz) = 55ece212945a67c257bfa77e14f128c8d57e289695559caf809a35dd40c56176
|
||||
SIZE (ciscoconfparse-1.5.24.tar.gz) = 138368
|
||||
|
Loading…
Reference in New Issue
Block a user