diff options
author | Brian Dolbec <dolsen@gentoo.org> | 2016-10-05 16:32:27 -0700 |
---|---|---|
committer | Brian Dolbec <dolsen@gentoo.org> | 2016-10-07 11:11:12 -0700 |
commit | f4713b72e6c4f2a17ca54148c59f8059cda66e05 (patch) | |
tree | d1c3fc6d6d806867f8e5b6cf2b8ea76870cc1295 /dev-python/spark-parser | |
parent | dev-python/twisted: New monolithic release twisted package (diff) | |
download | gentoo-f4713b72e6c4f2a17ca54148c59f8059cda66e05.tar.gz gentoo-f4713b72e6c4f2a17ca54148c59f8059cda66e05.tar.bz2 gentoo-f4713b72e6c4f2a17ca54148c59f8059cda66e05.zip |
dev-python/spark-parser: New package, dep of new dev-python/uncompyle6 pkg
Package-Manager: portage-2.3.1_p8
Diffstat (limited to 'dev-python/spark-parser')
-rw-r--r-- | dev-python/spark-parser/Manifest | 1 | ||||
-rw-r--r-- | dev-python/spark-parser/metadata.xml | 25 | ||||
-rw-r--r-- | dev-python/spark-parser/spark-parser-1.4.0.ebuild | 34 |
3 files changed, 60 insertions, 0 deletions
diff --git a/dev-python/spark-parser/Manifest b/dev-python/spark-parser/Manifest new file mode 100644 index 000000000000..a7ab257de95b --- /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 000000000000..978a6c97c275 --- /dev/null +++ b/dev-python/spark-parser/metadata.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>dol-sen@gentoo.org</email> + <description>Primary maintainer</description> + </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <maintainer> + <email>rb@dustyfeet.com</email> + <name>Rocky Bernstein</name> + </maintainer> + <remote-id type="pypi">spark_parser</remote-id> + </upstream> + <longdescription>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. + </longdescription> +</pkgmetadata> 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 000000000000..9ca7566496ba --- /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 +} |