commit: 5cf395cbdb9e635d63876ad6cdd8a181abbb1dc7
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 5 18:26:33 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jun 5 18:26:33 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cf395cb
dev-python/towncrier: Enable py3.10
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
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 3d95faabc45..f56e522becd 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}"