diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2006-01-14 17:42:16 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2006-01-14 17:42:16 +0000 |
commit | aaff7296253a5fc400b9b370dd22643815276c5f (patch) | |
tree | 153f5bd70426a81011a245c255d67768104cbfcb /devel/py-celementtree | |
parent | 24f6b29c77999f0fe4d56441f5785cd434d71fce (diff) | |
download | ports-aaff7296253a5fc400b9b370dd22643815276c5f.tar.gz ports-aaff7296253a5fc400b9b370dd22643815276c5f.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>
Notes
Notes:
svn path=/head/; revision=153482
Diffstat (limited to 'devel/py-celementtree')
-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 |
4 files changed, 47 insertions, 0 deletions
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%% |