commit:     fd3d4bd32c066749532bb565b3b9d2ce35052e8d
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue May 23 03:58:20 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue May 23 04:36:31 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd3d4bd3

profiles: Add python3_12 target

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 profiles/base/package.use.force         | 1 +
 profiles/base/use.stable.mask           | 5 +++++
 profiles/desc/python_single_target.desc | 1 +
 profiles/desc/python_targets.desc       | 1 +
 4 files changed, 8 insertions(+)

diff --git a/profiles/base/package.use.force b/profiles/base/package.use.force
index d02c5ebecc65..2af984ca5d93 100644
--- a/profiles/base/package.use.force
+++ b/profiles/base/package.use.force
@@ -209,6 +209,7 @@ app-shells/bash:0 readline
 # API. Please remember to keep it in sync with python_targets.desc.
 dev-lang/python-exec python_targets_python3_10
 dev-lang/python-exec python_targets_python3_11
+dev-lang/python-exec python_targets_python3_12
 dev-lang/python-exec python_targets_pypy3
 
 # Zac Medico <zmed...@gentoo.org> (2010-10-20)

diff --git a/profiles/base/use.stable.mask b/profiles/base/use.stable.mask
index 6333d64dce62..b4432fbc178d 100644
--- a/profiles/base/use.stable.mask
+++ b/profiles/base/use.stable.mask
@@ -4,6 +4,11 @@
 # This file requires eapi 5 or later. New entries go on top.
 # Please use the same syntax as in use.mask
 
+# Michał Górny <mgo...@gentoo.org> (2023-05-23)
+# Mask until dev-lang/python:3.12 becomes stable.
+python_targets_python3_12
+python_single_target_python3_12
+
 # Hans de Graaff <gra...@gentoo.org> (2023-01-15)
 # Currently in testing and not ready to go stable yet.
 ruby_targets_ruby31

diff --git a/profiles/desc/python_single_target.desc 
b/profiles/desc/python_single_target.desc
index d931638828a9..8a9f6479f1b9 100644
--- a/profiles/desc/python_single_target.desc
+++ b/profiles/desc/python_single_target.desc
@@ -5,4 +5,5 @@
 
 python3_10 - Build for Python 3.10 only
 python3_11 - Build for Python 3.11 only
+python3_12 - Build for Python 3.12 only
 pypy3 - Build for PyPy3 only

diff --git a/profiles/desc/python_targets.desc 
b/profiles/desc/python_targets.desc
index bb38d02367e9..7bde52333b5d 100644
--- a/profiles/desc/python_targets.desc
+++ b/profiles/desc/python_targets.desc
@@ -5,4 +5,5 @@
 
 python3_10 - Build with Python 3.10
 python3_11 - Build with Python 3.11
+python3_12 - Build with Python 3.12
 pypy3 - Build with PyPy3

Reply via email to