commit:     de81fa5a973b23930c42a708ae9b8e2841e7210b
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue May 31 05:49:32 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue May 31 06:18:41 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de81fa5a

dev-python/signature_dispatch: Enable py3.11

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .../signature_dispatch/signature_dispatch-1.0.0-r1.ebuild   | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

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
index 04c1d7b39678..4e5245f7c9ab 100644
--- a/dev-python/signature_dispatch/signature_dispatch-1.0.0-r1.ebuild
+++ b/dev-python/signature_dispatch/signature_dispatch-1.0.0-r1.ebuild
@@ -4,14 +4,15 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=flit
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{8..11} )
 
 inherit distutils-r1
 
 DESCRIPTION="Execute the first function that matches the given arguments"
 HOMEPAGE="
        https://github.com/kalekundert/signature_dispatch/
-       https://pypi.org/project/signature-dispatch/";
+       https://pypi.org/project/signature-dispatch/
+"
 SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
@@ -21,4 +22,10 @@ KEYWORDS="~amd64 ~x86"
 distutils_enable_tests pytest
 
 RDEPEND="
-       dev-python/typeguard[${PYTHON_USEDEP}]"
+       dev-python/typeguard[${PYTHON_USEDEP}]
+"
+
+python_test() {
+       local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+       epytest
+}

Reply via email to