mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 13:20:08 +02:00
Simpleparse: turn bep into recipe.
* Needs setuptools, so won't work for now...
This commit is contained in:
@@ -1,20 +1,36 @@
|
||||
DESCRIPTION="A Parser Generator for Python (w/mxTextTools derivative)"
|
||||
SUMMARY="A Parser Generator for Python (w/mxTextTools derivative)"
|
||||
DESCRIPTION="
|
||||
SimpleParse is a BSD-licensed Python package providing a simple and fast parser
|
||||
generator using a modified version of the mxTextTools text-tagging engine.
|
||||
SimpleParse allows you to generate parsers directly from your EBNF grammar.
|
||||
Unlike most parser generators, SimpleParse generates single-pass parsers (there
|
||||
is no distinct tokenization stage), an approach taken from the predecessor
|
||||
project (mcf.pars) which attempted to create \"autonomously parsing regex
|
||||
objects\". The resulting parsers are not as generalized as those created by, for
|
||||
instance, the Earley algorithm, but they do tend to be useful for the parsing of
|
||||
computer file formats and the like (as distinct from natural language and
|
||||
similar \"hard\" parsing problems)."
|
||||
HOMEPAGE="http://simpleparse.sourceforge.net/"
|
||||
SRC_URI="http://downloads.sourceforge.net/project/simpleparse/simpleparse/2.1.1a2/SimpleParse-2.1.1a2.tar.gz"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
ARCHITECTURES="!x86_gcc2"
|
||||
CHECKSUM_MD5="9c4e13b4f9b087442f76e7382ba97e3b"
|
||||
PROVIDES="
|
||||
simpleparse = $portVersion
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:python
|
||||
"
|
||||
|
||||
SOURCE_DIR="SimpleParse-$portVersion"
|
||||
BUILD()
|
||||
{
|
||||
cd SimpleParse-2.1.1a2
|
||||
python setup.py build
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd SimpleParse-2.1.1a2
|
||||
python setup.py install --root=${DESTDIR}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user