aboutsummaryrefslogtreecommitdiffstats
path: root/net/py-netaddr
diff options
context:
space:
mode:
authoryzlin <yzlin@FreeBSD.org>2009-08-28 02:06:56 +0800
committeryzlin <yzlin@FreeBSD.org>2009-08-28 02:06:56 +0800
commit43d00bc31b4f938677bdc6f926333cf5105861a4 (patch)
treee545c9cc151aa7dd8f5ef83d02eabc8fab52e705 /net/py-netaddr
parent7c2a5e1d788f71628c1f6e68eb3d3fec177e9278 (diff)
downloadfreebsd-ports-gnome-43d00bc31b4f938677bdc6f926333cf5105861a4.tar.gz
freebsd-ports-gnome-43d00bc31b4f938677bdc6f926333cf5105861a4.tar.zst
freebsd-ports-gnome-43d00bc31b4f938677bdc6f926333cf5105861a4.zip
- Update to 0.7.2
- Temporarily rename 'regression-test' to 'x-regression-test' (http://code.google.com/p/netaddr/issues/detail?id=44&can=1) Approved by: rafan (co-mentor)
Diffstat (limited to 'net/py-netaddr')
-rw-r--r--net/py-netaddr/Makefile10
-rw-r--r--net/py-netaddr/distinfo6
-rw-r--r--net/py-netaddr/pkg-plist80
3 files changed, 76 insertions, 20 deletions
diff --git a/net/py-netaddr/Makefile b/net/py-netaddr/Makefile
index 0ce181827c5c..90685c1c086c 100644
--- a/net/py-netaddr/Makefile
+++ b/net/py-netaddr/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= netaddr
-PORTVERSION= 0.6.3
+PORTVERSION= 0.7.2
CATEGORIES= net python
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} \
CHEESESHOP
@@ -20,8 +20,8 @@ USE_PYDISTUTILS= yes
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
-PORTDOCS= AUTHORS CHANGELOG GLOSSARY README
-TESTFILES= ut_netaddr.py
+PORTDOCS= AUTHORS CHANGELOG README
+TESTFILES= __init__.py
.if !defined(NOPORTDOCS)
post-install:
@@ -29,9 +29,9 @@ post-install:
@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif
-regression-test:
+x-regression-test:
.for f in ${TESTFILES}
- (cd ${WRKSRC}/tests && ${PYTHON_CMD} $f)
+ (cd ${WRKSRC}/netaddr/tests && ${PYTHON_CMD} $f)
.endfor
.include <bsd.port.mk>
diff --git a/net/py-netaddr/distinfo b/net/py-netaddr/distinfo
index 9b284e3818ae..b557de380fe4 100644
--- a/net/py-netaddr/distinfo
+++ b/net/py-netaddr/distinfo
@@ -1,3 +1,3 @@
-MD5 (netaddr-0.6.3.tar.gz) = 0a74be72c9e241ddd7fdab077a053904
-SHA256 (netaddr-0.6.3.tar.gz) = e35e9f34df5db47ad2fc3dc2e20301158144db75bbc1e3cfb67bb850c6c91521
-SIZE (netaddr-0.6.3.tar.gz) = 1167635
+MD5 (netaddr-0.7.2.tar.gz) = 061324a678980a03efc0b0b9f3659436
+SHA256 (netaddr-0.7.2.tar.gz) = 69c41f934206ae06831f4f6639f8eb4beec3b5c4f03dcb64a9be6b6d76de3e16
+SIZE (netaddr-0.7.2.tar.gz) = 1077308
diff --git a/net/py-netaddr/pkg-plist b/net/py-netaddr/pkg-plist
index 4c4ef85b39cb..d1a2261b34bc 100644
--- a/net/py-netaddr/pkg-plist
+++ b/net/py-netaddr/pkg-plist
@@ -1,10 +1,8 @@
@comment $FreeBSD$
+bin/netaddr
%%PYTHON_SITELIBDIR%%/netaddr/__init__.py
%%PYTHON_SITELIBDIR%%/netaddr/__init__.pyc
%%PYTHON_SITELIBDIR%%/netaddr/__init__.pyo
-%%PYTHON_SITELIBDIR%%/netaddr/address.py
-%%PYTHON_SITELIBDIR%%/netaddr/address.pyc
-%%PYTHON_SITELIBDIR%%/netaddr/address.pyo
%%PYTHON_SITELIBDIR%%/netaddr/core.py
%%PYTHON_SITELIBDIR%%/netaddr/core.pyc
%%PYTHON_SITELIBDIR%%/netaddr/core.pyo
@@ -13,23 +11,81 @@
%%PYTHON_SITELIBDIR%%/netaddr/eui/__init__.pyo
%%PYTHON_SITELIBDIR%%/netaddr/eui/iab.idx
%%PYTHON_SITELIBDIR%%/netaddr/eui/iab.txt
+%%PYTHON_SITELIBDIR%%/netaddr/eui/ieee.py
+%%PYTHON_SITELIBDIR%%/netaddr/eui/ieee.pyc
+%%PYTHON_SITELIBDIR%%/netaddr/eui/ieee.pyo
%%PYTHON_SITELIBDIR%%/netaddr/eui/oui.idx
%%PYTHON_SITELIBDIR%%/netaddr/eui/oui.txt
-%%PYTHON_SITELIBDIR%%/netaddr/fallback.py
-%%PYTHON_SITELIBDIR%%/netaddr/fallback.pyc
-%%PYTHON_SITELIBDIR%%/netaddr/fallback.pyo
+%%PYTHON_SITELIBDIR%%/netaddr/fbsocket.py
+%%PYTHON_SITELIBDIR%%/netaddr/fbsocket.pyc
+%%PYTHON_SITELIBDIR%%/netaddr/fbsocket.pyo
%%PYTHON_SITELIBDIR%%/netaddr/ip/__init__.py
%%PYTHON_SITELIBDIR%%/netaddr/ip/__init__.pyc
%%PYTHON_SITELIBDIR%%/netaddr/ip/__init__.pyo
+%%PYTHON_SITELIBDIR%%/netaddr/ip/glob.py
+%%PYTHON_SITELIBDIR%%/netaddr/ip/glob.pyc
+%%PYTHON_SITELIBDIR%%/netaddr/ip/glob.pyo
+%%PYTHON_SITELIBDIR%%/netaddr/ip/iana.py
+%%PYTHON_SITELIBDIR%%/netaddr/ip/iana.pyc
+%%PYTHON_SITELIBDIR%%/netaddr/ip/iana.pyo
+%%PYTHON_SITELIBDIR%%/netaddr/ip/intset.py
+%%PYTHON_SITELIBDIR%%/netaddr/ip/intset.pyc
+%%PYTHON_SITELIBDIR%%/netaddr/ip/intset.pyo
%%PYTHON_SITELIBDIR%%/netaddr/ip/ipv4-address-space
%%PYTHON_SITELIBDIR%%/netaddr/ip/ipv6-address-space
%%PYTHON_SITELIBDIR%%/netaddr/ip/multicast-addresses
-%%PYTHON_SITELIBDIR%%/netaddr/strategy.py
-%%PYTHON_SITELIBDIR%%/netaddr/strategy.pyc
-%%PYTHON_SITELIBDIR%%/netaddr/strategy.pyo
-%%PYTHON_SITELIBDIR%%/netaddr/util.py
-%%PYTHON_SITELIBDIR%%/netaddr/util.pyc
-%%PYTHON_SITELIBDIR%%/netaddr/util.pyo
+%%PYTHON_SITELIBDIR%%/netaddr/ip/rfc1924.py
+%%PYTHON_SITELIBDIR%%/netaddr/ip/rfc1924.pyc
+%%PYTHON_SITELIBDIR%%/netaddr/ip/rfc1924.pyo
+%%PYTHON_SITELIBDIR%%/netaddr/ip/sets.py
+%%PYTHON_SITELIBDIR%%/netaddr/ip/sets.pyc
+%%PYTHON_SITELIBDIR%%/netaddr/ip/sets.pyo
+%%PYTHON_SITELIBDIR%%/netaddr/strategy/__init__.py
+%%PYTHON_SITELIBDIR%%/netaddr/strategy/__init__.pyc
+%%PYTHON_SITELIBDIR%%/netaddr/strategy/__init__.pyo
+%%PYTHON_SITELIBDIR%%/netaddr/strategy/eui48.py
+%%PYTHON_SITELIBDIR%%/netaddr/strategy/eui48.pyc
+%%PYTHON_SITELIBDIR%%/netaddr/strategy/eui48.pyo
+%%PYTHON_SITELIBDIR%%/netaddr/strategy/eui64.py
+%%PYTHON_SITELIBDIR%%/netaddr/strategy/eui64.pyc
+%%PYTHON_SITELIBDIR%%/netaddr/strategy/eui64.pyo
+%%PYTHON_SITELIBDIR%%/netaddr/strategy/ipv4.py
+%%PYTHON_SITELIBDIR%%/netaddr/strategy/ipv4.pyc
+%%PYTHON_SITELIBDIR%%/netaddr/strategy/ipv4.pyo
+%%PYTHON_SITELIBDIR%%/netaddr/strategy/ipv6.py
+%%PYTHON_SITELIBDIR%%/netaddr/strategy/ipv6.pyc
+%%PYTHON_SITELIBDIR%%/netaddr/strategy/ipv6.pyo
+%%PYTHON_SITELIBDIR%%/netaddr/tests/__init__.py
+%%PYTHON_SITELIBDIR%%/netaddr/tests/__init__.pyc
+%%PYTHON_SITELIBDIR%%/netaddr/tests/__init__.pyo
+%%PYTHON_SITELIBDIR%%/netaddr/tests/core/pubsub.txt
+%%PYTHON_SITELIBDIR%%/netaddr/tests/eui/eui.txt
+%%PYTHON_SITELIBDIR%%/netaddr/tests/eui/eui64.txt
+%%PYTHON_SITELIBDIR%%/netaddr/tests/eui/pubsub.txt
+%%PYTHON_SITELIBDIR%%/netaddr/tests/eui/tutorial.txt
+%%PYTHON_SITELIBDIR%%/netaddr/tests/ip/abbreviated.txt
+%%PYTHON_SITELIBDIR%%/netaddr/tests/ip/boundaries.txt
+%%PYTHON_SITELIBDIR%%/netaddr/tests/ip/cidr.txt
+%%PYTHON_SITELIBDIR%%/netaddr/tests/ip/constructor.txt
+%%PYTHON_SITELIBDIR%%/netaddr/tests/ip/functions.txt
+%%PYTHON_SITELIBDIR%%/netaddr/tests/ip/intset.txt
+%%PYTHON_SITELIBDIR%%/netaddr/tests/ip/ipglob.txt
+%%PYTHON_SITELIBDIR%%/netaddr/tests/ip/matches.txt
+%%PYTHON_SITELIBDIR%%/netaddr/tests/ip/multicast.txt
+%%PYTHON_SITELIBDIR%%/netaddr/tests/ip/rfc1924.txt
+%%PYTHON_SITELIBDIR%%/netaddr/tests/ip/sets.txt
+%%PYTHON_SITELIBDIR%%/netaddr/tests/ip/socket_fallback.txt
+%%PYTHON_SITELIBDIR%%/netaddr/tests/ip/subnet.txt
+%%PYTHON_SITELIBDIR%%/netaddr/tests/ip/tutorial.txt
+%%PYTHON_SITELIBDIR%%/netaddr/tests/strategy/eui48.txt
+%%PYTHON_SITELIBDIR%%/netaddr/tests/strategy/ipv4.txt
+%%PYTHON_SITELIBDIR%%/netaddr/tests/strategy/ipv6.txt
+@dirrm %%PYTHON_SITELIBDIR%%/netaddr/tests/strategy
+@dirrm %%PYTHON_SITELIBDIR%%/netaddr/tests/ip
+@dirrm %%PYTHON_SITELIBDIR%%/netaddr/tests/eui
+@dirrm %%PYTHON_SITELIBDIR%%/netaddr/tests/core
+@dirrm %%PYTHON_SITELIBDIR%%/netaddr/tests
+@dirrm %%PYTHON_SITELIBDIR%%/netaddr/strategy
@dirrm %%PYTHON_SITELIBDIR%%/netaddr/ip
@dirrm %%PYTHON_SITELIBDIR%%/netaddr/eui
@dirrm %%PYTHON_SITELIBDIR%%/netaddr