From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C0319158094 for ; Mon, 10 Oct 2022 08:08:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1B942E08A2; Mon, 10 Oct 2022 08:08:52 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 05A69E08A2 for ; Mon, 10 Oct 2022 08:08:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4740F340F09 for ; Mon, 10 Oct 2022 08:08:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 97C995D6 for ; Mon, 10 Oct 2022 08:08:49 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1665389298.fa6017832c8c03364550d3cf438d5edb8d4247e1.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pymdown-extensions/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pymdown-extensions/pymdown-extensions-9.6.ebuild X-VCS-Directories: dev-python/pymdown-extensions/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: fa6017832c8c03364550d3cf438d5edb8d4247e1 X-VCS-Branch: master Date: Mon, 10 Oct 2022 08:08:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b2d74f57-5d62-4304-943b-088d77a29df9 X-Archives-Hash: a0065f5d7cb7d5e60ad101fef5b90371 commit: fa6017832c8c03364550d3cf438d5edb8d4247e1 Author: Andrew Ammerlaan gentoo org> AuthorDate: Mon Oct 10 08:07:50 2022 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Mon Oct 10 08:08:18 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa601783 dev-python/pymdown-extensions: fix doc building Closes: https://bugs.gentoo.org/859637 Signed-off-by: Andrew Ammerlaan gentoo.org> dev-python/pymdown-extensions/pymdown-extensions-9.6.ebuild | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/dev-python/pymdown-extensions/pymdown-extensions-9.6.ebuild b/dev-python/pymdown-extensions/pymdown-extensions-9.6.ebuild index 93c979c06ae4..c5e7c800284c 100644 --- a/dev-python/pymdown-extensions/pymdown-extensions-9.6.ebuild +++ b/dev-python/pymdown-extensions/pymdown-extensions-9.6.ebuild @@ -57,3 +57,16 @@ python_prepare_all() { distutils-r1_python_prepare_all } + +python_compile_all() { + default + # We need to do this manually instead of relying on docs_compile + # https://bytemeta.vip/repo/facelessuser/pymdown-extensions/issues/1446 + # https://bugs.gentoo.org/859637 + if use doc; then + python -m mkdocs build || die "Failed to make docs" + # Colliding files found by ecompress: + rm site/sitemap.xml.gz || die + HTML_DOCS=( "site/." ) + fi +}