From 5cf395cbdb9e635d63876ad6cdd8a181abbb1dc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 5 Jun 2021 20:26:33 +0200 Subject: [PATCH] dev-python/towncrier: Enable py3.10 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/towncrier/towncrier-21.3.0.ebuild | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/dev-python/towncrier/towncrier-21.3.0.ebuild b/dev-python/towncrier/towncrier-21.3.0.ebuild index 3d95faabc45f8..f56e522becd73 100644 --- a/dev-python/towncrier/towncrier-21.3.0.ebuild +++ b/dev-python/towncrier/towncrier-21.3.0.ebuild @@ -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}"