ports/128090: [NEW PORT] net/py-netaddr: A python library for the manipulation of network address manipulation

Yi-Jheng Lin yzlin at cs.nctu.edu.tw
Tue Oct 14 11:50:04 UTC 2008


>Number:         128090
>Category:       ports
>Synopsis:       [NEW PORT] net/py-netaddr: A python library for the manipulation of network address manipulation
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 14 11:50:03 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Yi-Jheng Lin
>Release:        FreeBSD 7.0-RELEASE-p4 amd64
>Organization:
NCTU CS
>Environment:
System: FreeBSD stucgi 7.0-RELEASE-p4 FreeBSD 7.0-RELEASE-p4 #0: Fri Sep  5 14:56:26 CST
>Description:
netaddr is a Python library for the manipulation of various common
network address notations and representations.

It takes the hassle out of fiddling with innumerable variations of
network addresses, presenting a consistent, extensible, easy-to-use
and (above all) Pythonic API.

With it you can validate, convert, categorise, iterate, generate,
slice (and dice):
    * IP version 4
    * IP version 6
    * CIDR (Classless Inter-Domain Routing)
    * MAC (Media Access Control)
    * IEEE EUI-48 and EUI-64 

WWW:	http://code.google.com/p/netaddr/

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- py-netaddr-0.5.2.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	py-netaddr
#	py-netaddr/pkg-descr
#	py-netaddr/Makefile
#	py-netaddr/pkg-plist
#	py-netaddr/distinfo
#
echo c - py-netaddr
mkdir -p py-netaddr > /dev/null 2>&1
echo x - py-netaddr/pkg-descr
sed 's/^X//' >py-netaddr/pkg-descr << 'END-of-py-netaddr/pkg-descr'
Xnetaddr is a Python library for the manipulation of various common
Xnetwork address notations and representations.
X
XIt takes the hassle out of fiddling with innumerable variations of
Xnetwork addresses, presenting a consistent, extensible, easy-to-use
Xand (above all) Pythonic API.
X
XWith it you can validate, convert, categorise, iterate, generate,
Xslice (and dice):
X    * IP version 4
X    * IP version 6
X    * CIDR (Classless Inter-Domain Routing)
X    * MAC (Media Access Control)
X    * IEEE EUI-48 and EUI-64 
X
XWWW:	http://code.google.com/p/netaddr/
END-of-py-netaddr/pkg-descr
echo x - py-netaddr/Makefile
sed 's/^X//' >py-netaddr/Makefile << 'END-of-py-netaddr/Makefile'
X# New ports collection makefile for:	py-netaddr
X# Date created:		2008-10-14
X# Whom:			Yi-Jheng Lin <yzlin at cs.nctu.edu.tw>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	netaddr
XPORTVERSION=	0.5.2
XCATEGORIES=	net python
XMASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
X
XMAINTAINER=	yzlin at cs.nctu.edu.tw
XCOMMENT=	A python library for the manipulation of network address manipulation
X
XOPTIONS=	RUNTEST "Run test scripts" Off
X
XUSE_PYTHON=	yes
XUSE_PYDISTUTILS=	yes
X
XDOCSDIR=	${PREFIX}/share/doc/py-${PORTNAME}
X
XPORTDOCS=	AUTHORS CHANGELOG GLOSSARY README
X
X# bypass infrastructure bug
XOPTIONSFILE=	${PORT_DBDIR}/py-${PORTNAME}/options
X
X.include <bsd.port.pre.mk>
X
X.if defined(WITH_RUNTEST)
XTESTFILES=	ut_address.py ut_run_all.py ut_strategy.py
X.endif
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X	${INSTALL_MAN} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
X.endif
X.if defined(WITH_RUNTEST)
X.for f in ${TESTFILES}
X	(cd ${WRKSRC}/tests && ${PYTHON_CMD} $f)
X.endfor
X.endif
X
X.include <bsd.port.post.mk>
END-of-py-netaddr/Makefile
echo x - py-netaddr/pkg-plist
sed 's/^X//' >py-netaddr/pkg-plist << 'END-of-py-netaddr/pkg-plist'
X at comment $FreeBSD$
X%%PYTHON_SITELIBDIR%%/netaddr/__init__.py
X%%PYTHON_SITELIBDIR%%/netaddr/address.py
X%%PYTHON_SITELIBDIR%%/netaddr/strategy.py
X%%PYTHON_SITELIBDIR%%/netaddr/__init__.pyc
X%%PYTHON_SITELIBDIR%%/netaddr/address.pyc
X%%PYTHON_SITELIBDIR%%/netaddr/strategy.pyc
X%%PYTHON_SITELIBDIR%%/netaddr/__init__.pyo
X%%PYTHON_SITELIBDIR%%/netaddr/address.pyo
X%%PYTHON_SITELIBDIR%%/netaddr/strategy.pyo
X at dirrm %%PYTHON_SITELIBDIR%%/netaddr
END-of-py-netaddr/pkg-plist
echo x - py-netaddr/distinfo
sed 's/^X//' >py-netaddr/distinfo << 'END-of-py-netaddr/distinfo'
XMD5 (netaddr-0.5.2.tar.gz) = 94154b32c371a1b1f4d11beda853017f
XSHA256 (netaddr-0.5.2.tar.gz) = ae48c99818195e04ff1e2167212da3c9e9f3cf465379114e13cd7a972844c86c
XSIZE (netaddr-0.5.2.tar.gz) = 158658
END-of-py-netaddr/distinfo
exit
--- py-netaddr-0.5.2.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list