1 |
Add support for EAPI 8, and also update the PYTHON_COMPAT variable in |
2 |
the example. |
3 |
|
4 |
diff --git a/eclass/docs.eclass b/eclass/docs.eclass |
5 |
index 7ee7a11ca5e..3f9191ddbd5 100644 |
6 |
--- a/eclass/docs.eclass |
7 |
+++ b/eclass/docs.eclass |
8 |
@@ -7,7 +7,7 @@ |
9 |
# @AUTHOR: |
10 |
# Author: Andrew Ammerlaan <andrewammerlaan@g.o> |
11 |
# Based on the work of: Michał Górny <mgorny@g.o> |
12 |
-# @SUPPORTED_EAPIS: 6 7 |
13 |
+# @SUPPORTED_EAPIS: 6 7 8 |
14 |
# @BLURB: A simple eclass to build documentation. |
15 |
# @DESCRIPTION: |
16 |
# A simple eclass providing basic functions and variables to build |
17 |
@@ -50,7 +50,7 @@ |
18 |
# DOCS_DEPEND="dev-python/mkdocs-material" |
19 |
# DOCS_DIR="doc" |
20 |
# |
21 |
-# PYTHON_COMPAT=( python3_{7,8,9} ) |
22 |
+# PYTHON_COMPAT=( python3_{8..10} ) |
23 |
# |
24 |
# inherit distutils-r1 docs |
25 |
# |
26 |
@@ -61,7 +61,7 @@ case "${EAPI:-0}" in |
27 |
0|1|2|3|4|5) |
28 |
die "Unsupported EAPI=${EAPI:-0} (too old) for ${ECLASS}" |
29 |
;; |
30 |
- 6|7) |
31 |
+ 6|7|8) |
32 |
;; |
33 |
*) |
34 |
die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}" |