commit:     8294637aad2af3d24201f20607ba19a8c2497fb7
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Feb  4 19:07:17 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Feb  4 19:47:04 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8294637a

dev-python/keyring: fix docs generation

Remove jaraco.tidelift dependency from docs.
No revbump, as no affect for [-doc], and [doc] was failing to build
(as we don't have this dependency, or if it came from an overlay,
this is just meens they have a little different doc).

Closes: https://bugs.gentoo.org/831633
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-python/keyring/keyring-23.5.0.ebuild | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/dev-python/keyring/keyring-23.5.0.ebuild 
b/dev-python/keyring/keyring-23.5.0.ebuild
index 5c2905d189d9..5012e18d282c 100644
--- a/dev-python/keyring/keyring-23.5.0.ebuild
+++ b/dev-python/keyring/keyring-23.5.0.ebuild
@@ -43,3 +43,10 @@ EPYTEST_IGNORE=(
        # hangs
        tests/backends/test_kwallet.py
 )
+
+src_prepare() {
+       # remove jaraco.tidelift dependency from docs, quite useless
+       sed -e '/tidelift/d' -i docs/conf.py docs/index.rst || die
+
+       distutils-r1_src_prepare
+}

Reply via email to