aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2012-11-22 19:01:57 +0800
committerehaupt <ehaupt@FreeBSD.org>2012-11-22 19:01:57 +0800
commit8690f4062a9f52195856a42e5a65b489efa93766 (patch)
treee8cf82ef8d04753766c88c28072d413e0d074a0a /net-mgmt
parente51a45a8952eb77103f77dbfc70191550ff27f49 (diff)
downloadfreebsd-ports-gnome-8690f4062a9f52195856a42e5a65b489efa93766.tar.gz
freebsd-ports-gnome-8690f4062a9f52195856a42e5a65b489efa93766.tar.zst
freebsd-ports-gnome-8690f4062a9f52195856a42e5a65b489efa93766.zip
Add py-ipcalc 0.6, module to perform IP subnet calculations.
Feature safe: yes
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/Makefile1
-rw-r--r--net-mgmt/py-ipcalc/Makefile17
-rw-r--r--net-mgmt/py-ipcalc/distinfo2
-rw-r--r--net-mgmt/py-ipcalc/pkg-descr4
-rw-r--r--net-mgmt/py-ipcalc/pkg-plist3
5 files changed, 27 insertions, 0 deletions
diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile
index 7ea39135e77d..6a5c0b7e6fb8 100644
--- a/net-mgmt/Makefile
+++ b/net-mgmt/Makefile
@@ -260,6 +260,7 @@
SUBDIR += pnp
SUBDIR += portmon
SUBDIR += py-flowtools
+ SUBDIR += py-ipcalc
SUBDIR += py-ipy
SUBDIR += py-pyang
SUBDIR += py-snmp4
diff --git a/net-mgmt/py-ipcalc/Makefile b/net-mgmt/py-ipcalc/Makefile
new file mode 100644
index 000000000000..f71ed15aee74
--- /dev/null
+++ b/net-mgmt/py-ipcalc/Makefile
@@ -0,0 +1,17 @@
+# Created by: ehaupt@FreeBSD.org
+# $FreeBSD$
+
+PORTNAME= ipcalc
+PORTVERSION= 0.6
+CATEGORIES= net-mgmt python
+MASTER_SITES= ${MASTER_SITE_CHEESESHOP}
+MASTER_SITE_SUBDIR= source/i/ipcalc
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= ehaupt@FreeBSD.org
+COMMENT= Module to perform IP subnet calculations
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+
+.include <bsd.port.mk>
diff --git a/net-mgmt/py-ipcalc/distinfo b/net-mgmt/py-ipcalc/distinfo
new file mode 100644
index 000000000000..09c53aedb28f
--- /dev/null
+++ b/net-mgmt/py-ipcalc/distinfo
@@ -0,0 +1,2 @@
+SHA256 (ipcalc-0.6.tar.gz) = a88d2e92e4be4362458237709c6e6b108a119d24e8da5b655383ac7e5b51ae66
+SIZE (ipcalc-0.6.tar.gz) = 6199
diff --git a/net-mgmt/py-ipcalc/pkg-descr b/net-mgmt/py-ipcalc/pkg-descr
new file mode 100644
index 000000000000..72e0352315aa
--- /dev/null
+++ b/net-mgmt/py-ipcalc/pkg-descr
@@ -0,0 +1,4 @@
+This module allows you to perform IP subnet calculations, there is support for
+both IPv4 and IPv6 CIDR notation.
+
+WWW: http://pypi.python.org/pypi/ipcalc/
diff --git a/net-mgmt/py-ipcalc/pkg-plist b/net-mgmt/py-ipcalc/pkg-plist
new file mode 100644
index 000000000000..6b5618f5aa70
--- /dev/null
+++ b/net-mgmt/py-ipcalc/pkg-plist
@@ -0,0 +1,3 @@
+%%PYTHON_SITELIBDIR%%/ipcalc.pyo
+%%PYTHON_SITELIBDIR%%/ipcalc.pyc
+%%PYTHON_SITELIBDIR%%/ipcalc.py