ports/91687: [NEW PORT] devel/py-cElementTree: A fast C implementation of the ElementTree API
Nicola Vitale
nivit at email.it
Wed Jan 11 21:40:07 UTC 2006
>Number: 91687
>Category: ports
>Synopsis: [NEW PORT] devel/py-cElementTree: A fast C implementation of the ElementTree API
>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: Wed Jan 11 21:40:04 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Nicola Vitale
>Release: FreeBSD 5.4-RELEASE-p8 i386
>Organization:
>Environment:
System: FreeBSD stellina.domo.sva 5.4-RELEASE-p8 FreeBSD 5.4-RELEASE-p8 #4: Mon Nov 28 10:22:09 CET 2005
>Description:
The cElementTree module is a C implementation of the ElementTree API.
On typical documents, it's 15-20 times faster than the Python version
of ElementTree, and uses 2-5 times less memory. On modern hardware,
that means that documents in the 50-100 megabyte range can be manipulated
in memory, and that documents in the 0-1 megabyte range load in zero
time (0.0 seconds). This allows you to drastically simplify many kinds
of XML applications.
Author: Fredrik Lundh
WWW: http://effbot.org/zone/celementtree.html
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
--- py24-cElementTree-1.0.5.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-cElementTree
# py-cElementTree/Makefile
# py-cElementTree/distinfo
# py-cElementTree/pkg-descr
# py-cElementTree/pkg-plist
#
echo c - py-cElementTree
mkdir -p py-cElementTree > /dev/null 2>&1
echo x - py-cElementTree/Makefile
sed 's/^X//' >py-cElementTree/Makefile << 'END-of-py-cElementTree/Makefile'
X# Ports collection makefile for: py-cElementTree
X# Date created: 11 January 2006
X# Whom: Nicola Vitale <nivit at email.it>
X#
X# $FreeBSD$
X#
X
XPORTNAME= cElementTree
XPORTVERSION= 1.0.5
XCATEGORIES= devel python
XMASTER_SITES= http://effbot.org/downloads/
XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
XDISTNAME= ${PORTNAME}-${PORTVERSION}-20051216
X
XMAINTAINER= nivit at email.it
XCOMMENT= A fast C implementation of the ElementTree API
X
XUSE_PYTHON= yes
XUSE_PYDISTUTILS= yes
X
XEXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
X
X.if !defined(NOPORTDOCS)
Xpost-install:
X @${MKDIR} ${EXAMPLESDIR}
X ${CP} -R ${WRKSRC}/samples/ ${EXAMPLESDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-py-cElementTree/Makefile
echo x - py-cElementTree/distinfo
sed 's/^X//' >py-cElementTree/distinfo << 'END-of-py-cElementTree/distinfo'
XMD5 (cElementTree-1.0.5-20051216.tar.gz) = b6896e742e39f594046b07e58f1d25fe
XSHA256 (cElementTree-1.0.5-20051216.tar.gz) = b2e528c99837124b32598bde7a19da579203c600d71f22f4c84da0933ba09751
XSIZE (cElementTree-1.0.5-20051216.tar.gz) = 93766
END-of-py-cElementTree/distinfo
echo x - py-cElementTree/pkg-descr
sed 's/^X//' >py-cElementTree/pkg-descr << 'END-of-py-cElementTree/pkg-descr'
XThe cElementTree module is a C implementation of the ElementTree API.
XOn typical documents, it's 15-20 times faster than the Python version
Xof ElementTree, and uses 2-5 times less memory. On modern hardware,
Xthat means that documents in the 50-100 megabyte range can be manipulated
Xin memory, and that documents in the 0-1 megabyte range load in zero
Xtime (0.0 seconds). This allows you to drastically simplify many kinds
Xof XML applications.
X
XAuthor: Fredrik Lundh
XWWW: http://effbot.org/zone/celementtree.html
END-of-py-cElementTree/pkg-descr
echo x - py-cElementTree/pkg-plist
sed 's/^X//' >py-cElementTree/pkg-plist << 'END-of-py-cElementTree/pkg-plist'
X at comment $FreeBSD$
X%%PYTHON_SITELIBDIR%%/cElementTree.so
X%%PORTDOCS%%%%EXAMPLESDIR%%/simple-ns.xml
X%%PORTDOCS%%%%EXAMPLESDIR%%/simple.xml
X%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
END-of-py-cElementTree/pkg-plist
exit
--- py24-cElementTree-1.0.5.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list