Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH 4/6] profiles: Add flags for python3.11
Date: Sun, 08 May 2022 18:28:14
Message-Id: 20220508182642.4112-5-mgorny@gentoo.org
In Reply to: [gentoo-dev] [PATCH 0/6] python-utils-r1.eclass: Python 3.11 support by "Michał Górny"
1 Signed-off-by: Michał Górny <mgorny@g.o>
2 ---
3 profiles/base/package.use.force | 1 +
4 profiles/base/use.stable.mask | 7 ++++++-
5 profiles/desc/python_single_target.desc | 1 +
6 profiles/desc/python_targets.desc | 1 +
7 4 files changed, 9 insertions(+), 1 deletion(-)
8
9 diff --git a/profiles/base/package.use.force b/profiles/base/package.use.force
10 index abd8fbe4ffb3..79717a6a79fa 100644
11 --- a/profiles/base/package.use.force
12 +++ b/profiles/base/package.use.force
13 @@ -219,6 +219,7 @@ app-shells/bash:0 readline
14 dev-lang/python-exec python_targets_python3_8
15 dev-lang/python-exec python_targets_python3_9
16 dev-lang/python-exec python_targets_python3_10
17 +dev-lang/python-exec python_targets_python3_11
18 dev-lang/python-exec python_targets_pypy3
19
20 # Zac Medico <zmedico@g.o> (2010-10-20)
21 diff --git a/profiles/base/use.stable.mask b/profiles/base/use.stable.mask
22 index 23119a063249..db3f89d740ed 100644
23 --- a/profiles/base/use.stable.mask
24 +++ b/profiles/base/use.stable.mask
25 @@ -1,9 +1,14 @@
26 -# Copyright 1999-2021 Gentoo Authors
27 +# Copyright 1999-2022 Gentoo Authors
28 # Distributed under the terms of the GNU General Public License v2
29
30 # This file requires eapi 5 or later. New entries go on top.
31 # Please use the same syntax as in use.mask
32
33 +# Michał Górny <mgorny@g.o> (2022-05-08)
34 +# Mask until dev-lang/python:3.11 becomes stable.
35 +python_targets_python3_11
36 +python_single_target_python3_11
37 +
38 # Brian Evans <grknight@g.o> (2021-11-29)
39 # Mask 8.1 as it is currently unstable only
40 php_targets_php8-1
41 diff --git a/profiles/desc/python_single_target.desc b/profiles/desc/python_single_target.desc
42 index d670f950de72..6c978694943c 100644
43 --- a/profiles/desc/python_single_target.desc
44 +++ b/profiles/desc/python_single_target.desc
45 @@ -6,4 +6,5 @@
46 python3_8 - Build for Python 3.8 only
47 python3_9 - Build for Python 3.9 only
48 python3_10 - Build for Python 3.10 only
49 +python3_11 - Build for Python 3.11 only
50 pypy3 - Build for PyPy3 only
51 diff --git a/profiles/desc/python_targets.desc b/profiles/desc/python_targets.desc
52 index ba8b8ea5eff8..ad77fbf5b60f 100644
53 --- a/profiles/desc/python_targets.desc
54 +++ b/profiles/desc/python_targets.desc
55 @@ -6,4 +6,5 @@
56 python3_8 - Build with Python 3.8
57 python3_9 - Build with Python 3.9
58 python3_10 - Build with Python 3.10
59 +python3_11 - Build with Python 3.11
60 pypy3 - Build with PyPy3
61 --
62 2.35.1