commit:     0c2bdd7eac54e5207f61ec9c21291b2e465610f8
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Sun Oct  2 10:35:03 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sun Oct  2 10:35:03 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c2bdd7e

dev-python/mkdocs: disable doc building

Closes: https://bugs.gentoo.org/873349
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 dev-python/mkdocs/mkdocs-1.4.0.ebuild | 39 +++++++++++++++++++----------------
 1 file changed, 21 insertions(+), 18 deletions(-)

diff --git a/dev-python/mkdocs/mkdocs-1.4.0.ebuild 
b/dev-python/mkdocs/mkdocs-1.4.0.ebuild
index e68bd080ad7f..eec0c48d1698 100644
--- a/dev-python/mkdocs/mkdocs-1.4.0.ebuild
+++ b/dev-python/mkdocs/mkdocs-1.4.0.ebuild
@@ -15,16 +15,19 @@ LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~riscv ~x86"
 
-IUSE="doc"
-
-BDEPEND="
-       doc? (
-               $(python_gen_any_dep '
-                       dev-python/mdx_gh_links[${PYTHON_USEDEP}]
-                       dev-python/mkdocs-redirects[${PYTHON_USEDEP}]
-               ')
-       )
-"
+# https://bugs.gentoo.org/873349
+# Building documentation requires packaging: callouts and mkdocs-autorefs
+#
+# IUSE="doc"
+#
+# BDEPEND="
+#      doc? (
+#              $(python_gen_any_dep '
+#                      dev-python/mdx_gh_links[${PYTHON_USEDEP}]
+#                      dev-python/mkdocs-redirects[${PYTHON_USEDEP}]
+#              ')
+#      )
+# "
 RDEPEND="
        >=dev-python/Babel-2.9.0[${PYTHON_USEDEP}]
        >=dev-python/click-7.0[${PYTHON_USEDEP}]
@@ -65,14 +68,14 @@ python_prepare_all() {
 
 python_compile_all() {
        default
-       if use doc; then
-               # cannot just do mkdocs build, because that fails if
-               # the package isn't already installed
-               python -m mkdocs build || die "Failed to make docs"
-               # Colliding files found by ecompress:
-               rm site/sitemap.xml.gz || die
-               HTML_DOCS=( "site/." )
-       fi
+#      if use doc; then
+#              # cannot just do mkdocs build, because that fails if
+#              # the package isn't already installed
+#              python -m mkdocs build || die "Failed to make docs"
+#              # Colliding files found by ecompress:
+#              rm site/sitemap.xml.gz || die
+#              HTML_DOCS=( "site/." )
+#      fi
 }
 
 python_test() {

Reply via email to