commit:     c14c17d80f0fcdd788ce03f981db3b0e83caa6cf
Author:     Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
AuthorDate: Thu Mar 11 19:50:00 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Mar 12 15:17:24 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c14c17d8

dev-vcs/tortoisehg: live, add PYTHON_COMPAT python3_9

Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru>
Closes: https://github.com/gentoo/gentoo/pull/19883
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 dev-vcs/tortoisehg/tortoisehg-9999.ebuild | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-vcs/tortoisehg/tortoisehg-9999.ebuild 
b/dev-vcs/tortoisehg/tortoisehg-9999.ebuild
index 770dffc99f7..439a13c2c81 100644
--- a/dev-vcs/tortoisehg/tortoisehg-9999.ebuild
+++ b/dev-vcs/tortoisehg/tortoisehg-9999.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{7..9} )
 
 DISTUTILS_USE_SETUPTOOLS=no
 
@@ -11,13 +11,13 @@ inherit desktop distutils-r1 xdg-utils
 if [[ ${PV} != *9999* ]]; then
        KEYWORDS="~amd64 ~arm64 ~x86"
        
SRC_URI="https://www.mercurial-scm.org/release/tortoisehg/targz/${P}.tar.gz";
-       HG_DEPEND=">=dev-vcs/mercurial-5.6
-               <dev-vcs/mercurial-5.8"
+       HG_DEPEND=">=dev-vcs/mercurial-5.6[${PYTHON_USEDEP}]
+               <dev-vcs/mercurial-5.8[${PYTHON_USEDEP}]"
 else
        inherit mercurial
        EHG_REPO_URI="https://foss.heptapod.net/mercurial/tortoisehg/thg";
        EHG_REVISION="stable"
-       HG_DEPEND=">=dev-vcs/mercurial-5.6"
+       HG_DEPEND=">=dev-vcs/mercurial-5.6[${PYTHON_USEDEP}]"
 fi
 
 DESCRIPTION="Set of graphical tools for Mercurial"

Reply via email to