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