diff options
author | David Seifert <soap@gentoo.org> | 2022-12-27 17:30:07 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2022-12-27 17:30:07 +0100 |
commit | 3d67b1ccfacc37308a7236625035dff1156b025c (patch) | |
tree | b9aa6b7f4962580359eee5e1814c78849f304632 /eclass/docs.eclass | |
parent | python-r1.eclass: drop EAPI 6 support (diff) | |
download | gentoo-3d67b1ccfacc37308a7236625035dff1156b025c.tar.gz gentoo-3d67b1ccfacc37308a7236625035dff1156b025c.tar.bz2 gentoo-3d67b1ccfacc37308a7236625035dff1156b025c.zip |
python-single-r1.eclass: drop EAPI 6 support
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'eclass/docs.eclass')
-rw-r--r-- | eclass/docs.eclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/docs.eclass b/eclass/docs.eclass index f4663c3575fb..cbf35068de3a 100644 --- a/eclass/docs.eclass +++ b/eclass/docs.eclass @@ -153,7 +153,7 @@ _DOCS_ECLASS=1 case ${DOCS_BUILDER} in "sphinx"|"mkdocs") # We need the python_gen_any_dep function - if [[ ! ${_PYTHON_R1_ECLASS} && ! ${_PYTHON_ANY_R1_ECLASS} && ! ${_PYTHON_SINGLE_R1} ]]; then + if [[ ! ${_PYTHON_R1_ECLASS} && ! ${_PYTHON_ANY_R1_ECLASS} && ! ${_PYTHON_SINGLE_R1_ECLASS} ]]; then die "distutils-r1, python-r1, python-single-r1 or python-any-r1 needs to be inherited to use python based documentation builders" fi ;; @@ -221,7 +221,7 @@ sphinx_deps() { elif [[ ${DOCS_AUTODOC} != 0 && ${DOCS_AUTODOC} != 1 ]]; then die "${FUNCNAME}: DOCS_AUTODOC should be set to 0 or 1" fi - if [[ ${_PYTHON_SINGLE_R1} ]]; then + if [[ ${_PYTHON_SINGLE_R1_ECLASS} ]]; then DOCS_DEPEND="$(python_gen_cond_dep "${deps}")" else DOCS_DEPEND="$(python_gen_any_dep "${deps}")" @@ -284,7 +284,7 @@ mkdocs_deps() { elif [[ ${DOCS_AUTODOC} != 0 && ${DOCS_AUTODOC} != 1 ]]; then die "${FUNCNAME}: DOCS_AUTODOC should be set to 0 or 1" fi - if [[ ${_PYTHON_SINGLE_R1} ]]; then + if [[ ${_PYTHON_SINGLE_R1_ECLASS} ]]; then DOCS_DEPEND="$(python_gen_cond_dep "${deps}")" else DOCS_DEPEND="$(python_gen_any_dep "${deps}")" |