summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass')
-rw-r--r--eclass/mozcoreconf-v6.eclass7
1 files changed, 4 insertions, 3 deletions
diff --git a/eclass/mozcoreconf-v6.eclass b/eclass/mozcoreconf-v6.eclass
index 95fce0f0258d..250f49bd58bd 100644
--- a/eclass/mozcoreconf-v6.eclass
+++ b/eclass/mozcoreconf-v6.eclass
@@ -4,7 +4,7 @@
# @ECLASS: mozcoreconf-v6.eclass
# @MAINTAINER:
# Mozilla team <mozilla@gentoo.org>
-# @SUPPORTED_EAPIS: 6 7
+# @SUPPORTED_EAPIS: 6 7 8
# @BLURB: core options and configuration functions for mozilla
# @DESCRIPTION:
#
@@ -28,7 +28,7 @@ case "${EAPI:-0}" in
inherit multilib versionator
DEPEND+=" ${BDEPEND}"
;;
- 7)
+ 7|8)
;;
*)
die "EAPI ${EAPI} is not supported, contact eclass maintainers"
@@ -120,7 +120,8 @@ moz_pkgsetup() {
# workaround to set python3 into PYTHON3 until mozilla doesn't need py2
if [[ "${PYTHON_COMPAT[@]}" != "${PYTHON_COMPAT[@]#python3*}" ]]; then
export PYTHON3=${PYTHON}
- python_export python2_7 PYTHON EPYTHON
+ export PYTHON=python2.7
+ export EPYTHON="${EPREFIX}"/usr/bin/python2.7
fi
}