From de81fa5a973b23930c42a708ae9b8e2841e7210b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Tue, 31 May 2022 07:49:32 +0200 Subject: dev-python/signature_dispatch: Enable py3.11 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- .../signature_dispatch/signature_dispatch-1.0.0-r1.ebuild | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'dev-python') 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 +} -- cgit v1.2.3