Skip to content

Commit

Permalink
profiles: Clean py2.7 leftovers
Browse files Browse the repository at this point in the history
Signed-off-by: Michał Górny <[email protected]>
  • Loading branch information
mgorny committed Jan 31, 2021
1 parent e78d9a5 commit ab9b5d9
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 14 deletions.
3 changes: 0 additions & 3 deletions profiles/arch/riscv/use.mask
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions profiles/base/make.defaults
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 0 additions & 1 deletion profiles/base/package.use.force
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion profiles/desc/python_single_target.desc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion profiles/desc/python_targets.desc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 0 additions & 6 deletions profiles/prefix/make.defaults
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit ab9b5d9

Please sign in to comment.