From 808eaffc15a44387574eef062725821d80e59f3f Mon Sep 17 00:00:00 2001 From: Thibaud CANALE Date: Sun, 23 Mar 2025 02:25:44 +0100 Subject: [PATCH] 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 Closes: https://github.com/gentoo/gentoo/pull/41227 Signed-off-by: Sam James --- .../{certbot-3.2.0-r101.ebuild => certbot-3.2.0-r102.ebuild} | 5 +++++ .../{certbot-3.3.0-r1.ebuild => certbot-3.3.0-r2.ebuild} | 5 +++++ app-crypt/certbot/certbot-9999.ebuild | 5 +++++ 3 files changed, 15 insertions(+) rename app-crypt/certbot/{certbot-3.2.0-r101.ebuild => certbot-3.2.0-r102.ebuild} (97%) rename app-crypt/certbot/{certbot-3.3.0-r1.ebuild => certbot-3.3.0-r2.ebuild} (97%) diff --git a/app-crypt/certbot/certbot-3.2.0-r101.ebuild b/app-crypt/certbot/certbot-3.2.0-r102.ebuild similarity index 97% rename from app-crypt/certbot/certbot-3.2.0-r101.ebuild rename to app-crypt/certbot/certbot-3.2.0-r102.ebuild index 4e60db29f49ff..4dbc10590d40b 100644 --- a/app-crypt/certbot/certbot-3.2.0-r101.ebuild +++ b/app-crypt/certbot/certbot-3.2.0-r102.ebuild @@ -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 diff --git a/app-crypt/certbot/certbot-3.3.0-r1.ebuild b/app-crypt/certbot/certbot-3.3.0-r2.ebuild similarity index 97% rename from app-crypt/certbot/certbot-3.3.0-r1.ebuild rename to app-crypt/certbot/certbot-3.3.0-r2.ebuild index 7ef8f571d5cd1..6f67453d14a7e 100644 --- a/app-crypt/certbot/certbot-3.3.0-r1.ebuild +++ b/app-crypt/certbot/certbot-3.3.0-r2.ebuild @@ -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 diff --git a/app-crypt/certbot/certbot-9999.ebuild b/app-crypt/certbot/certbot-9999.ebuild index d04710518fafa..2811f5dc7b47b 100644 --- a/app-crypt/certbot/certbot-9999.ebuild +++ b/app-crypt/certbot/certbot-9999.ebuild @@ -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