aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/py-ciscoconfparse
diff options
context:
space:
mode:
authordbaio <dbaio@FreeBSD.org>2018-04-02 08:03:18 +0800
committerdbaio <dbaio@FreeBSD.org>2018-04-02 08:03:18 +0800
commit5dfdf4885a2eca6e201859820d0d2fe130a8784d (patch)
treeed31c1b02039b98116ea82b4cb260e318aee0378 /net-mgmt/py-ciscoconfparse
parentfc76b17f1c7f54adb868d7ceb05ed65c2868e1e0 (diff)
downloadfreebsd-ports-gnome-5dfdf4885a2eca6e201859820d0d2fe130a8784d.tar.gz
freebsd-ports-gnome-5dfdf4885a2eca6e201859820d0d2fe130a8784d.tar.zst
freebsd-ports-gnome-5dfdf4885a2eca6e201859820d0d2fe130a8784d.zip
net-mgmt/py-ciscoconfparse: Update to 1.3.11
Dependency devel/py-ipaddr is only necessary with Python 2. While here, update LICENSE. PR: 227162 Submitted by: Kai <freebsd_ports@k-worx.org> (maintainer)
Diffstat (limited to 'net-mgmt/py-ciscoconfparse')
-rw-r--r--net-mgmt/py-ciscoconfparse/Makefile17
-rw-r--r--net-mgmt/py-ciscoconfparse/distinfo6
2 files changed, 15 insertions, 8 deletions
diff --git a/net-mgmt/py-ciscoconfparse/Makefile b/net-mgmt/py-ciscoconfparse/Makefile
index 508fcd5778be..7e5af54fb21b 100644
--- a/net-mgmt/py-ciscoconfparse/Makefile
+++ b/net-mgmt/py-ciscoconfparse/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= ciscoconfparse
-DISTVERSION= 1.3.10
+DISTVERSION= 1.3.11
CATEGORIES= net-mgmt python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -9,16 +9,23 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= freebsd_ports@k-worx.org
COMMENT= Parse, audit, query, build and modify Cisco IOS-style configurations
-LICENSE= GPLv3
+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}ipaddr>=2.1.11:devel/py-ipaddr@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}passlib>0:security/py-passlib@${PY_FLAVOR}
+ ${PYTHON_PKGNAMEPREFIX}Flask>0:www/py-flask@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}passlib>0:security/py-passlib@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wtforms>0:textproc/py-wtforms@${PY_FLAVOR}
USES= python
USE_PYTHON= distutils autoplist
NO_ARCH= yes
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3000
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}ipaddr>=2.1.11:devel/py-ipaddr@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/net-mgmt/py-ciscoconfparse/distinfo b/net-mgmt/py-ciscoconfparse/distinfo
index d2b15ee7e910..b275ad0172a8 100644
--- a/net-mgmt/py-ciscoconfparse/distinfo
+++ b/net-mgmt/py-ciscoconfparse/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1521923586
-SHA256 (ciscoconfparse-1.3.10.tar.gz) = e4b69af27501b2d16e1deb55661733113b083999bff68ed836b38acd10d504fe
-SIZE (ciscoconfparse-1.3.10.tar.gz) = 91396
+TIMESTAMP = 1522624592
+SHA256 (ciscoconfparse-1.3.11.tar.gz) = e49f4104bf34029b3d58004e04a1c62e7977b5bcfe68c9869668005fa900261b
+SIZE (ciscoconfparse-1.3.11.tar.gz) = 91393