1 |
commit: de81fa5a973b23930c42a708ae9b8e2841e7210b |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 31 05:49:32 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 31 06:18:41 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de81fa5a |
7 |
|
8 |
dev-python/signature_dispatch: Enable py3.11 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
.../signature_dispatch/signature_dispatch-1.0.0-r1.ebuild | 13 ++++++++++--- |
13 |
1 file changed, 10 insertions(+), 3 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/signature_dispatch/signature_dispatch-1.0.0-r1.ebuild b/dev-python/signature_dispatch/signature_dispatch-1.0.0-r1.ebuild |
16 |
index 04c1d7b39678..4e5245f7c9ab 100644 |
17 |
--- a/dev-python/signature_dispatch/signature_dispatch-1.0.0-r1.ebuild |
18 |
+++ b/dev-python/signature_dispatch/signature_dispatch-1.0.0-r1.ebuild |
19 |
@@ -4,14 +4,15 @@ |
20 |
EAPI=8 |
21 |
|
22 |
DISTUTILS_USE_PEP517=flit |
23 |
-PYTHON_COMPAT=( python3_{8..10} ) |
24 |
+PYTHON_COMPAT=( python3_{8..11} ) |
25 |
|
26 |
inherit distutils-r1 |
27 |
|
28 |
DESCRIPTION="Execute the first function that matches the given arguments" |
29 |
HOMEPAGE=" |
30 |
https://github.com/kalekundert/signature_dispatch/ |
31 |
- https://pypi.org/project/signature-dispatch/" |
32 |
+ https://pypi.org/project/signature-dispatch/ |
33 |
+" |
34 |
SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" |
35 |
|
36 |
LICENSE="MIT" |
37 |
@@ -21,4 +22,10 @@ KEYWORDS="~amd64 ~x86" |
38 |
distutils_enable_tests pytest |
39 |
|
40 |
RDEPEND=" |
41 |
- dev-python/typeguard[${PYTHON_USEDEP}]" |
42 |
+ dev-python/typeguard[${PYTHON_USEDEP}] |
43 |
+" |
44 |
+ |
45 |
+python_test() { |
46 |
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 |
47 |
+ epytest |
48 |
+} |