summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMyckel Habets <gentoo-bugs@habets-dobben.nl>2023-09-08 12:02:12 +0200
committerJoonas Niilola <juippis@gentoo.org>2023-09-09 09:59:31 +0300
commit9f63d64501b0d4ea9129edede77305dfb034b420 (patch)
treef933e566657b7d59e397239601feaad782d68b70 /eclass/mozcoreconf-v6.eclass
parentwww-client/seamonkey: cleanup seamonkey-2.53.15-r1 (diff)
downloadgentoo-9f63d64501b0d4ea9129edede77305dfb034b420.tar.gz
gentoo-9f63d64501b0d4ea9129edede77305dfb034b420.tar.bz2
gentoo-9f63d64501b0d4ea9129edede77305dfb034b420.zip
eclass: remove obsolete python2.7 code from mozcoreconf-v6.eclass
Closes: https://bugs.gentoo.org/698980 Signed-off-by: Myckel Habets <gentoo-bugs@habets-dobben.nl> Closes: https://github.com/gentoo/gentoo/pull/32682 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'eclass/mozcoreconf-v6.eclass')
-rw-r--r--eclass/mozcoreconf-v6.eclass7
1 files changed, 0 insertions, 7 deletions
diff --git a/eclass/mozcoreconf-v6.eclass b/eclass/mozcoreconf-v6.eclass
index 90d9d9b25b0c..71dbc6802d71 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