Skip to content

Commit

Permalink
eclass: remove obsolete python2.7 code from mozcoreconf-v6.eclass
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/698980
Signed-off-by: Myckel Habets <[email protected]>
Closes: gentoo#32682
Signed-off-by: Joonas Niilola <[email protected]>
  • Loading branch information
Myckel Habets authored and juippis committed Sep 9, 2023
1 parent 80bbb8a commit 9f63d64
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions eclass/mozcoreconf-v6.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ _MOZCORECONF_V6_ECLASS=1
inherit toolchain-funcs flag-o-matic python-any-r1

BDEPEND="virtual/pkgconfig
dev-lang/python:2.7[ncurses,sqlite,ssl,threads(+)]
${PYTHON_DEPS}"

IUSE="${IUSE} custom-cflags custom-optimization"
Expand Down Expand Up @@ -99,12 +98,6 @@ moz_pkgsetup() {
export QA_CONFIGURE_OPTIONS=".*"

python-any-r1_pkg_setup
# workaround to set python3 into PYTHON3 until mozilla doesn't need py2
if [[ "${PYTHON_COMPAT[@]}" != "${PYTHON_COMPAT[@]#python3*}" ]]; then
export PYTHON3=${PYTHON}
export PYTHON=python2.7
export EPYTHON="${EPREFIX}"/usr/bin/python2.7
fi
}

# @FUNCTION: mozconfig_init
Expand Down

0 comments on commit 9f63d64

Please sign in to comment.