commit: af478281564183c5659840bec7e424d7b078d9fb Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Tue May 10 17:57:21 2022 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Tue May 10 18:06:15 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af478281
dev-python/tomli-w: Enable py3.11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/tomli-w/tomli-w-1.0.0-r1.ebuild | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/dev-python/tomli-w/tomli-w-1.0.0-r1.ebuild b/dev-python/tomli-w/tomli-w-1.0.0-r1.ebuild index a2553aaaab0f..2d68495a7fe3 100644 --- a/dev-python/tomli-w/tomli-w-1.0.0-r1.ebuild +++ b/dev-python/tomli-w/tomli-w-1.0.0-r1.ebuild @@ -4,23 +4,30 @@ EAPI=8 DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{8..10} pypy3 ) +PYTHON_COMPAT=( python3_{8..11} pypy3 ) inherit distutils-r1 DESCRIPTION="A lil' TOML writer" HOMEPAGE=" https://pypi.org/project/tomli-w/ - https://github.com/hukkin/tomli-w/" + https://github.com/hukkin/tomli-w/ +" SRC_URI=" https://github.com/hukkin/tomli-w/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz" + -> ${P}.gh.tar.gz +" LICENSE="MIT" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" BDEPEND=" - test? ( dev-python/tomli[${PYTHON_USEDEP}] )" + test? ( dev-python/tomli[${PYTHON_USEDEP}] ) +" distutils_enable_tests pytest + +python_test() { + epytest tests +}