summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-06-05 20:26:33 +0200
committerMichał Górny <mgorny@gentoo.org>2021-06-05 20:26:33 +0200
commit5cf395cbdb9e635d63876ad6cdd8a181abbb1dc7 (patch)
tree5b061be30bcf87742e75db33315b2fa5917d3762 /dev-python/towncrier
parentdev-python/tinycss2: Enable py3.10 (diff)
downloadgentoo-5cf395cbdb9e635d63876ad6cdd8a181abbb1dc7.tar.gz
gentoo-5cf395cbdb9e635d63876ad6cdd8a181abbb1dc7.tar.bz2
gentoo-5cf395cbdb9e635d63876ad6cdd8a181abbb1dc7.zip
dev-python/towncrier: Enable py3.10
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/towncrier')
-rw-r--r--dev-python/towncrier/towncrier-21.3.0.ebuild6
1 files 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 3d95faabc45f..f56e522becd7 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}"