summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-10-28 10:36:24 +0200
committerMichał Górny <mgorny@gentoo.org>2022-11-15 17:34:03 +0100
commit76bec668b9cd5c0cd27f224935dd66403db6db40 (patch)
tree240aed4cad92cf376c26adbfdad6f9bf9b626872 /eclass
parentscons-utils.eclass: Use python_has_version (diff)
downloadgentoo-76bec668b9cd5c0cd27f224935dd66403db6db40.tar.gz
gentoo-76bec668b9cd5c0cd27f224935dd66403db6db40.tar.bz2
gentoo-76bec668b9cd5c0cd27f224935dd66403db6db40.zip
scons-utils.eclass: Enable EAPI 8 support
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/scons-utils.eclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/scons-utils.eclass b/eclass/scons-utils.eclass
index 78a9958ec422..212b29e089e8 100644
--- a/eclass/scons-utils.eclass
+++ b/eclass/scons-utils.eclass
@@ -4,7 +4,7 @@
# @ECLASS: scons-utils.eclass
# @MAINTAINER:
# mgorny@gentoo.org
-# @SUPPORTED_EAPIS: 7
+# @SUPPORTED_EAPIS: 7 8
# @BLURB: helper functions to deal with SCons buildsystem
# @DESCRIPTION:
# This eclass provides a set of function to help developers sanely call
@@ -35,10 +35,10 @@
#
# @EXAMPLE:
# @CODE
-# PYTHON_COMPAT=( python2_7 )
+# PYTHON_COMPAT=( python3_{8..11} )
# inherit python-any-r1 scons-utils toolchain-funcs
#
-# EAPI=7
+# EAPI=8
#
# src_configure() {
# MYSCONS=(
@@ -83,7 +83,7 @@
# -- EAPI support check --
case ${EAPI:-0} in
- 7) ;;
+ 7|8) ;;
*) die "EAPI ${EAPI} unsupported."
esac