commit:     e394eb879bbbe11e85526e7813d989cd87d7084c
Author:     Cédric Krier <cedk <AT> gentoo <DOT> org>
AuthorDate: Fri Jun  7 16:48:33 2024 +0000
Commit:     Cédric Krier <cedk <AT> gentoo <DOT> org>
CommitDate: Fri Jun  7 16:50:05 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e394eb87

dev-vcs/mercurial: forbid rust extension with python3_12

Closes: https://bugs.gentoo.org/933474
Signed-off-by: Cédric Krier <cedk <AT> gentoo.org>

 dev-vcs/mercurial/mercurial-6.5.3.ebuild | 2 ++
 dev-vcs/mercurial/mercurial-6.6.2.ebuild | 2 ++
 dev-vcs/mercurial/mercurial-6.7.3.ebuild | 2 ++
 dev-vcs/mercurial/mercurial-9999.ebuild  | 2 ++
 4 files changed, 8 insertions(+)

diff --git a/dev-vcs/mercurial/mercurial-6.5.3.ebuild 
b/dev-vcs/mercurial/mercurial-6.5.3.ebuild
index bfa14f3f2494..d7bcc30791f4 100644
--- a/dev-vcs/mercurial/mercurial-6.5.3.ebuild
+++ b/dev-vcs/mercurial/mercurial-6.5.3.ebuild
@@ -186,6 +186,8 @@ DEPEND="emacs? ( >=app-editors/emacs-23.1:* )
                dev-python/pygments[${PYTHON_USEDEP}]
        )"
 
+REQUIRED_USE="rust? ( !$(python_gen_useflags 'python3_12') )"
+
 SITEFILE="70${PN}-gentoo.el"
 
 RESTRICT="!test? ( test )"

diff --git a/dev-vcs/mercurial/mercurial-6.6.2.ebuild 
b/dev-vcs/mercurial/mercurial-6.6.2.ebuild
index 4f7b98fedf5f..14955c8234f6 100644
--- a/dev-vcs/mercurial/mercurial-6.6.2.ebuild
+++ b/dev-vcs/mercurial/mercurial-6.6.2.ebuild
@@ -196,6 +196,8 @@ DEPEND="emacs? ( >=app-editors/emacs-23.1:* )
                dev-python/pygments[${PYTHON_USEDEP}]
        )"
 
+REQUIRED_USE="rust? ( !$(python_gen_useflags 'python3_12') )"
+
 SITEFILE="70${PN}-gentoo.el"
 
 RESTRICT="!test? ( test )"

diff --git a/dev-vcs/mercurial/mercurial-6.7.3.ebuild 
b/dev-vcs/mercurial/mercurial-6.7.3.ebuild
index e3538643ddbe..e979332baafa 100644
--- a/dev-vcs/mercurial/mercurial-6.7.3.ebuild
+++ b/dev-vcs/mercurial/mercurial-6.7.3.ebuild
@@ -207,6 +207,8 @@ DEPEND="emacs? ( >=app-editors/emacs-23.1:* )
                dev-python/pygments[${PYTHON_USEDEP}]
        )"
 
+REQUIRED_USE="rust? ( !$(python_gen_useflags 'python3_12') )"
+
 SITEFILE="70${PN}-gentoo.el"
 
 RESTRICT="!test? ( test )"

diff --git a/dev-vcs/mercurial/mercurial-9999.ebuild 
b/dev-vcs/mercurial/mercurial-9999.ebuild
index a38cb9230332..6b16f427545a 100644
--- a/dev-vcs/mercurial/mercurial-9999.ebuild
+++ b/dev-vcs/mercurial/mercurial-9999.ebuild
@@ -34,6 +34,8 @@ DEPEND="emacs? ( >=app-editors/emacs-23.1:* )
                dev-python/pygments[${PYTHON_USEDEP}]
                )"
 
+REQUIRED_USE="rust? ( !$(python_gen_useflags 'python3_12') )"
+
 SITEFILE="70${PN}-gentoo.el"
 
 RESTRICT="!test? ( test )"

Reply via email to