diff options
author | pav <pav@FreeBSD.org> | 2006-01-15 01:42:16 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2006-01-15 01:42:16 +0800 |
commit | bbc97b0a3ba575ef5cdaf9a0bbdc16ee274305c1 (patch) | |
tree | 69f156e9d2bc6299d244c6e6d76dbc004690f137 /devel | |
parent | f48f77488487a90670d5d28f7774e13eb7f72c51 (diff) | |
download | freebsd-ports-gnome-bbc97b0a3ba575ef5cdaf9a0bbdc16ee274305c1.tar.gz freebsd-ports-gnome-bbc97b0a3ba575ef5cdaf9a0bbdc16ee274305c1.tar.zst freebsd-ports-gnome-bbc97b0a3ba575ef5cdaf9a0bbdc16ee274305c1.zip |
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.
PR: ports/91687
Submitted by: Nicola Vitale <nivit@email.it>
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/py-celementtree/Makefile | 29 | ||||
-rw-r--r-- | devel/py-celementtree/distinfo | 3 | ||||
-rw-r--r-- | devel/py-celementtree/pkg-descr | 10 | ||||
-rw-r--r-- | devel/py-celementtree/pkg-plist | 5 |
5 files changed, 48 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index dcc7371c1798..0382229acc73 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1382,6 +1382,7 @@ SUBDIR += pwlib SUBDIR += py-anonfunc SUBDIR += py-bison + SUBDIR += py-celementtree SUBDIR += py-cheetah SUBDIR += py-ciphon SUBDIR += py-clientcookie diff --git a/devel/py-celementtree/Makefile b/devel/py-celementtree/Makefile new file mode 100644 index 000000000000..64f59f2d875e --- /dev/null +++ b/devel/py-celementtree/Makefile @@ -0,0 +1,29 @@ +# Ports collection makefile for: py-cElementTree +# Date created: 11 January 2006 +# Whom: Nicola Vitale <nivit@email.it> +# +# $FreeBSD$ +# + +PORTNAME= cElementTree +PORTVERSION= 1.0.5 +CATEGORIES= devel python +MASTER_SITES= http://effbot.org/downloads/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME}-${PORTVERSION}-20051216 + +MAINTAINER= nivit@email.it +COMMENT= A fast C implementation of the ElementTree API + +USE_PYTHON= yes +USE_PYDISTUTILS= yes + +EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} + +.if !defined(NOPORTDOCS) +post-install: + @${MKDIR} ${EXAMPLESDIR} + ${CP} -R ${WRKSRC}/samples/ ${EXAMPLESDIR} +.endif + +.include <bsd.port.mk> diff --git a/devel/py-celementtree/distinfo b/devel/py-celementtree/distinfo new file mode 100644 index 000000000000..d777827a57e9 --- /dev/null +++ b/devel/py-celementtree/distinfo @@ -0,0 +1,3 @@ +MD5 (cElementTree-1.0.5-20051216.tar.gz) = b6896e742e39f594046b07e58f1d25fe +SHA256 (cElementTree-1.0.5-20051216.tar.gz) = b2e528c99837124b32598bde7a19da579203c600d71f22f4c84da0933ba09751 +SIZE (cElementTree-1.0.5-20051216.tar.gz) = 93766 diff --git a/devel/py-celementtree/pkg-descr b/devel/py-celementtree/pkg-descr new file mode 100644 index 000000000000..c5d145facb1a --- /dev/null +++ b/devel/py-celementtree/pkg-descr @@ -0,0 +1,10 @@ +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 diff --git a/devel/py-celementtree/pkg-plist b/devel/py-celementtree/pkg-plist new file mode 100644 index 000000000000..8a7226d3fded --- /dev/null +++ b/devel/py-celementtree/pkg-plist @@ -0,0 +1,5 @@ +@comment $FreeBSD$ +%%PYTHON_SITELIBDIR%%/cElementTree.so +%%PORTDOCS%%%%EXAMPLESDIR%%/simple-ns.xml +%%PORTDOCS%%%%EXAMPLESDIR%%/simple.xml +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% |