dev-python/towncrier: Enable py3.10

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2021-06-05 20:26:33 +02:00
parent 7f7eb3b9e9
commit 5cf395cbdb

View File

@@ -3,8 +3,7 @@
EAPI=7
DISTUTILS_USE_SETUPTOOLS=rdepend
PYTHON_COMPAT=( python3_{7..9} )
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Building newsfiles for your project"
@@ -15,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
dev-python/click[${PYTHON_USEDEP}]
@@ -30,8 +30,6 @@ BDEPEND="
>=dev-python/twisted-16.0.0[${PYTHON_USEDEP}]
)"
RESTRICT="!test? ( test )"
python_test() {
distutils_install_for_testing
trial towncrier || die "tests failed with ${EPYTHON}"