Add support for EAPI 8, and also update the PYTHON_COMPAT variable in the example.

diff --git a/eclass/docs.eclass b/eclass/docs.eclass
index 7ee7a11ca5e..3f9191ddbd5 100644
--- a/eclass/docs.eclass
+++ b/eclass/docs.eclass
@@ -7,7 +7,7 @@
 # @AUTHOR:
 # Author: Andrew Ammerlaan <andrewammerl...@gentoo.org>
 # Based on the work of: Michał Górny <mgo...@gentoo.org>
-# @SUPPORTED_EAPIS: 6 7
+# @SUPPORTED_EAPIS: 6 7 8
 # @BLURB: A simple eclass to build documentation.
 # @DESCRIPTION:
 # A simple eclass providing basic functions and variables to build
@@ -50,7 +50,7 @@
 # DOCS_DEPEND="dev-python/mkdocs-material"
 # DOCS_DIR="doc"
 #
-# PYTHON_COMPAT=( python3_{7,8,9} )
+# PYTHON_COMPAT=( python3_{8..10} )
 #
 # inherit distutils-r1 docs
 #
@@ -61,7 +61,7 @@ case "${EAPI:-0}" in
        0|1|2|3|4|5)
                die "Unsupported EAPI=${EAPI:-0} (too old) for ${ECLASS}"
                ;;
-       6|7)
+       6|7|8)
                ;;
        *)
                die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}"

Reply via email to