From 3c4c5fa93ee8d10baf2c54ee9f4c91c5c4f531c8 Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Mon, 12 Jul 2021 00:04:29 +0200 Subject: [PATCH] dev-python/trueskill: update EAPI 7 -> 8 Signed-off-by: Alessandro Barbieri --- .../trueskill/trueskill-0.4.5_p20191014.ebuild | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/dev-python/trueskill/trueskill-0.4.5_p20191014.ebuild b/dev-python/trueskill/trueskill-0.4.5_p20191014.ebuild index 90318a33b4..08a2b9b280 100644 --- a/dev-python/trueskill/trueskill-0.4.5_p20191014.ebuild +++ b/dev-python/trueskill/trueskill-0.4.5_p20191014.ebuild @@ -1,13 +1,12 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="7" - -PYTHON_COMPAT=( python3_{7,8} ) - -inherit distutils-r1 +EAPI="8" COMMIT="91c29b1ab6cd86d6d68fc983fd7ceba3a88ad544" +PYTHON_COMPAT=( python3_{8..9} ) + +inherit distutils-r1 DESCRIPTION="Python Implementation of the TrueSkill Algorithm" HOMEPAGE=" @@ -16,13 +15,13 @@ HOMEPAGE=" https://pypi.org/project/trueskill " SRC_URI="https://github.com/sublee/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${COMMIT}" SLOT="0" LICENSE="BSD" KEYWORDS="~amd64" IUSE="test" -RESTRICT="!test? ( test )" -RDEPEND="" + DEPEND=" dev-python/six[${PYTHON_USEDEP}] test? ( @@ -31,7 +30,8 @@ DEPEND=" dev-python/pytest[${PYTHON_USEDEP}] ) " -S="${WORKDIR}/${PN}-${COMMIT}" + +RESTRICT="!test? ( test )" distutils_enable_tests setup.py #docs require a py2 only sphinx theme