Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pypeg2/
Date: Fri, 21 Feb 2020 13:59:34
Message-Id: 1582293546.4c01163d1616573ba0cfaa626b56a2e4c041e8d7.mgorny@gentoo
1 commit: 4c01163d1616573ba0cfaa626b56a2e4c041e8d7
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 21 12:05:48 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 21 13:59:06 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c01163d
7
8 dev-python/pypeg2: Modernize, EAPI 7, py3.8
9
10 Closes: https://bugs.gentoo.org/709970
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 dev-python/pypeg2/pypeg2-2.15.2-r1.ebuild | 29 +++++++++++++++++++++++++++++
14 1 file changed, 29 insertions(+)
15
16 diff --git a/dev-python/pypeg2/pypeg2-2.15.2-r1.ebuild b/dev-python/pypeg2/pypeg2-2.15.2-r1.ebuild
17 new file mode 100644
18 index 00000000000..f4105ac5d90
19 --- /dev/null
20 +++ b/dev-python/pypeg2/pypeg2-2.15.2-r1.ebuild
21 @@ -0,0 +1,29 @@
22 +# Copyright 1999-2020 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=7
26 +
27 +DISTUTILS_USE_SETUPTOOLS=no
28 +PYTHON_COMPAT=( python3_{6,7,8} )
29 +
30 +inherit distutils-r1
31 +
32 +MY_PN=pyPEG2
33 +MY_P=${MY_PN}-${PV}
34 +
35 +DESCRIPTION="An intrinsic PEG Parser-Interpreter for Python"
36 +HOMEPAGE="https://fdik.org/pyPEG/
37 + https://bitbucket.org/fdik/pypeg/
38 + https://pypi.org/project/pyPEG2/"
39 +SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
40 +S=${WORKDIR}/${MY_P}
41 +
42 +LICENSE="GPL-2"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~x86"
45 +
46 +RDEPEND="dev-python/lxml[${PYTHON_USEDEP}]"
47 +
48 +PATCHES=( "${FILESDIR}"/${PN}-2.15.1-test.patch )
49 +
50 +distutils_enable_tests unittest