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: Sat, 29 Jan 2022 22:09:18
Message-Id: 1643493864.d0aed4f39fd3e1640821ae02eaa512cb46656957.mgorny@gentoo
1 commit: d0aed4f39fd3e1640821ae02eaa512cb46656957
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 29 22:01:30 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 29 22:04:24 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0aed4f3
7
8 dev-python/pypeg2: Switch to PEP 517 build
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pypeg2/pypeg2-2.15.2-r2.ebuild | 28 ++++++++++++++++++++++++++++
13 1 file changed, 28 insertions(+)
14
15 diff --git a/dev-python/pypeg2/pypeg2-2.15.2-r2.ebuild b/dev-python/pypeg2/pypeg2-2.15.2-r2.ebuild
16 new file mode 100644
17 index 000000000000..c75dac24608f
18 --- /dev/null
19 +++ b/dev-python/pypeg2/pypeg2-2.15.2-r2.ebuild
20 @@ -0,0 +1,28 @@
21 +# Copyright 1999-2022 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=8
25 +
26 +DISTUTILS_USE_PEP517=setuptools
27 +PYTHON_COMPAT=( python3_{8..9} )
28 +
29 +inherit distutils-r1
30 +
31 +MY_PN=pyPEG2
32 +MY_P=${MY_PN}-${PV}
33 +
34 +DESCRIPTION="An intrinsic PEG Parser-Interpreter for Python"
35 +HOMEPAGE="https://fdik.org/pyPEG/
36 + https://pypi.org/project/pyPEG2/"
37 +SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
38 +S=${WORKDIR}/${MY_P}
39 +
40 +LICENSE="GPL-2"
41 +SLOT="0"
42 +KEYWORDS="~amd64 ~arm64 ~x86"
43 +
44 +RDEPEND="dev-python/lxml[${PYTHON_USEDEP}]"
45 +
46 +PATCHES=( "${FILESDIR}"/${PN}-2.15.1-test.patch )
47 +
48 +distutils_enable_tests unittest