summaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2012-11-22 11:01:57 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2012-11-22 11:01:57 +0000
commitd93c88fd08e145ad4a1d26a827b8b1aa42d0561f (patch)
treee8cf82ef8d04753766c88c28072d413e0d074a0a /net-mgmt
parent- Utilize per-architecture feature of new OPTIONS framework (diff)
Add py-ipcalc 0.6, module to perform IP subnet calculations.
Feature safe: yes
Notes
Notes: svn path=/head/; revision=307641
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