Gentoo Archives: gentoo-commits

From: Patrick Lauer <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/rply/
Date: Fri, 23 Feb 2018 06:51:40
Message-Id: 1519368640.c9ca0c00b123a6609d9db32df8a15a4c03778e36.patrick@gentoo
1 commit: c9ca0c00b123a6609d9db32df8a15a4c03778e36
2 Author: Patrick Lauer <patrick <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 23 06:50:40 2018 +0000
4 Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 23 06:50:40 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9ca0c00
7
8 dev-python/rply: Bump
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 dev-python/rply/Manifest | 1 +
13 dev-python/rply/rply-0.7.5.ebuild | 36 ++++++++++++++++++++++++++++++++++++
14 2 files changed, 37 insertions(+)
15
16 diff --git a/dev-python/rply/Manifest b/dev-python/rply/Manifest
17 index b4ab76b49ee..304529764eb 100644
18 --- a/dev-python/rply/Manifest
19 +++ b/dev-python/rply/Manifest
20 @@ -1 +1,2 @@
21 DIST rply-0.7.4.tar.gz 27392 BLAKE2B 3604550646e083bf685a192dcf0dbc80c03cf4b97f6771ed37e228c84909c2518a58bde73ea584085351f1a2b5c865418ae671843087660d48f08e0e44e3ab2c SHA512 e3c3a828eb4b3cb20751ecb2d91efaabddbe3702d52b9adefe1748c07c843da1899e3944bcf0ab79f627ae428b8879cf99739ea7e0c6fd1acffc4ac4dee1b652
22 +DIST rply-0.7.5.tar.gz 27462 BLAKE2B 0f438e6fd786e7436f135da50fe90208970a0950422bb0d8e26b06cc2def964c0ebd7c3e5e3e282a1d56dbb9e804ac267095dc4da16eb57899f455d66fed2d71 SHA512 ccecc451d9e2e0fdf9df7eaaeabface782d9159cc1caf1feae6e46210f6384aa1a78c15ea3c0e9dcc0bd0d2b28e3b1328c8d37e94a8968b07ef7938e5f5ce201
23
24 diff --git a/dev-python/rply/rply-0.7.5.ebuild b/dev-python/rply/rply-0.7.5.ebuild
25 new file mode 100644
26 index 00000000000..cc54268d31f
27 --- /dev/null
28 +++ b/dev-python/rply/rply-0.7.5.ebuild
29 @@ -0,0 +1,36 @@
30 +# Copyright 1999-2018 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=5
34 +
35 +PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy )
36 +
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="Pure python parser generator that also works with RPython"
40 +HOMEPAGE="https://github.com/alex/rply"
41 +SRC_URI="https://github.com/alex/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
42 +
43 +LICENSE="BSD"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~x86"
46 +IUSE="test"
47 +
48 +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
49 + dev-python/appdirs[${PYTHON_USEDEP}]
50 + test? (
51 + dev-python/py[${PYTHON_USEDEP}]
52 + dev-python/pytest[${PYTHON_USEDEP}] )"
53 +
54 +python_prepare() {
55 + # https://github.com/alex/rply/issues/26; fail under py[3-4]
56 + if python_is_python3; then
57 + sed -e s':test_simple:_&:' -e s':test_empty_production:_&:' \
58 + -i tests/test_parsergenerator.py
59 + fi
60 + distutils-r1_python_prepare
61 +}
62 +
63 +python_test() {
64 + py.test || die "Tests fail with ${EPYTHON}"
65 +}