commit:     07c31f866ffe4e827731db5771e9b064dd8741bf
Author:     Thibaud CANALE <thican <AT> thican <DOT> net>
AuthorDate: Wed Apr 23 16:09:38 2025 +0000
Commit:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Fri Apr 25 01:22:59 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07c31f86

app-crypt/certbot: QA, fix broken README

Closes: https://bugs.gentoo.org/954283
Signed-off-by: Thibaud CANALE <thican <AT> thican.net>
Closes: https://github.com/gentoo/gentoo/pull/41715
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>

 app-crypt/certbot/certbot-3.2.0-r103.ebuild | 5 +++++
 app-crypt/certbot/certbot-3.3.0-r3.ebuild   | 5 +++++
 app-crypt/certbot/certbot-4.0.0-r2.ebuild   | 5 +++++
 app-crypt/certbot/certbot-9999.ebuild       | 5 +++++
 4 files changed, 20 insertions(+)

diff --git a/app-crypt/certbot/certbot-3.2.0-r103.ebuild 
b/app-crypt/certbot/certbot-3.2.0-r103.ebuild
index 50600140fd7a..8592ac477a56 100644
--- a/app-crypt/certbot/certbot-3.2.0-r103.ebuild
+++ b/app-crypt/certbot/certbot-3.2.0-r103.ebuild
@@ -174,6 +174,11 @@ src_prepare() {
 
        # Used to build documentation
        mkdir "${CERTBOT_DOCS}" || die
+
+       # Remove "broken" symbolic link used as documentation.
+       # Copy actual file, removing source breaks wheel building.
+       rm -f "${S}/README.rst"
+       cp "${S}/certbot/README.rst" "${S}/README.rst" || die
 }
 
 python_compile() {

diff --git a/app-crypt/certbot/certbot-3.3.0-r3.ebuild 
b/app-crypt/certbot/certbot-3.3.0-r3.ebuild
index 50600140fd7a..8592ac477a56 100644
--- a/app-crypt/certbot/certbot-3.3.0-r3.ebuild
+++ b/app-crypt/certbot/certbot-3.3.0-r3.ebuild
@@ -174,6 +174,11 @@ src_prepare() {
 
        # Used to build documentation
        mkdir "${CERTBOT_DOCS}" || die
+
+       # Remove "broken" symbolic link used as documentation.
+       # Copy actual file, removing source breaks wheel building.
+       rm -f "${S}/README.rst"
+       cp "${S}/certbot/README.rst" "${S}/README.rst" || die
 }
 
 python_compile() {

diff --git a/app-crypt/certbot/certbot-4.0.0-r2.ebuild 
b/app-crypt/certbot/certbot-4.0.0-r2.ebuild
index 6fc384bef8a3..49b07415b0fa 100644
--- a/app-crypt/certbot/certbot-4.0.0-r2.ebuild
+++ b/app-crypt/certbot/certbot-4.0.0-r2.ebuild
@@ -173,6 +173,11 @@ src_prepare() {
 
        # Used to build documentation
        mkdir "${CERTBOT_DOCS}" || die
+
+       # Remove "broken" symbolic link used as documentation.
+       # Copy actual file, removing source breaks wheel building.
+       rm -f "${S}/README.rst"
+       cp "${S}/certbot/README.rst" "${S}/README.rst" || die
 }
 
 python_compile() {

diff --git a/app-crypt/certbot/certbot-9999.ebuild 
b/app-crypt/certbot/certbot-9999.ebuild
index 97c68bc1873f..ec56e3cf949b 100644
--- a/app-crypt/certbot/certbot-9999.ebuild
+++ b/app-crypt/certbot/certbot-9999.ebuild
@@ -173,6 +173,11 @@ src_prepare() {
 
        # Used to build documentation
        mkdir "${CERTBOT_DOCS}" || die
+
+       # Remove "broken" symbolic link used as documentation.
+       # Copy actual file, removing source breaks wheel building.
+       rm -f "${S}/README.rst"
+       cp "${S}/certbot/README.rst" "${S}/README.rst" || die
 }
 
 python_compile() {

Reply via email to