summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2021-09-28 09:34:42 +0200
committerLars Wendler <polynomial-c@gentoo.org>2021-09-28 10:45:23 +0200
commit7241b979621c5bd69b0c84171fdaa7bf8c916102 (patch)
tree0bc01d20d4d71d8d95ef091065ea8b605770fa9d /eclass
parentmozlinguas-v2.eclass: Support EAPI-8 (diff)
downloadgentoo-7241b979621c5bd69b0c84171fdaa7bf8c916102.tar.gz
gentoo-7241b979621c5bd69b0c84171fdaa7bf8c916102.tar.bz2
gentoo-7241b979621c5bd69b0c84171fdaa7bf8c916102.zip
mozcoreconf-v6.eclass: Support EAPI-8
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
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
}