Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/lazr-config/
Date: Thu, 09 Sep 2021 18:31:28
Message-Id: 1631212246.8d315c67d975f907f34a590b2251225ec935432f.arthurzam@gentoo
1 commit: 8d315c67d975f907f34a590b2251225ec935432f
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 9 17:23:16 2021 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 9 18:30:46 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d315c67
7
8 dev-python/lazr-config: enable py3.10, EAPI=8, fix pth file install
9
10 Closes: https://bugs.gentoo.org/798084
11 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
12
13 dev-python/lazr-config/lazr-config-2.2.3.ebuild | 16 +++++++++++++---
14 1 file changed, 13 insertions(+), 3 deletions(-)
15
16 diff --git a/dev-python/lazr-config/lazr-config-2.2.3.ebuild b/dev-python/lazr-config/lazr-config-2.2.3.ebuild
17 index 51ec50017b8..0c5ea95d8e0 100644
18 --- a/dev-python/lazr-config/lazr-config-2.2.3.ebuild
19 +++ b/dev-python/lazr-config/lazr-config-2.2.3.ebuild
20 @@ -1,9 +1,9 @@
21 # Copyright 1999-2021 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 -EAPI=7
25 +EAPI=8
26
27 -PYTHON_COMPAT=( python3_{7,8,9} )
28 +PYTHON_COMPAT=( python3_{8..10} )
29 DISTUTILS_USE_SETUPTOOLS=rdepend
30
31 inherit distutils-r1
32 @@ -20,5 +20,15 @@ SLOT="0"
33 KEYWORDS="~amd64 ~x86"
34
35 RDEPEND="
36 + dev-python/lazr-delegates[${PYTHON_USEDEP}]
37 + dev-python/namespace-lazr[${PYTHON_USEDEP}]
38 dev-python/zope-interface[${PYTHON_USEDEP}]
39 - dev-python/lazr-delegates[${PYTHON_USEDEP}]"
40 +"
41 +
42 +distutils_enable_tests pytest
43 +
44 +python_install_all() {
45 + distutils-r1_python_install_all
46 +
47 + find "${ED}" -name '*.pth' -delete || die
48 +}