commit:     808eaffc15a44387574eef062725821d80e59f3f
Author:     Thibaud CANALE <thican <AT> thican <DOT> net>
AuthorDate: Sun Mar 23 01:25:44 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar 26 12:26:58 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=808eaffc

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 <AT> thican.net>
Closes: https://github.com/gentoo/gentoo/pull/41227
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../certbot/{certbot-3.2.0-r101.ebuild => certbot-3.2.0-r102.ebuild} | 5 +++++
 .../certbot/{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(+)

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 4e60db29f49f..4dbc10590d40 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 7ef8f571d5cd..6f67453d14a7 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 d04710518faf..2811f5dc7b47 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

Reply via email to