commit: f967e15f780ea857acd1f2abab95978815f99683
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 9 08:43:55 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jan 9 08:45:03 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f967e15f
dev-lang/python: Add future python-exec dep to py3.11
Add a conditional dev-lang/python-exec dep to Python 3.11 that will
be enabled once it leaves alpha stage. This will make sure we won't
forget to add it.
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-lang/python/python-3.11.0_alpha3.ebuild | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/dev-lang/python/python-3.11.0_alpha3.ebuild
b/dev-lang/python/python-3.11.0_alpha3.ebuild
index 2c4c7c470f65..68bc01ac1c4f 100644
--- a/dev-lang/python/python-3.11.0_alpha3.ebuild
+++ b/dev-lang/python/python-3.11.0_alpha3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
@@ -67,6 +67,8 @@ BDEPEND="
verify-sig? ( sec-keys/openpgp-keys-python )
!sys-devel/gcc[libffi(-)]"
RDEPEND+=" !build? ( app-misc/mime-types )"
+[[ ${PV} != *_alpha* ]] &&
+ RDEPEND+=" dev-lang/python-exec[python_targets_python${PYVER/./_}(-)]"
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/python.org.asc