description spark is the little language compiler framework for python
long_description SPARK stands for the Scanning, Parsing, and Rewriting \
Kit. It formerly had no name, and was referred to as \
the "little language framework." The first version \
(circa 1998) was described in the paper Compiling \
Little Languages in Python at the 7th International \
homepage http://pages.cpsc.ucalgary.ca/~aycock/spark/
distname spark-${version}
checksums md5 28c4c3b1031a6a4e4c4bd42726d22b65
file delete ${worksrcpath}/generic.py
file copy ${portpath}/files/setup.py ${worksrcpath}
reinplace "s|PORTVERSION|${version}|g" ${worksrcpath}/setup.py
xinstall -m 644 ${worksrcpath}/doc/doc.html \
${destroot}${prefix}/share/doc/${name}
file delete ${destroot}${prefix}/share/doc/${name}/examples
file copy ${worksrcpath}/examples \
${destroot}${prefix}/share/doc/${name}/
${destroot}${prefix}/share/doc/${name}/examples/auto/spark.py \
${destroot}${prefix}/share/doc/${name}/examples/paper/spark.py \
${destroot}${prefix}/share/doc/${name}/examples/python/spark.py