dev-python/signature_dispatch: Enable py3.11

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2022-05-31 07:49:32 +02:00
parent 5f46cda902
commit de81fa5a97

View File

@@ -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
}