diff options
author | Andrew Ammerlaan <andrewammerlaan@riseup.net> | 2020-04-06 20:44:36 +0200 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@riseup.net> | 2020-04-06 20:44:36 +0200 |
commit | fc93a7a89a63b07e103b38e640185b510c18b7c3 (patch) | |
tree | 52bddce332f6160b2519386ec8d1d39760c950c7 | |
parent | eclass/docs: WIP: mkdocs/sphinx doc building (diff) | |
download | guru-fc93a7a89a63b07e103b38e640185b510c18b7c3.tar.gz guru-fc93a7a89a63b07e103b38e640185b510c18b7c3.tar.bz2 guru-fc93a7a89a63b07e103b38e640185b510c18b7c3.zip |
eclass/docs: small fixes
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
-rw-r--r-- | eclass/docs.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/docs.eclass b/eclass/docs.eclass index 618d8a504..e3eaaa32b 100644 --- a/eclass/docs.eclass +++ b/eclass/docs.eclass @@ -93,7 +93,7 @@ esac # because these eclasses are incompatible. # We also need to set 'something' to be able # to inherit python-any-r1 at all -if [[ ! ${PYTHON_COMPAT} ]]; then +if [[ -z "${PYTHON_COMPAT}" ]]; then PYTHON_COMPAT=( python3_{6,7,8} ) inherit python-any-r1 else @@ -299,7 +299,7 @@ fi # If this is a python package using distutils-r1 # then put the compile function in the specific # python function, else just put it in src_compile -if [[ ${DISTUTILS_USE_SETUPTOOLS} ]]; then +if [[ -n "${DISTUTILS_USE_SETUPTOOLS}" ]]; then python_compile_all() { docs_compile; } else src_compile() { docs_compile; } |