diff options
author | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2022-10-02 12:35:03 +0200 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2022-10-02 12:35:03 +0200 |
commit | 0c2bdd7eac54e5207f61ec9c21291b2e465610f8 (patch) | |
tree | f55bab7f4a5702cfded45433cfd68cb8d66bae12 /dev-python/mkdocs | |
parent | dev-python/mkdocs-material: drop 8.5.4 (diff) | |
download | gentoo-0c2bdd7eac54e5207f61ec9c21291b2e465610f8.tar.gz gentoo-0c2bdd7eac54e5207f61ec9c21291b2e465610f8.tar.bz2 gentoo-0c2bdd7eac54e5207f61ec9c21291b2e465610f8.zip |
dev-python/mkdocs: disable doc building
Closes: https://bugs.gentoo.org/873349
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'dev-python/mkdocs')
-rw-r--r-- | dev-python/mkdocs/mkdocs-1.4.0.ebuild | 39 |
1 files 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() { |