app-crypt/certbot: avoid doc building with apache or nginx module

Bug: https://bugs.gentoo.org/950581
Closes: https://bugs.gentoo.org/951820
Signed-off-by: Thibaud CANALE <thican@thican.net>
Closes: https://github.com/gentoo/gentoo/pull/41227
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Thibaud CANALE
2025-03-23 02:25:44 +01:00
committed by Sam James
parent e5717fa8ea
commit 808eaffc15
3 changed files with 15 additions and 0 deletions

View File

@@ -243,6 +243,11 @@ src_compile() {
}
python_compile_all() {
# There is no documentation in certbot-apache or certbot-nginx.
if [[ "${dir}" = "certbot-apache" ]] || [[ "${dir}" = "certbot-nginx" ]]; then
return
fi
# Used to build documentation
use doc && {
sphinx_compile_all

View File

@@ -239,6 +239,11 @@ src_compile() {
}
python_compile_all() {
# There is no documentation in certbot-apache or certbot-nginx.
if [[ "${dir}" = "certbot-apache" ]] || [[ "${dir}" = "certbot-nginx" ]]; then
return
fi
# Used to build documentation
use doc && {
sphinx_compile_all

View File

@@ -243,6 +243,11 @@ src_compile() {
}
python_compile_all() {
# There is no documentation in certbot-apache or certbot-nginx.
if [[ "${dir}" = "certbot-apache" ]] || [[ "${dir}" = "certbot-nginx" ]]; then
return
fi
# Used to build documentation
use doc && {
sphinx_compile_all