summaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-05-10 17:32:43 +0000
committerijliao <ijliao@FreeBSD.org>2002-05-10 17:32:43 +0000
commit3de4edf6dbeb3e49757ce38065512ab058366696 (patch)
tree926389d26446538f5dd22a53b1676564e4160943 /textproc
parent87808ac16f15c6b152ddb91f2f8e0b7fe348631c (diff)
downloadFreeBSD-ports-3de4edf6dbeb3e49757ce38065512ab058366696.zip
FreeBSD-ports-3de4edf6dbeb3e49757ce38065512ab058366696.tar.gz
add py-rxp 0.7
Fast validating XML parser for Python PR: 37926 Submitted by: Hye-Shik Chang <perky@fallin.lv>
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/py-rxp/Makefile35
-rw-r--r--textproc/py-rxp/distinfo1
-rw-r--r--textproc/py-rxp/pkg-comment1
-rw-r--r--textproc/py-rxp/pkg-descr11
-rw-r--r--textproc/py-rxp/pkg-plist18
6 files changed, 67 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 2f662a3..c389d35 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -221,6 +221,7 @@
SUBDIR += py-expat
SUBDIR += py-jaxml
SUBDIR += py-martel
+ SUBDIR += py-rxp
SUBDIR += py-sgrep
SUBDIR += py-trex
SUBDIR += py-wordnet
diff --git a/textproc/py-rxp/Makefile b/textproc/py-rxp/Makefile
new file mode 100644
index 0000000..cde6feb
--- /dev/null
+++ b/textproc/py-rxp/Makefile
@@ -0,0 +1,35 @@
+# Ports collection makefile for: py-rxp
+# Date created: 10 May 2002
+# Whom: Hye-Shik Chang <perky@fallin.lv>
+#
+# $FreeBSD$
+#
+
+PORTNAME= rxp
+PORTVERSION= 0.7
+CATEGORIES= textproc python
+MASTER_SITES= http://www.reportlab.com/ftp/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= pyRXP-${PORTVERSION:S/./-/}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= perky@fallin.lv
+
+NO_WRKSUBDIR= yes
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+
+EXAMPLESDIR= ${PREFIX}/share/examples/py-rxp
+DOCSDIR= ${PREFIX}/share/doc/py-rxp
+
+post-patch:
+ @${PERL} -pi -e 's/freebsd4/freebsd4","freebsd5/g' ${WRKSRC}/setup.py
+
+.if !defined(NOPORTDOCS)
+post-install:
+ @${MKDIR} ${EXAMPLESDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/textproc/py-rxp/distinfo b/textproc/py-rxp/distinfo
new file mode 100644
index 0000000..b8011e3
--- /dev/null
+++ b/textproc/py-rxp/distinfo
@@ -0,0 +1 @@
+MD5 (pyRXP-0-7.tgz) = 135bafcadeba6c3c545d414a7e489617
diff --git a/textproc/py-rxp/pkg-comment b/textproc/py-rxp/pkg-comment
new file mode 100644
index 0000000..4a68c3a
--- /dev/null
+++ b/textproc/py-rxp/pkg-comment
@@ -0,0 +1 @@
+Fast validating XML parser for Python
diff --git a/textproc/py-rxp/pkg-descr b/textproc/py-rxp/pkg-descr
new file mode 100644
index 0000000..a5f4369
--- /dev/null
+++ b/textproc/py-rxp/pkg-descr
@@ -0,0 +1,11 @@
+RXP is a very fast validating XML parser written by Richard Tobin
+of the University of Edinburgh. It complies fully with the W3C test
+suites (although we have compiled it without Unicode support for
+the time being). pyRXP is a wrapper around this which constructs a
+lightweight in-memory "tuple tree" in a single call. This structure
+is the lightest one we could define in Python, and it is constructed
+entirely in C code, resulting in unprecedented speed. It is a core
+part of ReportLab's forthcoming XML toolkit, which aims to offer
+simple, fast and pythonic tools for common XML processing tasks.
+
+WWW: http://www.reportlab.com/xml/pyrxp.html
diff --git a/textproc/py-rxp/pkg-plist b/textproc/py-rxp/pkg-plist
new file mode 100644
index 0000000..270dc03
--- /dev/null
+++ b/textproc/py-rxp/pkg-plist
@@ -0,0 +1,18 @@
+lib/%%PYTHON_VERSION%%/site-packages/pyRXP.so
+%%PORTDOCS%%share/doc/py-rxp/PyRXP_Documentation.rml
+%%PORTDOCS%%share/doc/py-rxp/replogo.gif
+%%PORTDOCS%%@dirrm share/doc/py-rxp
+%%PORTDOCS%%share/examples/py-rxp/00readme.txt
+%%PORTDOCS%%share/examples/py-rxp/benchmarks.py
+%%PORTDOCS%%share/examples/py-rxp/expattree.py
+%%PORTDOCS%%share/examples/py-rxp/hamlet.xml
+%%PORTDOCS%%share/examples/py-rxp/play.dtd
+%%PORTDOCS%%share/examples/py-rxp/rml_a.dtd
+%%PORTDOCS%%share/examples/py-rxp/rml_a.xml
+%%PORTDOCS%%share/examples/py-rxp/sample1.xml
+%%PORTDOCS%%share/examples/py-rxp/sample2.xml
+%%PORTDOCS%%share/examples/py-rxp/sample3.xml
+%%PORTDOCS%%share/examples/py-rxp/sample4.xml
+%%PORTDOCS%%share/examples/py-rxp/tinydtd.dtd
+%%PORTDOCS%%share/examples/py-rxp/xmlutils.py
+%%PORTDOCS%%@dirrm share/examples/py-rxp
OpenPOWER on IntegriCloud