From 9f63d64501b0d4ea9129edede77305dfb034b420 Mon Sep 17 00:00:00 2001 From: Myckel Habets Date: Fri, 8 Sep 2023 12:02:12 +0200 Subject: [PATCH] eclass: remove obsolete python2.7 code from mozcoreconf-v6.eclass Closes: https://bugs.gentoo.org/698980 Signed-off-by: Myckel Habets Closes: https://github.com/gentoo/gentoo/pull/32682 Signed-off-by: Joonas Niilola --- eclass/mozcoreconf-v6.eclass | 7 ------- 1 file changed, 7 deletions(-) diff --git a/eclass/mozcoreconf-v6.eclass b/eclass/mozcoreconf-v6.eclass index 90d9d9b25b0c1..71dbc6802d710 100644 --- a/eclass/mozcoreconf-v6.eclass +++ b/eclass/mozcoreconf-v6.eclass @@ -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" @@ -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