1 |
commit: f4713b72e6c4f2a17ca54148c59f8059cda66e05 |
2 |
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Oct 5 23:32:27 2016 +0000 |
4 |
Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 7 18:11:12 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4713b72 |
7 |
|
8 |
dev-python/spark-parser: New package, dep of new dev-python/uncompyle6 pkg |
9 |
|
10 |
Package-Manager: portage-2.3.1_p8 |
11 |
|
12 |
dev-python/spark-parser/Manifest | 1 + |
13 |
dev-python/spark-parser/metadata.xml | 25 +++++++++++++++++ |
14 |
dev-python/spark-parser/spark-parser-1.4.0.ebuild | 34 +++++++++++++++++++++++ |
15 |
3 files changed, 60 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/spark-parser/Manifest b/dev-python/spark-parser/Manifest |
18 |
new file mode 100644 |
19 |
index 00000000..a7ab257 |
20 |
--- /dev/null |
21 |
+++ b/dev-python/spark-parser/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST spark_parser-1.4.0.tar.gz 99006 SHA256 282fe0d19de48d5fda6148032e47c822e2f088a5ff050cb7544f2bc2e701ede4 SHA512 1236fcfabcf4b829f70db240fd76baabc79873c03e96d9fdd92e6c23661e144c1b32d317a51f96f683bc6f96763cac0989709e344e53410ae949d30305dfadef WHIRLPOOL 1e8bfc67950e973fc80313d53f3df0da90c083da4482de1e2fac0fb2eb8698140aa1fda93cb0018b127b42a11cd3e8f68b2bfed77f43df9ed392ba668363eba5 |
24 |
|
25 |
diff --git a/dev-python/spark-parser/metadata.xml b/dev-python/spark-parser/metadata.xml |
26 |
new file mode 100644 |
27 |
index 00000000..978a6c9 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/spark-parser/metadata.xml |
30 |
@@ -0,0 +1,25 @@ |
31 |
+<?xml version="1.0" encoding="UTF-8"?> |
32 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
33 |
+<pkgmetadata> |
34 |
+ <maintainer type="person"> |
35 |
+ <email>dol-sen@g.o</email> |
36 |
+ <description>Primary maintainer</description> |
37 |
+ </maintainer> |
38 |
+ <maintainer type="project"> |
39 |
+ <email>python@g.o</email> |
40 |
+ <name>Python</name> |
41 |
+ </maintainer> |
42 |
+ <upstream> |
43 |
+ <maintainer> |
44 |
+ <email>rb@×××××××××.com</email> |
45 |
+ <name>Rocky Bernstein</name> |
46 |
+ </maintainer> |
47 |
+ <remote-id type="pypi">spark_parser</remote-id> |
48 |
+ </upstream> |
49 |
+ <longdescription>SPARK stands for Scanning, Parsing, and Rewriting Kit. |
50 |
+ It uses Jay Early’s algorithm for parsing context free grammars, and |
51 |
+ comes with some generic Abstract Syntax Tree routines. There is also a |
52 |
+ prototype scanner which does its job by combining Python regular |
53 |
+ expressions. |
54 |
+ </longdescription> |
55 |
+</pkgmetadata> |
56 |
|
57 |
diff --git a/dev-python/spark-parser/spark-parser-1.4.0.ebuild b/dev-python/spark-parser/spark-parser-1.4.0.ebuild |
58 |
new file mode 100644 |
59 |
index 00000000..9ca7566 |
60 |
--- /dev/null |
61 |
+++ b/dev-python/spark-parser/spark-parser-1.4.0.ebuild |
62 |
@@ -0,0 +1,34 @@ |
63 |
+# Copyright 1999-2016 Gentoo Foundation |
64 |
+# Distributed under the terms of the GNU General Public License v2 |
65 |
+# $Id$ |
66 |
+ |
67 |
+EAPI=6 |
68 |
+PYTHON_COMPAT=( python2_7 python3_{4,5} pypy) |
69 |
+ |
70 |
+inherit distutils-r1 |
71 |
+ |
72 |
+MY_PN="spark_parser" |
73 |
+ |
74 |
+DESCRIPTION="An Early-Algorithm Context-free grammar Parser" |
75 |
+HOMEPAGE="https://github.com/rocky/python-spark/ https://pypi.python.org/pypi/spark_parser" |
76 |
+SRC_URI="mirror://pypi/${P:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" |
77 |
+ |
78 |
+LICENSE="MIT" |
79 |
+SLOT="0" |
80 |
+KEYWORDS="~amd64 ~x86" |
81 |
+IUSE="test" |
82 |
+ |
83 |
+RDEPEND="" |
84 |
+DEPEND=" |
85 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
86 |
+ test? ( |
87 |
+ >=dev-python/nose-1.0[${PYTHON_USEDEP}] |
88 |
+ dev-python/mock[${PYTHON_USEDEP}] |
89 |
+ ) |
90 |
+" |
91 |
+ |
92 |
+S="${WORKDIR}/${MY_PN}-${PV}" |
93 |
+ |
94 |
+python_test() { |
95 |
+ emake check |
96 |
+} |