dev-python/pymdown-extensions: Bump to 9.10

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2023-03-06 14:27:30 +01:00
parent 14b4644939
commit 381f219d55
2 changed files with 60 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST pymdown-extensions-9.10.gh.tar.gz 1056472 BLAKE2B f691d3fd762b97dd42d59c8e647469a8c0cc4202849661fdcc1c445721c48bd5ea84190a99306b9b5b2215968daf1f19f0765b11fb757045288188e07b55b1a1 SHA512 61784be05ba19424da8964f0b852733900a8f9bd699037f6cb1a3c608133c3c7cb3528549d3165d15340e680a67768d30f687c782cae56fc8030e246bcf4f023
DIST pymdown-extensions-9.9.2.gh.tar.gz 1017219 BLAKE2B d41f0863654c3d4aa6a947f5fef9d0029368e4a990f48a6997ecd1a0196a6b70198a698a22bfe536217bc001b4d21b69b2d5e3b479616825787648ef33ad1a9b SHA512 7f89f527f4d28ee31bf74dfd2343509592d287e1196e8a5045bbeaa5f2a038defc36e5b52ed53064f6cc797534032ed7a9e733070ff68db099e41614b07e417c

View File

@@ -0,0 +1,59 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( python3_{9..11} )
DOCS_BUILDER="mkdocs"
DOCS_DEPEND="
dev-python/mkdocs-git-revision-date-localized-plugin
dev-python/mkdocs-minify-plugin
dev-python/mkdocs-material
dev-python/pymdown-lexers
dev-python/pyspelling
"
DOCS_INITIALIZE_GIT=1
inherit distutils-r1 docs
DESCRIPTION="Extensions for Python Markdown"
HOMEPAGE="
https://github.com/facelessuser/pymdown-extensions/
https://pypi.org/project/pymdown-extensions/
"
SRC_URI="
https://github.com/facelessuser/pymdown-extensions/archive/${PV}.tar.gz
-> ${P}.gh.tar.gz
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~riscv ~x86"
RDEPEND="
>=dev-python/markdown-3.2[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
>=dev-python/pygments-2.12.0[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
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
}