Gentoo Archives: gentoo-commits

From: Denis Dupeyron <calchan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/spark-parser/
Date: Tue, 29 Nov 2016 00:49:06
Message-Id: 1480380515.e049b641dc81ae127606a4e7a49df459b060aaed.calchan@gentoo
1 commit: e049b641dc81ae127606a4e7a49df459b060aaed
2 Author: Denis Dupeyron <calchan <AT> gentoo <DOT> org>
3 AuthorDate: Tue Nov 29 00:48:35 2016 +0000
4 Commit: Denis Dupeyron <calchan <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 29 00:48:35 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e049b641
7
8 dev-python/spark-parser: bump to 1.5.1 at dolsen's request
9
10 Package-Manager: portage-2.3.2
11
12 dev-python/spark-parser/Manifest | 1 +
13 dev-python/spark-parser/spark-parser-1.5.1.ebuild | 42 +++++++++++++++++++++++
14 2 files changed, 43 insertions(+)
15
16 diff --git a/dev-python/spark-parser/Manifest b/dev-python/spark-parser/Manifest
17 index a7ab257..ffc4005 100644
18 --- a/dev-python/spark-parser/Manifest
19 +++ b/dev-python/spark-parser/Manifest
20 @@ -1 +1,2 @@
21 DIST spark_parser-1.4.0.tar.gz 99006 SHA256 282fe0d19de48d5fda6148032e47c822e2f088a5ff050cb7544f2bc2e701ede4 SHA512 1236fcfabcf4b829f70db240fd76baabc79873c03e96d9fdd92e6c23661e144c1b32d317a51f96f683bc6f96763cac0989709e344e53410ae949d30305dfadef WHIRLPOOL 1e8bfc67950e973fc80313d53f3df0da90c083da4482de1e2fac0fb2eb8698140aa1fda93cb0018b127b42a11cd3e8f68b2bfed77f43df9ed392ba668363eba5
22 +DIST spark_parser-1.5.1.tar.gz 111933 SHA256 b6753103f3744deefde7f841c275e4d15d813059a5b575ca7df28fa45480f83a SHA512 d46e4bf27b867e7e20e5d9d226d606428cc2173afdca27d5f8d26db2515a7ecb89b7a27cb091ff3d7d7c9cde748cc0e027b1f9212a2fc7b75144e156d16c8916 WHIRLPOOL 878054b393b6c2d74e46dcf2ba88f8966c45fedacc08557e31900718bd995cbc51a34b822657c8ee81af11b712cedda7358dfb77261dd5cb9a2150144d52b989
23
24 diff --git a/dev-python/spark-parser/spark-parser-1.5.1.ebuild b/dev-python/spark-parser/spark-parser-1.5.1.ebuild
25 new file mode 100644
26 index 00000000..3c0cd9a
27 --- /dev/null
28 +++ b/dev-python/spark-parser/spark-parser-1.5.1.ebuild
29 @@ -0,0 +1,42 @@
30 +# Copyright 1999-2016 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +# $Id$
33 +
34 +EAPI=6
35 +PYTHON_COMPAT=( python2_7 python3_{4,5} pypy)
36 +
37 +inherit distutils-r1
38 +
39 +MY_PN="spark_parser"
40 +
41 +DESCRIPTION="An Early-Algorithm Context-free grammar Parser"
42 +HOMEPAGE="https://github.com/rocky/python-spark/ https://pypi.python.org/pypi/spark_parser"
43 +SRC_URI="mirror://pypi/${P:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
44 +
45 +LICENSE="MIT"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~x86"
48 +IUSE="test"
49 +
50 +RDEPEND=""
51 +DEPEND="
52 + dev-python/setuptools[${PYTHON_USEDEP}]
53 + test? (
54 + >=dev-python/nose-1.0[${PYTHON_USEDEP}]
55 + dev-python/mock[${PYTHON_USEDEP}]
56 + )
57 +"
58 +
59 +S="${WORKDIR}/${MY_PN}-${PV}"
60 +
61 +python_prepare_all() {
62 + # Remove an unconditional test only dep
63 + sed \
64 + -e "s/setup_requires/# setup_requires/" \
65 + -i setup.py
66 + distutils-r1_python_prepare_all
67 +}
68 +
69 +python_test() {
70 + emake check
71 +}