diff --git a/dev-python/spark-parser/Manifest b/dev-python/spark-parser/Manifest new file mode 100644 index 0000000000000..a7ab257de95b5 --- /dev/null +++ b/dev-python/spark-parser/Manifest @@ -0,0 +1 @@ +DIST spark_parser-1.4.0.tar.gz 99006 SHA256 282fe0d19de48d5fda6148032e47c822e2f088a5ff050cb7544f2bc2e701ede4 SHA512 1236fcfabcf4b829f70db240fd76baabc79873c03e96d9fdd92e6c23661e144c1b32d317a51f96f683bc6f96763cac0989709e344e53410ae949d30305dfadef WHIRLPOOL 1e8bfc67950e973fc80313d53f3df0da90c083da4482de1e2fac0fb2eb8698140aa1fda93cb0018b127b42a11cd3e8f68b2bfed77f43df9ed392ba668363eba5 diff --git a/dev-python/spark-parser/metadata.xml b/dev-python/spark-parser/metadata.xml new file mode 100644 index 0000000000000..978a6c97c2750 --- /dev/null +++ b/dev-python/spark-parser/metadata.xml @@ -0,0 +1,25 @@ + + + + + dol-sen@gentoo.org + Primary maintainer + + + python@gentoo.org + Python + + + + rb@dustyfeet.com + Rocky Bernstein + + spark_parser + + SPARK stands for Scanning, Parsing, and Rewriting Kit. + It uses Jay Early’s algorithm for parsing context free grammars, and + comes with some generic Abstract Syntax Tree routines. There is also a + prototype scanner which does its job by combining Python regular + expressions. + + diff --git a/dev-python/spark-parser/spark-parser-1.4.0.ebuild b/dev-python/spark-parser/spark-parser-1.4.0.ebuild new file mode 100644 index 0000000000000..9ca7566496bac --- /dev/null +++ b/dev-python/spark-parser/spark-parser-1.4.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +PYTHON_COMPAT=( python2_7 python3_{4,5} pypy) + +inherit distutils-r1 + +MY_PN="spark_parser" + +DESCRIPTION="An Early-Algorithm Context-free grammar Parser" +HOMEPAGE="https://github.com/rocky/python-spark/ https://pypi.python.org/pypi/spark_parser" +SRC_URI="mirror://pypi/${P:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND="" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + >=dev-python/nose-1.0[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +S="${WORKDIR}/${MY_PN}-${PV}" + +python_test() { + emake check +}