New port py-mxTextTools, some tools for fast text processing in Python.

This commit is contained in:
Thomas Gellekum
1999-05-26 07:53:18 +00:00
parent f50693c67a
commit ee48e888bf
12 changed files with 190 additions and 0 deletions

49
lang/py-mx-base/Makefile Normal file
View File

@@ -0,0 +1,49 @@
# New ports collection makefile for: py-mxTextTools
# Version required: 1.0.2
# Date created: 12 May 1999
# Whom: Thomas Gellekum <tg@FreeBSD.ORG>
#
# $Id$
#
DISTNAME= mxTextTools-1.0.2
PKGNAME= py-mxTextTools-1.0.2
CATEGORIES= textproc python
MASTER_SITES= http://starship.skyport.net/~lemburg/
MAINTAINER= tg@FreeBSD.ORG
BUILD_DEPENDS= python:${PORTSDIR}/lang/python
RUN_DEPENDS= python:${PORTSDIR}/lang/python
USE_ZIP= yes
EXTRACT_BEFORE_ARGS= -aq
WRKSRC= ${WRKDIR}/TextTools/mxTextTools
ALL_TARGET= sharedmods
PYTHONSCRIPTDIR= ${PREFIX}/lib/python1.5
TEXTTOOLSDIR= ${PYTHONSCRIPTDIR}/site-packages/TextTools
DOCDIR= ${PREFIX}/share/doc/py-mxTextTools
EXAMPLEDIR= ${PREFIX}/share/examples/py-mxTextTools
post-extract:
@${CP} ${FILESDIR}/Setup ${WRKSRC}
do-configure:
@(cd ${WRKSRC} && ${CONFIGURE_ENV} ${MAKE} -f Makefile.pre.in boot)
post-install:
@${MKDIR} ${TEXTTOOLSDIR}
${INSTALL_DATA} ${WRKDIR}/TextTools/*.py ${TEXTTOOLSDIR}
@${MKDIR} ${TEXTTOOLSDIR}/Constants
${INSTALL_DATA} ${WRKDIR}/TextTools/Constants/*.py ${TEXTTOOLSDIR}/Constants
@${PREFIX}/bin/python ${PYTHONSCRIPTDIR}/compileall.py ${TEXTTOOLSDIR}
@${PREFIX}/bin/python -O ${PYTHONSCRIPTDIR}/compileall.py ${TEXTTOOLSDIR}
@${MKDIR} ${EXAMPLEDIR}
${INSTALL_DATA} ${WRKDIR}/TextTools/Examples/* ${EXAMPLEDIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCDIR}
${INSTALL_DATA} ${WRKDIR}/TextTools/Doc/* ${DOCDIR}
.endif
.include <bsd.port.mk>

1
lang/py-mx-base/distinfo Normal file
View File

@@ -0,0 +1 @@
MD5 (mxTextTools-1.0.2.zip) = 7793468445e7294a4926f34f7b142c6d

View File

@@ -0,0 +1,6 @@
# Build extensions shared:
*shared*
#
# Text processing tools
mxTextTools mxTextTools.c mxte.c mxbmse.c

View File

@@ -0,0 +1 @@
Tools for fast text processing in python.

View File

@@ -0,0 +1,7 @@
This package provides several different functions and mechanisms
to do fast text text processing. Amongst these are character set
operations, parsing & tagging tools (using a finite state machine
executing byte code) and common things such as Boyer-Moore search
objects. For full documentation see the home page.
WWW: http://starship.skyport.net/~lemburg/mxTextTools.html

31
lang/py-mx-base/pkg-plist Normal file
View File

@@ -0,0 +1,31 @@
lib/python1.5/site-packages/TextTools/Constants/Sets.py
lib/python1.5/site-packages/TextTools/Constants/Sets.pyc
lib/python1.5/site-packages/TextTools/Constants/Sets.pyo
lib/python1.5/site-packages/TextTools/Constants/TagTables.py
lib/python1.5/site-packages/TextTools/Constants/TagTables.pyc
lib/python1.5/site-packages/TextTools/Constants/TagTables.pyo
lib/python1.5/site-packages/TextTools/Constants/__init__.py
lib/python1.5/site-packages/TextTools/Constants/__init__.pyc
lib/python1.5/site-packages/TextTools/Constants/__init__.pyo
@dirrm lib/python1.5/site-packages/TextTools/Constants
lib/python1.5/site-packages/TextTools/TextTools.py
lib/python1.5/site-packages/TextTools/TextTools.pyc
lib/python1.5/site-packages/TextTools/TextTools.pyo
lib/python1.5/site-packages/TextTools/__init__.py
lib/python1.5/site-packages/TextTools/__init__.pyc
lib/python1.5/site-packages/TextTools/__init__.pyo
lib/python1.5/site-packages/mxTextTools.so
@dirrm lib/python1.5/site-packages/TextTools
share/doc/py-mxTextTools/mxTextTools.html
@dirrm share/doc/py-mxTextTools
share/examples/py-mxTextTools/HTML.py
share/examples/py-mxTextTools/Loop.py
share/examples/py-mxTextTools/Python.py
share/examples/py-mxTextTools/RTF.py
share/examples/py-mxTextTools/RegExp.py
share/examples/py-mxTextTools/Tim.py
share/examples/py-mxTextTools/Words.py
share/examples/py-mxTextTools/__init__.py
share/examples/py-mxTextTools/altRTF.py
share/examples/py-mxTextTools/pytag.py
@dirrm share/examples/py-mxTextTools

View File

@@ -0,0 +1,49 @@
# New ports collection makefile for: py-mxTextTools
# Version required: 1.0.2
# Date created: 12 May 1999
# Whom: Thomas Gellekum <tg@FreeBSD.ORG>
#
# $Id$
#
DISTNAME= mxTextTools-1.0.2
PKGNAME= py-mxTextTools-1.0.2
CATEGORIES= textproc python
MASTER_SITES= http://starship.skyport.net/~lemburg/
MAINTAINER= tg@FreeBSD.ORG
BUILD_DEPENDS= python:${PORTSDIR}/lang/python
RUN_DEPENDS= python:${PORTSDIR}/lang/python
USE_ZIP= yes
EXTRACT_BEFORE_ARGS= -aq
WRKSRC= ${WRKDIR}/TextTools/mxTextTools
ALL_TARGET= sharedmods
PYTHONSCRIPTDIR= ${PREFIX}/lib/python1.5
TEXTTOOLSDIR= ${PYTHONSCRIPTDIR}/site-packages/TextTools
DOCDIR= ${PREFIX}/share/doc/py-mxTextTools
EXAMPLEDIR= ${PREFIX}/share/examples/py-mxTextTools
post-extract:
@${CP} ${FILESDIR}/Setup ${WRKSRC}
do-configure:
@(cd ${WRKSRC} && ${CONFIGURE_ENV} ${MAKE} -f Makefile.pre.in boot)
post-install:
@${MKDIR} ${TEXTTOOLSDIR}
${INSTALL_DATA} ${WRKDIR}/TextTools/*.py ${TEXTTOOLSDIR}
@${MKDIR} ${TEXTTOOLSDIR}/Constants
${INSTALL_DATA} ${WRKDIR}/TextTools/Constants/*.py ${TEXTTOOLSDIR}/Constants
@${PREFIX}/bin/python ${PYTHONSCRIPTDIR}/compileall.py ${TEXTTOOLSDIR}
@${PREFIX}/bin/python -O ${PYTHONSCRIPTDIR}/compileall.py ${TEXTTOOLSDIR}
@${MKDIR} ${EXAMPLEDIR}
${INSTALL_DATA} ${WRKDIR}/TextTools/Examples/* ${EXAMPLEDIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCDIR}
${INSTALL_DATA} ${WRKDIR}/TextTools/Doc/* ${DOCDIR}
.endif
.include <bsd.port.mk>

View File

@@ -0,0 +1 @@
MD5 (mxTextTools-1.0.2.zip) = 7793468445e7294a4926f34f7b142c6d

View File

@@ -0,0 +1,6 @@
# Build extensions shared:
*shared*
#
# Text processing tools
mxTextTools mxTextTools.c mxte.c mxbmse.c

View File

@@ -0,0 +1 @@
Tools for fast text processing in python.

View File

@@ -0,0 +1,7 @@
This package provides several different functions and mechanisms
to do fast text text processing. Amongst these are character set
operations, parsing & tagging tools (using a finite state machine
executing byte code) and common things such as Boyer-Moore search
objects. For full documentation see the home page.
WWW: http://starship.skyport.net/~lemburg/mxTextTools.html

View File

@@ -0,0 +1,31 @@
lib/python1.5/site-packages/TextTools/Constants/Sets.py
lib/python1.5/site-packages/TextTools/Constants/Sets.pyc
lib/python1.5/site-packages/TextTools/Constants/Sets.pyo
lib/python1.5/site-packages/TextTools/Constants/TagTables.py
lib/python1.5/site-packages/TextTools/Constants/TagTables.pyc
lib/python1.5/site-packages/TextTools/Constants/TagTables.pyo
lib/python1.5/site-packages/TextTools/Constants/__init__.py
lib/python1.5/site-packages/TextTools/Constants/__init__.pyc
lib/python1.5/site-packages/TextTools/Constants/__init__.pyo
@dirrm lib/python1.5/site-packages/TextTools/Constants
lib/python1.5/site-packages/TextTools/TextTools.py
lib/python1.5/site-packages/TextTools/TextTools.pyc
lib/python1.5/site-packages/TextTools/TextTools.pyo
lib/python1.5/site-packages/TextTools/__init__.py
lib/python1.5/site-packages/TextTools/__init__.pyc
lib/python1.5/site-packages/TextTools/__init__.pyo
lib/python1.5/site-packages/mxTextTools.so
@dirrm lib/python1.5/site-packages/TextTools
share/doc/py-mxTextTools/mxTextTools.html
@dirrm share/doc/py-mxTextTools
share/examples/py-mxTextTools/HTML.py
share/examples/py-mxTextTools/Loop.py
share/examples/py-mxTextTools/Python.py
share/examples/py-mxTextTools/RTF.py
share/examples/py-mxTextTools/RegExp.py
share/examples/py-mxTextTools/Tim.py
share/examples/py-mxTextTools/Words.py
share/examples/py-mxTextTools/__init__.py
share/examples/py-mxTextTools/altRTF.py
share/examples/py-mxTextTools/pytag.py
@dirrm share/examples/py-mxTextTools