diff options
| author | Michał Górny <mgorny@gentoo.org> | 2022-05-31 07:49:32 +0200 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2022-05-31 08:18:41 +0200 |
| commit | de81fa5a973b23930c42a708ae9b8e2841e7210b (patch) | |
| tree | e478026f38b4b5f03699e83fd852ddc333966cd4 /dev-python | |
| parent | 5f46cda902df89d0f0f68c944638b8437eb52260 (diff) | |
| download | gentoo-de81fa5a973b23930c42a708ae9b8e2841e7210b.tar.gz gentoo-de81fa5a973b23930c42a708ae9b8e2841e7210b.tar.bz2 gentoo-de81fa5a973b23930c42a708ae9b8e2841e7210b.zip | |
dev-python/signature_dispatch: Enable py3.11
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/signature_dispatch/signature_dispatch-1.0.0-r1.ebuild | 13 |
1 files 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 +} |
