Skip to content
Browse files

added net/py-netaddr

  • Loading branch information...
1 parent fac7538 commit 37e71a0843df9c6fafd165b1a4bb4fbb909507bc @ligurio ligurio committed Feb 11, 2014
Showing with 98 additions and 0 deletions.
  1. +25 −0 net/py-netaddr/Makefile
  2. +2 −0 net/py-netaddr/distinfo
  3. +18 −0 net/py-netaddr/pkg/DESCR
  4. +53 −0 net/py-netaddr/pkg/PLIST
View
25 net/py-netaddr/Makefile
@@ -0,0 +1,25 @@
+# $OpenBSD$
+
+COMMENT = pure Python network address library
+
+MODPY_EGG_VERSION = 0.7.10
+DISTNAME = netaddr-${MODPY_EGG_VERSION}
+PKGNAME = py-netaddr-${MODPY_EGG_VERSION}
+
+CATEGORIES = net
+
+HOMEPAGE = https://pypi.python.org/pypi/netaddr/
+
+# BSD License
+PERMIT_PACKAGE_CDROM = Yes
+
+MASTER_SITES = https://github.com/downloads/drkjam/netaddr/
+
+MODULES = lang/python
+
+#MODPY_SETUPTOOLS = Yes
+
+#FLAVORS = python3
+#FLAVOR ?=
+
+.include <bsd.port.mk>
View
2 net/py-netaddr/distinfo
@@ -0,0 +1,2 @@
+SHA256 (netaddr-0.7.10.tar.gz) = m3l2MUGoVQebBYlxdpakzLXFbAuAe25YS/4SMzOZ4Lc=
+SIZE (netaddr-0.7.10.tar.gz) = 1313043
View
18 net/py-netaddr/pkg/DESCR
@@ -0,0 +1,18 @@
+A pure Python network address representation and manipulation library.
+
+netaddr provides a Pythonic way of working with:
+
+- IPv4 and IPv6 addresses and subnets
+- MAC addresses, OUI and IAB identifiers, IEEE EUI-64 identifiers
+- arbitrary (non-aligned) IP address ranges and IP address sets
+- various non-CIDR IP range formats such as nmap and glob-style formats
+
+Included are routines for:
+
+- generating, sorting and summarizing IP addresses and networks
+- performing easy conversions between address notations and formats
+- detecting, parsing and formatting network address representations
+- performing set-based operations on groups of IP addresses and subnets
+- working with arbitrary IP address ranges and formats
+- accessing OUI and IAB organisational information published by IEEE
+- accessing IP address and block information published by IANA.
View
53 net/py-netaddr/pkg/PLIST
@@ -0,0 +1,53 @@
+@comment $OpenBSD$
+bin/netaddr
+lib/python${MODPY_VERSION}/site-packages/netaddr/
+lib/python${MODPY_VERSION}/site-packages/netaddr-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info
+lib/python${MODPY_VERSION}/site-packages/netaddr/__init__.py
+lib/python${MODPY_VERSION}/site-packages/netaddr/__init__.pyc
+lib/python${MODPY_VERSION}/site-packages/netaddr/compat.py
+lib/python${MODPY_VERSION}/site-packages/netaddr/compat.pyc
+lib/python${MODPY_VERSION}/site-packages/netaddr/core.py
+lib/python${MODPY_VERSION}/site-packages/netaddr/core.pyc
+lib/python${MODPY_VERSION}/site-packages/netaddr/eui/
+lib/python${MODPY_VERSION}/site-packages/netaddr/eui/__init__.py
+lib/python${MODPY_VERSION}/site-packages/netaddr/eui/__init__.pyc
+lib/python${MODPY_VERSION}/site-packages/netaddr/eui/iab.idx
+lib/python${MODPY_VERSION}/site-packages/netaddr/eui/iab.txt
+lib/python${MODPY_VERSION}/site-packages/netaddr/eui/ieee.py
+lib/python${MODPY_VERSION}/site-packages/netaddr/eui/ieee.pyc
+lib/python${MODPY_VERSION}/site-packages/netaddr/eui/oui.idx
+lib/python${MODPY_VERSION}/site-packages/netaddr/eui/oui.txt
+lib/python${MODPY_VERSION}/site-packages/netaddr/fbsocket.py
+lib/python${MODPY_VERSION}/site-packages/netaddr/fbsocket.pyc
+lib/python${MODPY_VERSION}/site-packages/netaddr/ip/
+lib/python${MODPY_VERSION}/site-packages/netaddr/ip/__init__.py
+lib/python${MODPY_VERSION}/site-packages/netaddr/ip/__init__.pyc
+lib/python${MODPY_VERSION}/site-packages/netaddr/ip/glob.py
+lib/python${MODPY_VERSION}/site-packages/netaddr/ip/glob.pyc
+lib/python${MODPY_VERSION}/site-packages/netaddr/ip/iana.py
+lib/python${MODPY_VERSION}/site-packages/netaddr/ip/iana.pyc
+lib/python${MODPY_VERSION}/site-packages/netaddr/ip/intset.py
+lib/python${MODPY_VERSION}/site-packages/netaddr/ip/intset.pyc
+lib/python${MODPY_VERSION}/site-packages/netaddr/ip/ipv4-address-space.xml
+lib/python${MODPY_VERSION}/site-packages/netaddr/ip/ipv6-address-space.xml
+lib/python${MODPY_VERSION}/site-packages/netaddr/ip/multicast-addresses.xml
+lib/python${MODPY_VERSION}/site-packages/netaddr/ip/nmap.py
+lib/python${MODPY_VERSION}/site-packages/netaddr/ip/nmap.pyc
+lib/python${MODPY_VERSION}/site-packages/netaddr/ip/rfc1924.py
+lib/python${MODPY_VERSION}/site-packages/netaddr/ip/rfc1924.pyc
+lib/python${MODPY_VERSION}/site-packages/netaddr/ip/sets.py
+lib/python${MODPY_VERSION}/site-packages/netaddr/ip/sets.pyc
+lib/python${MODPY_VERSION}/site-packages/netaddr/strategy/
+lib/python${MODPY_VERSION}/site-packages/netaddr/strategy/__init__.py
+lib/python${MODPY_VERSION}/site-packages/netaddr/strategy/__init__.pyc
+lib/python${MODPY_VERSION}/site-packages/netaddr/strategy/eui48.py
+lib/python${MODPY_VERSION}/site-packages/netaddr/strategy/eui48.pyc
+lib/python${MODPY_VERSION}/site-packages/netaddr/strategy/eui64.py
+lib/python${MODPY_VERSION}/site-packages/netaddr/strategy/eui64.pyc
+lib/python${MODPY_VERSION}/site-packages/netaddr/strategy/ipv4.py
+lib/python${MODPY_VERSION}/site-packages/netaddr/strategy/ipv4.pyc
+lib/python${MODPY_VERSION}/site-packages/netaddr/strategy/ipv6.py
+lib/python${MODPY_VERSION}/site-packages/netaddr/strategy/ipv6.pyc
+lib/python${MODPY_VERSION}/site-packages/netaddr/tests/
+lib/python${MODPY_VERSION}/site-packages/netaddr/tests/__init__.py
+lib/python${MODPY_VERSION}/site-packages/netaddr/tests/__init__.pyc

0 comments on commit 37e71a0

Please sign in to comment.
Something went wrong with that request. Please try again.