commit:     ab9b5d9e5768d1a65a42a818ab3d82347a8d1cd9
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 30 23:33:48 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jan 31 00:06:36 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab9b5d9e

profiles: Clean py2.7 leftovers

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

 profiles/arch/riscv/use.mask            | 3 ---
 profiles/base/make.defaults             | 4 ++--
 profiles/base/package.use.force         | 1 -
 profiles/desc/python_single_target.desc | 1 -
 profiles/desc/python_targets.desc       | 1 -
 profiles/prefix/make.defaults           | 6 ------
 6 files changed, 2 insertions(+), 14 deletions(-)

diff --git a/profiles/arch/riscv/use.mask b/profiles/arch/riscv/use.mask
index 702524e3a47..dfdacea6f24 100644
--- a/profiles/arch/riscv/use.mask
+++ b/profiles/arch/riscv/use.mask
@@ -6,9 +6,6 @@
 
 # Unmask systemd
 -systemd
-# Our Python has a lot of trouble with the two-level libdir.
-python_targets_python2_7
-python_single_target_python2_7
 
 # Ben Kohler <[email protected]> (2019-01-09)
 # no fam providers keyworded yet

diff --git a/profiles/base/make.defaults b/profiles/base/make.defaults
index 981eda7446a..d77cffe03f2 100644
--- a/profiles/base/make.defaults
+++ b/profiles/base/make.defaults
@@ -123,13 +123,13 @@ PYTHONDONTWRITEBYTECODE="1"
 # This MUST be kept in sync with the PYTHON_TARGETS below
 # Mike Gilbert <[email protected]> (2018-05-23)
 # sys-apps/baslayout-2.5 needs split-usr enabled.
-BOOTSTRAP_USE="unicode internal-glib pkg-config split-usr 
python_targets_python3_8 python_targets_python2_7"
+BOOTSTRAP_USE="unicode internal-glib pkg-config split-usr 
python_targets_python3_8"
 
 # Mike Gilbert <[email protected]> (2012-05-15)
 # Default target(s) for python-r1.eclass
 # Mikle Kolyada <[email protected]> (2020-12-02)
 # Updated to python3_8
-PYTHON_TARGETS="python2_7 python3_8"
+PYTHON_TARGETS="python3_8"
 PYTHON_SINGLE_TARGET="python3_8"
 
 # Michał Górny <[email protected]> (2013-08-10)

diff --git a/profiles/base/package.use.force b/profiles/base/package.use.force
index 7fccdd3e185..10958c1f917 100644
--- a/profiles/base/package.use.force
+++ b/profiles/base/package.use.force
@@ -166,7 +166,6 @@ app-shells/bash:0 readline
 # Michał Górny <[email protected]> (2012-10-14)
 # Force-enable all PYTHON_TARGETS for python-exec to avoid using private
 # API. Please remember to keep it in sync with python_targets.desc.
-dev-lang/python-exec python_targets_python2_7
 dev-lang/python-exec python_targets_python3_7
 dev-lang/python-exec python_targets_python3_8
 dev-lang/python-exec python_targets_python3_9

diff --git a/profiles/desc/python_single_target.desc 
b/profiles/desc/python_single_target.desc
index 08637d9955c..1be4dd4001a 100644
--- a/profiles/desc/python_single_target.desc
+++ b/profiles/desc/python_single_target.desc
@@ -3,7 +3,6 @@
 
 # This file contains descriptions of PYTHON_SINGLE_TARGET USE_EXPAND flags.
 
-python2_7 - Build for Python 2.7 only
 python3_7 - Build for Python 3.7 only
 python3_8 - Build for Python 3.8 only
 python3_9 - Build for Python 3.9 only

diff --git a/profiles/desc/python_targets.desc 
b/profiles/desc/python_targets.desc
index 0bea2b63748..66d152ff98c 100644
--- a/profiles/desc/python_targets.desc
+++ b/profiles/desc/python_targets.desc
@@ -3,7 +3,6 @@
 
 # This file contains descriptions of PYTHON_TARGETS USE_EXPAND flags.
 
-python2_7 - Build with Python 2.7
 python3_7 - Build with Python 3.7
 python3_8 - Build with Python 3.8
 python3_9 - Build with Python 3.9

diff --git a/profiles/prefix/make.defaults b/profiles/prefix/make.defaults
index 77e5de43270..cf9a80a8525 100644
--- a/profiles/prefix/make.defaults
+++ b/profiles/prefix/make.defaults
@@ -7,9 +7,3 @@
 # ncurses:   a nice working console drawing library
 # ssl:       encrypted connections are a nice feature
 USE="readline zlib ncurses ssl"
-
-
-# In Prefix, aim for Python 3 only, leaving out 2 to avoid unnecessary
-# builds
-# NOTE: Both are incremental variables: Need to drop obsolete base values.
-PYTHON_TARGETS="-python2_7"

Reply via email to