1 |
commit: 357ab6dc3372f7c12659966a30cf118a31897e43 |
2 |
Author: Dirkjan Ochtman <djc <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 11 09:05:47 2015 +0000 |
4 |
Commit: Dirkjan Ochtman <djc <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 11 09:05:47 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=357ab6dc |
7 |
|
8 |
dev-python/rply: version bump to 0.7.4 |
9 |
|
10 |
Package-Manager: portage-2.2.20.1 |
11 |
|
12 |
dev-python/rply/Manifest | 1 + |
13 |
dev-python/rply/rply-0.7.4.ebuild | 37 +++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 38 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/rply/Manifest b/dev-python/rply/Manifest |
17 |
index 66cd92c..d10c4ea 100644 |
18 |
--- a/dev-python/rply/Manifest |
19 |
+++ b/dev-python/rply/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST rply-0.7.3.tar.gz 27346 SHA256 708f94da2cf5df72b0d0fe73a44a6f2310dd74004b0e7ef6bf812f941dac582a SHA512 45f8b2b9fb84940c1149b43ffda070d7ded47a5b8d8e86cf030603cb0fae78df954e629d9e6722e8f4d5ff2a7a2d516a92cf320d438cb6b1595d110e06dfc351 WHIRLPOOL b1c55fc76f0f6c7afae5dbce336a6a7510ed38ecd3c81ab22f19d9657c9f3547c8297028c35a60931db0197fdc0fee7cb1e7c50bad6769bba413247d759508da |
22 |
+DIST rply-0.7.4.tar.gz 27392 SHA256 5fe9fc7c24dc3cfcaf443ef84fddcf420132746e64eced79b6735e7927e80329 SHA512 e3c3a828eb4b3cb20751ecb2d91efaabddbe3702d52b9adefe1748c07c843da1899e3944bcf0ab79f627ae428b8879cf99739ea7e0c6fd1acffc4ac4dee1b652 WHIRLPOOL 5d1cf3abf224a03a6210254577f388367b41c645fe4464e27e6c3537f933c79d6d004c33765c76a307973b5afde8954266da6d9bb6e850e841b9a987cc7f2e6c |
23 |
|
24 |
diff --git a/dev-python/rply/rply-0.7.4.ebuild b/dev-python/rply/rply-0.7.4.ebuild |
25 |
new file mode 100644 |
26 |
index 0000000..0d09e28 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/rply/rply-0.7.4.ebuild |
29 |
@@ -0,0 +1,37 @@ |
30 |
+# Copyright 1999-2015 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+# $Id$ |
33 |
+ |
34 |
+EAPI=5 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Pure python parser generator that also works with RPython" |
41 |
+HOMEPAGE="https://github.com/alex/rply" |
42 |
+SRC_URI="https://github.com/alex/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="BSD" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~x86" |
47 |
+IUSE="test" |
48 |
+ |
49 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
50 |
+ dev-python/appdirs[${PYTHON_USEDEP}] |
51 |
+ test? ( |
52 |
+ dev-python/py[${PYTHON_USEDEP}] |
53 |
+ dev-python/pytest[${PYTHON_USEDEP}] )" |
54 |
+ |
55 |
+python_prepare() { |
56 |
+ # https://github.com/alex/rply/issues/26; fail under py[3-4] |
57 |
+ if python_is_python3; then |
58 |
+ sed -e s':test_simple:_&:' -e s':test_empty_production:_&:' \ |
59 |
+ -i tests/test_parsergenerator.py |
60 |
+ fi |
61 |
+ distutils-r1_python_prepare |
62 |
+} |
63 |
+ |
64 |
+python_test() { |
65 |
+ py.test || die "Tests fail with ${EPYTHON}" |
66 |
+} |